pub unsafe extern "C" fn otPlatCryptoSha256Finish(
    aContext: *mut otCryptoContext,
    aHash: *mut u8,
    aHashSize: u16
) -> otError
Expand description

Finish SHA-256 operation.

@param[in] aContext Context for SHA-256 operation. @param[in] aHash A pointer to the output buffer, where hash needs to be stored. @param[in] aHashSize The length of @p aHash in bytes.

@retval OT_ERROR_NONE Successfully completed the SHA-256 operation. @retval OT_ERROR_FAILED Failed to complete SHA-256 operation. @retval OT_ERROR_INVALID_ARGS @p aContext or @p aHash was NULL