1.1.14.10 WDRV_WINC_SSLRetrieveHash Function

WDRV_WINC_STATUS WDRV_WINC_SSLRetrieveHash (

DRV_HANDLE handle, uint8_t *pHash, uint16_t hashSz

)

C

Summary

Retrieve the certificate hash

Description

Retrieve the certificate hash from the 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.

pHash

Pointer to the certificate hash.

hashSz

Hash 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

None.