libcrux_hacl

Function Hacl_Hash_Blake2b_Simd256_hash_with_key

Source
pub unsafe extern "C" fn Hacl_Hash_Blake2b_Simd256_hash_with_key(
    output: *mut u8,
    output_len: u32,
    input: *mut u8,
    input_len: u32,
    key: *mut u8,
    key_len: u32,
)
Expand description

Write the BLAKE2b digest of message input using key key into output.

@param output Pointer to output_len bytes of memory where the digest is written to. @param output_len Length of the to-be-generated digest with 1 <= output_len <= 64. @param input Pointer to input_len bytes of memory where the input message is read from. @param input_len Length of the input message. @param key Pointer to key_len bytes of memory where the key is read from. @param key_len Length of the key. Can be 0.