Function hacl_sys::Hacl_Streaming_SHA2_update_256
source · pub unsafe extern "C" fn Hacl_Streaming_SHA2_update_256(
p: *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 init_256
) exceeds 2^61-1 bytes.
This function is identical to the update function for SHA2_224.