1.2.14.7 WDRV_WINC_SSLECCHandShakeRsp Function
C
WDRV_WINC_STATUS WDRV_WINC_SSLECCHandShakeRsp ( DRV_HANDLE handle, WINC_WDRV_ECC_REQ_TYPE reqType, WINC_WDRV_ECC_STATUS status, const WDRV_WINC_ECC_HANDSHAKE_INFO *const pHandshakeData, const WDRV_WINC_ECDH_INFO *const pECDHRspInfo, const uint8_t *const pRspDataBuff, uint16_t rspDataSz )
Summary
Handshake Response for ECC cipher suites .
Description
Passes the ECC response data to WINC.
Precondition
WDRV_WINC_Initialize should have been called. WDRV_WINC_Open should have been called to obtain a valid handle.
Parameters
Param | Description |
---|---|
handle | Client handle obtained by a call to WDRV_WINC_Open. |
reqType | Request type being responded to. |
status | Status of request operation. |
pHandshakeData | Pointer to ECC handshake structure. |
pECDHRspInfo | Pointer to ECDH response structure. |
pRspDataBuff | Pointer of the response data to be sent. |
rspDataSz | Response data size. |
Returns
WDRV_WINC_STATUS_OK - The operation was performed.
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 operation is not success
Remarks
pECDHRspInfo is only required when pEccRspInfo->reqCmd is: WDRV_WINC_ECC_REQ_CLIENT_ECDH WDRV_WINC_ECC_REQ_SERVER_ECDH WDRV_WINC_ECC_REQ_GEN_KEY