1.1.15.3 WDRV_WINC_EXTCRYPTOSignResult
C
WDRV_WINC_STATUS WDRV_WINC_EXTCRYPTOSignResult ( DRV_HANDLE handle, uintptr_t extCryptoCxt, bool status, const uint8_t *const pSignature, size_t lenSignature )
Description
Provide the signature for a signing operation which has been performed externally, from the perspective of the WINC IC.
Precondition
WDRV_WINC_Initialize
must have been called.
WDRV_WINC_Open
must have been called to obtain a valid handle.
WDRV_WINC_TLSCtxOpen
must 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
Parameters | Description |
---|---|
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. |
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.
Remarks
None.