Home
last modified time | relevance | path

Searched refs:autn (Results 1 – 11 of 11) sorted by relevance

/external/wpa_supplicant_8/src/crypto/
Dmilenage.c174 const u8 *sqn, const u8 *_rand, u8 *autn, u8 *ik, in milenage_generate() argument
193 autn[i] = sqn[i] ^ ak[i]; in milenage_generate()
194 os_memcpy(autn + 6, amf, 2); in milenage_generate()
195 os_memcpy(autn + 8, mac_a, 8); in milenage_generate()
271 const u8 *autn, u8 *ik, u8 *ck, u8 *res, size_t *res_len, in milenage_check() argument
278 wpa_hexdump(MSG_DEBUG, "Milenage: AUTN", autn, 16); in milenage_check()
292 rx_sqn[i] = autn[i] ^ ak[i]; in milenage_check()
308 amf = autn + 6; in milenage_check()
315 if (os_memcmp_const(mac_a, autn + 8, 8) != 0) { in milenage_check()
318 autn + 8, 8); in milenage_check()
Dmilenage.h13 const u8 *sqn, const u8 *_rand, u8 *autn, u8 *ik,
20 const u8 *autn, u8 *ik, u8 *ck, u8 *res, size_t *res_len,
/external/wpa_supplicant_8/src/eap_peer/
Deap_aka.c32 u8 rand[EAP_AKA_RAND_LEN], autn[EAP_AKA_AUTN_LEN]; member
139 os_memset(data->autn, 0, EAP_AKA_AUTN_LEN); in eap_aka_clear_keys()
170 wpa_snprintf_hex(pos, end - pos, data->autn, EAP_AKA_AUTN_LEN); in eap_aka_ext_sim_req()
261 data->autn, data->res, &data->res_len, in eap_aka_umts_auth()
294 return milenage_check(opc, k, sqn, data->rand, data->autn, in eap_aka_umts_auth()
311 u8 autn[EAP_AKA_AUTN_LEN]; in eap_aka_umts_auth() local
312 os_memset(autn, '1', EAP_AKA_AUTN_LEN); in eap_aka_umts_auth()
313 if (os_memcmp_const(autn, data->autn, EAP_AKA_AUTN_LEN) != 0) { in eap_aka_umts_auth()
949 if (!attr->mac || !attr->rand || !attr->autn) { in eap_aka_process_challenge()
954 !attr->autn ? " AT_AUTN" : ""); in eap_aka_process_challenge()
[all …]
/external/wpa_supplicant_8/src/utils/
Dpcsc_funcs.h22 const unsigned char *autn,
Dpcsc_funcs.c1316 const unsigned char *autn, in scard_umts_auth() argument
1337 wpa_hexdump(MSG_DEBUG, "SCARD: UMTS auth - AUTN", autn, AKA_AUTN_LEN); in scard_umts_auth()
1341 os_memcpy(cmd + 6 + AKA_RAND_LEN + 1, autn, AKA_AUTN_LEN); in scard_umts_auth()
/external/wpa_supplicant_8/src/eap_server/
Deap_sim_db.h86 u8 *_rand, u8 *autn, u8 *ik, u8 *ck,
Deap_sim_db.c51 u8 autn[EAP_AKA_AUTN_LEN]; member
520 if (hexstr2bin(start, entry->u.aka.autn, EAP_AKA_AUTN_LEN)) in eap_sim_db_aka_resp_auth()
1336 u8 *_rand, u8 *autn, u8 *ik, u8 *ck, in eap_sim_db_get_aka_auth() argument
1374 os_memcpy(autn, entry->u.aka.autn, EAP_AKA_AUTN_LEN); in eap_sim_db_get_aka_auth()
Deap_server_aka.c29 u8 autn[EAP_AKA_AUTN_LEN]; member
477 eap_sim_msg_add(msg, EAP_SIM_AT_AUTN, 0, data->autn, EAP_AKA_AUTN_LEN); in eap_aka_build_challenge()
790 data->rand, data->autn, data->ik, in eap_aka_fullauth()
804 data->autn, in eap_aka_fullauth()
/external/wpa_supplicant_8/hostapd/
Dhlr_auc_gw.c775 u8 autn[EAP_AKA_AUTN_LEN]; in aka_req_auth() local
800 autn, ik, ck, res, &res_len); in aka_req_auth()
806 memset(autn, '1', EAP_AKA_AUTN_LEN); in aka_req_auth()
831 pos += wpa_snprintf_hex(pos, end - pos, autn, EAP_AKA_AUTN_LEN); in aka_req_auth()
/external/wpa_supplicant_8/src/eap_common/
Deap_sim_common.h184 const u8 *rand, *autn, *mac, *iv, *encr_data, *version_list, *nonce_s; member
Deap_sim_common.c562 attr->autn = apos; in eap_sim_parse_attr()