1.1.8.1 WDRV_WINC_EXTCRYPTOSignResult
Function
WDRV_WINC_STATUS WDRV_WINC_EXTCRYPTOSignResult ( DRV_HANDLE handle, uintptr_t extCryptoCxt, bool status, uint8_t *pSignature, size_t lenSignature );
Summary
Provide the result of an external signing operation
Description
Provide the signature for a signing operation which has been performed externally, from the perspective of the WINC IC.
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. A request for an external signing operation must have been received via a WDRV_WINC_EXTCRYPTO_SIGN_CB function.
Parameters
handle - Client handle obtained by a call to WDRV_WINC_Open.
extCryptoCxt - Context provided in the request.
status - True if operation succeeded, false otherwise.
pSignature - Pointer to the signature.
lenSignature - Length of the signature.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.
Remarks
None.