Lines Matching refs:amf
37 const u8 *sqn, const u8 *amf, u8 *mac_a, u8 *mac_s) in milenage_f1() argument
50 os_memcpy(tmp2 + 6, amf, 2); in milenage_f1()
173 void milenage_generate(const u8 *opc, const u8 *amf, const u8 *k, in milenage_generate() argument
184 if (milenage_f1(opc, k, _rand, sqn, amf, mac_a, NULL) || in milenage_generate()
194 os_memcpy(autn + 6, amf, 2); in milenage_generate()
211 u8 amf[2] = { 0x00, 0x00 }; /* TS 33.102 v7.0.0, 6.3.3 */ in milenage_auts() local
219 if (milenage_f1(opc, k, _rand, sqn, amf, NULL, mac_s) || in milenage_auts()
276 const u8 *amf; in milenage_check() local
308 amf = autn + 6; in milenage_check()
309 wpa_hexdump(MSG_DEBUG, "Milenage: AMF", amf, 2); in milenage_check()
310 if (milenage_f1(opc, k, _rand, rx_sqn, amf, mac_a, NULL)) in milenage_check()