Function hacl_sys::Hacl_Streaming_SHA2_finish_256
source · pub unsafe extern "C" fn Hacl_Streaming_SHA2_finish_256(
p: *mut Hacl_Streaming_MD_state_32,
dst: *mut u8
)
Expand description
Write the resulting hash into dst
, an array of 32 bytes. The state remains
valid after a call to finish_256
, meaning the user may feed more data into
the hash via update_256
. (The finish_256 function operates on an internal copy of
the state and therefore does not invalidate the client-held state p
.)