Searched refs:sqn (Results 1 – 4 of 4) sorted by relevance
/external/wpa_supplicant_6/wpa_supplicant/src/hlr_auc_gw/ |
D | milenage.c | 43 const u8 *sqn, const u8 *amf, u8 *mac_a, u8 *mac_s) in milenage_f1() argument 55 os_memcpy(tmp2, sqn, 6); in milenage_f1() 180 const u8 *sqn, const u8 *_rand, u8 *autn, u8 *ik, in milenage_generate() argument 190 if (milenage_f1(opc, k, _rand, sqn, amf, mac_a, NULL) || in milenage_generate() 199 autn[i] = sqn[i] ^ ak[i]; in milenage_generate() 215 u8 *sqn) in milenage_auts() argument 224 sqn[i] = auts[i] ^ ak[i]; in milenage_auts() 225 if (milenage_f1(opc, k, _rand, sqn, amf, NULL, mac_s) || in milenage_auts() 276 int milenage_check(const u8 *opc, const u8 *k, const u8 *sqn, const u8 *_rand, in milenage_check() argument 301 if (os_memcmp(rx_sqn, sqn, 6) <= 0) { in milenage_check() [all …]
|
D | hlr_auc_gw.c | 74 u8 sqn[6]; member 357 if (strlen(pos) != 12 || hexstr2bin(pos, m->sqn, 6)) { in read_milenage() 487 inc_byte_array(m->sqn, 6); in aka_req_auth() 489 m->sqn[0], m->sqn[1], m->sqn[2], in aka_req_auth() 490 m->sqn[3], m->sqn[4], m->sqn[5]); in aka_req_auth() 491 milenage_generate(m->opc, m->amf, m->ki, m->sqn, _rand, in aka_req_auth() 536 u8 _auts[EAP_AKA_AUTS_LEN], _rand[EAP_AKA_RAND_LEN], sqn[6]; in aka_auts() local 564 if (milenage_auts(m->opc, m->ki, _rand, _auts, sqn)) { in aka_auts() 567 memcpy(m->sqn, sqn, 6); in aka_auts() 570 sqn[0], sqn[1], sqn[2], sqn[3], sqn[4], sqn[5]); in aka_auts()
|
D | milenage.h | 19 const u8 *sqn, const u8 *_rand, u8 *autn, u8 *ik, 22 u8 *sqn); 25 int milenage_check(const u8 *opc, const u8 *k, const u8 *sqn, const u8 *_rand,
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
D | eap_aka.c | 160 u8 opc[16], k[16], sqn[6]; in eap_aka_umts_auth() local 184 if (hexstr2bin(pos, sqn, 6)) in eap_aka_umts_auth() 187 return milenage_check(opc, k, sqn, data->rand, data->autn, in eap_aka_umts_auth()
|