Home
last modified time | relevance | path

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

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Dmilenage.c37 const u8 *sqn, const u8 *amf, u8 *mac_a, u8 *mac_s) in milenage_f1() argument
68 if (mac_a) in milenage_f1()
69 os_memcpy(mac_a, tmp1, 8); /* f1 */ in milenage_f1()
178 u8 mac_a[8], ak[6]; in milenage_generate() local
184 if (milenage_f1(opc, k, _rand, sqn, amf, mac_a, NULL) || in milenage_generate()
195 os_memcpy(autn + 8, mac_a, 8); in milenage_generate()
275 u8 mac_a[8], ak[6], rx_sqn[6]; in milenage_check() local
310 if (milenage_f1(opc, k, _rand, rx_sqn, amf, mac_a, NULL)) in milenage_check()
313 wpa_hexdump(MSG_DEBUG, "Milenage: MAC_A", mac_a, 8); in milenage_check()
315 if (os_memcmp_const(mac_a, autn + 8, 8) != 0) { in milenage_check()
Dmilenage.h23 const u8 *sqn, const u8 *amf, u8 *mac_a, u8 *mac_s);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dmilenage.c37 const u8 *sqn, const u8 *amf, u8 *mac_a, u8 *mac_s) in milenage_f1() argument
68 if (mac_a) in milenage_f1()
69 os_memcpy(mac_a, tmp1, 8); /* f1 */ in milenage_f1()
178 u8 mac_a[8], ak[6]; in milenage_generate() local
184 if (milenage_f1(opc, k, _rand, sqn, amf, mac_a, NULL) || in milenage_generate()
195 os_memcpy(autn + 8, mac_a, 8); in milenage_generate()
275 u8 mac_a[8], ak[6], rx_sqn[6]; in milenage_check() local
310 if (milenage_f1(opc, k, _rand, rx_sqn, amf, mac_a, NULL)) in milenage_check()
313 wpa_hexdump(MSG_DEBUG, "Milenage: MAC_A", mac_a, 8); in milenage_check()
315 if (os_memcmp_const(mac_a, autn + 8, 8) != 0) { in milenage_check()
Dmilenage.h23 const u8 *sqn, const u8 *amf, u8 *mac_a, u8 *mac_s);