Function expand
pub fn expand<T, const N: usize>(
expander: &dyn HkdfExpander,
info: &[&[u8]],
) -> TAvailable on crate feature
tls only.Expand description
HKDF-Expand(PRK, info, L) to construct any type from a byte array.
PRKis the implicit key material represented by this instance.L := N; N is the size of the byte array.infois a slice of byte slices, which should be processed sequentially (or concatenated if that is not possible).
This is infallible, because the set of types (and therefore their length) is known at compile time.