hacl_sys

Function Hacl_HMAC_compute_sha2_384

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

Write the HMAC-SHA-2-384 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 48 bytes of memory.