openthread_sys

Function otPlatCryptoHmacSha256Start

Source
pub unsafe extern "C" fn otPlatCryptoHmacSha256Start(
    aContext: *mut otCryptoContext,
    aKey: *const otCryptoKey,
) -> otError
Expand description

Start HMAC operation.

@param[in] aContext Context for HMAC operation. @param[in] aKey Key material to be used for HMAC operation.

@retval OT_ERROR_NONE Successfully started HMAC operation. @retval OT_ERROR_FAILED Failed to start HMAC operation. @retval OT_ERROR_INVALID_ARGS @p aContext or @p aKey was NULL