otPlatCryptoSha256Finish() function
Finish SHA-256 operation.
Arguments
aContext
Context for SHA-256 operation.
aHash
A pointer to the output buffer, where hash needs to be stored.
aHashSize
The length of @p aHash in bytes.
Return value
OT_ERROR_NONE Successfully completed the SHA-256 operation. OT_ERROR_FAILED Failed to complete SHA-256 operation. OT_ERROR_INVALID_ARGS @p aContext or @p aHash was NULL