wlan_sae::hmac_utils

Function hkdf_extract

Source
pub fn hkdf_extract<H>(salt: &[u8], ikm: &[u8]) -> Vec<u8> 
where H: Hasher, <<H as Hasher>::Digest as Digest>::Bytes: AsRef<[u8]>,
Expand description

IEEE Std. 802.11-2020 12.4.4.2.3/12.4.4.3.3, IETF RFC 5869 A KDF to “extract” entropy from a short key (named “H” or “HKDF-Extract” in the specification).