pub fn hkdf<const L: usize>(
initial_key_material: &[u8],
info: &[u8],
out: &mut [u8; L],
)Expand description
Standard HKDF implementation. See https://datatracker.ietf.org/doc/html/rfc5869
Note that we assume an all-zero seed for PRK.
initial_key_material is the data being hashed.
info is optional context (can be zero length string)
out is populated with the result.