wlan_rsn::key::exchange

Function compute_mic_from_buf

Source
pub fn compute_mic_from_buf(
    kck: &[u8],
    protection: &NegotiatedProtection,
    frame: &[u8],
) -> Result<Vec<u8>, Error>
Expand description

Computes and returns a serialized key frame’s MIC. Fails if the AKM has no associated integrity algorithm or MIC size.