pub unsafe extern "C" fn hash_sha2_256(
data: *const u8,
data_len: u32,
output: *mut u8
)
Expand description

Hash the data using the SHA2-256 algorithm. The resulting hash (32 bytes) is written starting at the output pointer. The output segment may overlap with the data segment.