1.1.19.14 WDRV_WINC_TLSCipherSuiteAlgSet

Function

WDRV_WINC_STATUS WDRV_WINC_TLSCipherSuiteAlgSet
(
DRV_HANDLE handle,
WDRV_WINC_TLS_CS_HANDLE tlsCsHandle,
uint16_t *pAlgorithms,
uint8_t numAlgorithms,
const WDRV_WINC_TLS_CS_CALLBACK pfTlsCsResponseCB
)

Summary

Set a list of ciphers suite algorithms requested to the TLS cipher suite.

Description

Set a list of ciphers suite algorithms requested to the TLS cipher suite.

Precondition

WDRV_WINC_Initialize should have been called. WDRV_WINC_Open should have been called to obtain a valid handle. WDRV_WINC_TLSCtxOpen should have been called to obtain a valid TLS handle.

Parameters

handle - Client handle obtained by a call to WDRV_WINC_Open.

tlsCsHandle - TLS handle obtained by a call to WDRV_WINC_TLSCipherSuiteOpen.

pAlgorithms - Pointer to list of cipher suite algorithms to set.

numAlgorithms - Number of cipher suite algorithms to set.

pfTlsCsResponseCB - Pointer to user callback for the set response.

Returns

WDRV_WINC_STATUS_OK - The request has been accepted.

WDRV_WINC_STATUS_NOT_OPEN - The driver instance is not open.

WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.

WDRV_WINC_STATUS_REQUEST_ERROR - The request to the WINC was rejected.

WDRV_WINC_STATUS_RETRY_REQUEST - Another request is being processed, try again.

Remarks

None.