pub unsafe extern "C" fn Hacl_Hash_SHA2_update_256(
state: *mut Hacl_Streaming_MD_state_32,
input: *mut u8,
input_len: u32,
) -> Hacl_Streaming_Types_error_code
Expand description
Feed an arbitrary amount of data into the hash. This function returns 0 for
success, or 1 if the combined length of all of the data passed to update_256
(since the last call to reset_256
) exceeds 2^61-1 bytes.
This function is identical to the update function for SHA2_224.