[−][src]Function casper_contract::ext_ffi::blake2b
pub unsafe extern "C" fn blake2b(
in_ptr: *const u8,
in_size: usize,
out_ptr: *mut u8,
out_size: usize
) -> i32
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