otPlatCryptoHmacSha256Init() function
Initialize the HMAC operation.
Arguments
aContext
Context for HMAC operation.
Return value
OT_ERROR_NONE Successfully initialized HMAC operation. OT_ERROR_FAILED Failed to initialize HMAC operation. OT_ERROR_INVALID_ARGS @p aContext was NULL
Notes
The platform driver shall point the context to the correct object such as psa_mac_operation_t or mbedtls_md_context_t.
otPlatCryptoHmacSha256Init() is called by 1 function and calls 3 functions:
![]()
otPlatCryptoHmacSha256Init()
otPlatCryptoHmacSha256Init() reads 6 variables:
![]()
otPlatCryptoHmacSha256Init()