Function casper_contract::ext_ffi::casper_blake2b [−][src]
pub unsafe extern "C" fn casper_blake2b(
in_ptr: *const u8,
in_size: usize,
out_ptr: *mut u8,
out_size: usize
) -> i32
Expand description
Returns a 32-byte BLAKE2b hash digest from the given input bytes
Arguments
in_ptr
- pointer to bytesin_size
- length of bytesout_ptr
- pointer to the location where argument bytes will be copied from the host sideout_size
- size of output pointer