Skip to main content

hkdf_sha512

Function hkdf_sha512 

Source
pub fn hkdf_sha512(
    ikm: &[u8],
    salt: &[u8],
    info: &[u8],
    out_len: usize,
) -> Vec<u8> ⓘ
Expand description

HKDF-SHA512 extract-then-expand, producing out_len bytes.

out_len must be ≤ 255 × 64 (the HKDF-SHA512 ceiling), which every Capsule derivation satisfies; an out-of-range request is a programming error and panics.