otPlatCryptoSha256Init() function
Initialise the SHA-256 operation.
Arguments
aContext
Context for SHA-256 operation.
Return value
OT_ERROR_NONE Successfully initialised SHA-256 operation. OT_ERROR_FAILED Failed to initialise SHA-256 operation. OT_ERROR_INVALID_ARGS @p aContext was NULL
Notes
The platform driver shall point the context to the correct object such as psa_hash_operation_t or mbedtls_sha256_context.
otPlatCryptoSha256Init() is called by 1 function and calls 1 function:
![]()
otPlatCryptoSha256Init()
otPlatCryptoSha256Init() reads 3 variables:
![]()
otPlatCryptoSha256Init()