Home
last modified time | relevance | path

Searched refs:key_mic (Results 1 – 4 of 4) sorted by relevance

/external/scapy/scapy/modules/krack/
Dautomaton.py227 key_mic=None, argument
254 if data is None and key_mic is None and key_data_encrypt is None:
261 assert key_mic is not None
282 mic = hmac.new(key_mic, to_mic, hashlib.md5).digest()
582 key_mic=self.kck,
643 key_mic=self.kck,
752 key_mic=self.kck,
/external/wpa_supplicant_8/src/rsn_supp/
Dwpa.c53 u8 *msg, size_t msg_len, u8 *key_mic) in wpa_eapol_key_send() argument
80 if (key_mic && (!ptk || !ptk->kck_len)) in wpa_eapol_key_send()
83 if (key_mic && in wpa_eapol_key_send()
85 msg, msg_len, key_mic)) { in wpa_eapol_key_send()
95 key_mic, mic_len); in wpa_eapol_key_send()
185 u8 bssid[ETH_ALEN], *rbuf, *key_mic, *mic; in wpa_sm_key_request() local
239 key_mic = NULL; in wpa_sm_key_request()
241 key_mic = mic; in wpa_sm_key_request()
248 key_mic); in wpa_sm_key_request()
486 u8 *rbuf, *key_mic; in wpa_supplicant_send_2_of_4() local
[all …]
Dwpa_i.h442 u8 *msg, size_t msg_len, u8 *key_mic);
/external/wpa_supplicant_8/src/ap/
Dwpa_auth.c1472 u8 *key_mic, *key_data; in __wpa_send_eapol() local
1523 key_mic = (u8 *) (key + 1); in __wpa_send_eapol()
1562 WPA_PUT_BE16(key_mic + mic_len, kde_len); in __wpa_send_eapol()
1568 WPA_PUT_BE16(key_mic, AES_BLOCK_SIZE + kde_len); in __wpa_send_eapol()
1577 aad_len[0] = key_mic + 2 - (u8 *) hdr; in __wpa_send_eapol()
1579 1, aad, aad_len, key_mic + 2) < 0) { in __wpa_send_eapol()
1585 key_mic + 2, AES_BLOCK_SIZE + kde_len); in __wpa_send_eapol()
1614 WPA_PUT_BE16(key_mic + mic_len, key_data_len); in __wpa_send_eapol()
1628 WPA_PUT_BE16(key_mic + mic_len, key_data_len); in __wpa_send_eapol()
1648 (u8 *) hdr, len, key_mic) < 0) { in __wpa_send_eapol()
[all …]