Function hacl::hkdf::expand

source ·
pub fn expand(
    mode: Algorithm,
    prk: &[u8],
    info: &[u8],
    okm_len: usize,
) -> Vec<u8> 
Expand description

HKDF expand using hash function mode, pre-key material prk, info, and output length okm_len. Returns the key material in a vector of length okm_len.