pub unsafe extern "C" fn otPlatCryptoHmacSha256Init(
    aContext: *mut otCryptoContext
) -> otError
Expand description

Initialize the HMAC operation.

@param[in] aContext Context for HMAC operation.

@retval OT_ERROR_NONE Successfully initialized HMAC operation. @retval OT_ERROR_FAILED Failed to initialize HMAC operation. @retval OT_ERROR_INVALID_ARGS @p aContext was NULL

@note The platform driver shall point the context to the correct object such as psa_mac_operation_t or mbedtls_md_context_t.