Lines Matching refs:mic
31 const u8 *ric, size_t ric_len, u8 *mic) in wpa_ft_mic() argument
69 os_memset(_ftie->mic, 0, sizeof(_ftie->mic)); in wpa_ft_mic()
78 if (omac1_aes_128(kck, buf, pos - buf, mic)) { in wpa_ft_mic()
896 const u8 *buf, size_t len, u8 *mic) in wpa_eapol_key_mic() argument
902 return hmac_md5(key, key_len, buf, len, mic); in wpa_eapol_key_mic()
906 os_memcpy(mic, hash, MD5_MAC_LEN); in wpa_eapol_key_mic()
909 return omac1_aes_128(key, buf, len, mic); in wpa_eapol_key_mic()
915 return omac1_aes_128(key, buf, len, mic); in wpa_eapol_key_mic()
921 os_memcpy(mic, hash, MD5_MAC_LEN); in wpa_eapol_key_mic()
928 os_memcpy(mic, hash, 24); in wpa_eapol_key_mic()
944 os_memcpy(mic, hash, key_len); in wpa_eapol_key_mic()