1.1.29.1.13 WDRV_WINC_TLSCtxSetSignCallback

C

WDRV_WINC_STATUS WDRV_WINC_TLSCtxSetSignCallback
(
    DRV_HANDLE handle,
    WDRV_WINC_TLS_HANDLE tlsHandle,
    WDRV_WINC_EXTCRYPTO_SIGN_CB pfSignCb,
    uintptr_t signCbCtx
)

Description

Sets the signing callback for external cryptographic functions.

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.

Parameters

ParametersDescription
handleClient handle obtained by a call to WDRV_WINC_Open.
tlsHandleTLS handle obtained by a call to WDRV_WINC_TLSCtxOpen.
pfSignCbPointer to user callback for signing operations.
signCbCtxUser supplied context to pass to signing callback.

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.