Function hacl::hazmat::hkdf::sha2_512::vec::hkdf

source ยท
pub fn hkdf(
    salt: &[u8],
    ikm: &[u8],
    info: &[u8],
    okm_len: usize,
) -> Result<Vec<u8>, Error>
Expand description

HKDF using the salt, input key material ikm, info. The output length is defined through the result type. Calls extract and expand with the given input.

Returns the key material in an array of length okm_len.