Searched refs:amf (Results 1 – 6 of 6) sorted by relevance
/hostap-3.6.0/src/crypto/ |
D | milenage.c | 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() [all …]
|
D | milenage.h | 12 void milenage_generate(const u8 *opc, const u8 *amf, const u8 *k, 23 const u8 *sqn, const u8 *amf, u8 *mac_a, u8 *mac_s);
|
/hostap-3.6.0/tests/ |
D | test-milenage.c | 256 u8 amf[2]; member 717 if (milenage_f1(opc, t->k, t->rand, t->sqn, t->amf, buf, buf2) in main() 775 milenage_generate(t->opc, t->amf, t->k, sqn, _rand, buf, buf2, buf3, in main()
|
/hostap-3.6.0/hostapd/ |
D | hlr_auc_gw.txt | 47 amf CHAR(4) NOT NULL, 50 INSERT INTO milenage(imsi,ki,opc,amf,sqn) VALUES( 57 INSERT INTO milenage(imsi,ki,opc,amf,sqn) VALUES(
|
D | hlr_auc_gw.c | 87 u8 amf[2]; member 186 hexstr2bin(argv[i], m->amf, sizeof(m->amf))) { in get_milenage_cb() 456 if (!pos || os_strlen(pos) != 4 || hexstr2bin(pos, m->amf, 2)) { in read_milenage() 543 pos += wpa_snprintf_hex(pos, end - pos, m->amf, 2); in update_milenage_file() 763 milenage_generate(m->opc, m->amf, m->ki, m->sqn, _rand, in aka_req_auth()
|
/hostap-3.6.0/src/eap_peer/ |
D | eap_aka.c | 1041 u16 amf = WPA_GET_BE16(data->autn + 6); in eap_aka_process_challenge() local 1042 if (!(amf & 0x8000)) { in eap_aka_process_challenge() 1044 "not set (AMF=0x%4x)", amf); in eap_aka_process_challenge()
|