pub unsafe extern "C" fn otPlatCryptoSha256Update(
aContext: *mut otCryptoContext,
aBuf: *const c_void,
aBufLength: u16,
) -> otError
Expand description
Update SHA-256 operation with new input.
@param[in] aContext Context for SHA-256 operation. @param[in] aBuf A pointer to the input buffer. @param[in] aBufLength The length of @p aBuf in bytes.
@retval OT_ERROR_NONE Successfully updated SHA-256 with new input operation. @retval OT_ERROR_FAILED Failed to update SHA-256 operation. @retval OT_ERROR_INVALID_ARGS @p aContext or @p aBuf was NULL