hacl_sys

Function Hacl_HMAC_compute_blake2b_32

Source
pub unsafe extern "C" fn Hacl_HMAC_compute_blake2b_32(
    dst: *mut u8,
    key: *mut u8,
    key_len: u32,
    data: *mut u8,
    data_len: u32,
)
Expand description

Write the HMAC-BLAKE2b MAC of a message (data) by using a key (key) into dst.

The key can be any length and will be hashed if it is longer and padded if it is shorter than 128 bytes. dst must point to 64 bytes of memory.