Function hacl_sys::Hacl_Blake2b_256_blake2b
source · pub unsafe extern "C" fn Hacl_Blake2b_256_blake2b(
nn: u32,
output: *mut u8,
ll: u32,
d: *mut u8,
kk: u32,
k: *mut u8
)
Expand description
Write the BLAKE2b digest of message d
using key k
into output
.
@param nn Length of the to-be-generated digest with 1 <= nn
<= 64.
@param output Pointer to nn
bytes of memory where the digest is written to.
@param ll Length of the input message.
@param d Pointer to ll
bytes of memory where the input message is read from.
@param kk Length of the key. Can be 0.
@param k Pointer to kk
bytes of memory where the key is read from.