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

Initialise the SHA-256 operation.

@param[in] aContext Context for SHA-256 operation.

@retval OT_ERROR_NONE Successfully initialised SHA-256 operation. @retval OT_ERROR_FAILED Failed to initialise SHA-256 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_hash_operation_t or mbedtls_sha256_context.