Function hacl_sys::Hacl_Blake2s_32_blake2s
source · pub unsafe extern "C" fn Hacl_Blake2s_32_blake2s(
nn: u32,
output: *mut u8,
ll: u32,
d: *mut u8,
kk: u32,
k: *mut u8
)
Expand description
Write the BLAKE2s digest of message d
using key k
into output
.
@param nn Length of to-be-generated digest with 1 <= nn
<= 32.
@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.