Home
last modified time | relevance | path

Searched refs:auts (Results 1 – 12 of 12) sorted by relevance

/hostap-3.6.0/tests/
Dtest-milenage.c699 u8 auts[14], sqn[6], _rand[16]; in main() local
752 os_memcpy(auts, "\x4f\x20\x39\x39\x2d\xdd", 6); in main()
753 os_memcpy(auts + 6, "\x4b\xb4\x31\x6e\xd4\xa1\x46\x88", 8); in main()
754 res = milenage_auts(t->opc, t->k, t->rand, auts, buf); in main()
761 os_memcpy(auts, in main()
764 res = milenage_auts(t->opc, t->k, _rand, auts, buf); in main()
/hostap-3.6.0/src/crypto/
Dmilenage.c208 int milenage_auts(const u8 *opc, const u8 *k, const u8 *_rand, const u8 *auts, in milenage_auts() argument
218 sqn[i] = auts[i] ^ ak[i]; in milenage_auts()
220 os_memcmp_const(mac_s, auts + 6, 8) != 0) in milenage_auts()
272 u8 *auts) in milenage_check() argument
301 auts[i] = sqn[i] ^ ak[i]; in milenage_check()
302 if (milenage_f1(opc, k, _rand, sqn, auts_amf, NULL, auts + 6)) in milenage_check()
304 wpa_hexdump(MSG_DEBUG, "Milenage: AUTS", auts, 14); in milenage_check()
Dmilenage.h15 int milenage_auts(const u8 *opc, const u8 *k, const u8 *_rand, const u8 *auts,
21 u8 *auts);
/hostap-3.6.0/hostapd/
Dhlr_auc_gw.c813 char *auts, *__rand; in aka_auts() local
821 auts = strchr(imsi, ' '); in aka_auts()
822 if (auts == NULL) in aka_auts()
824 *auts++ = '\0'; in aka_auts()
826 __rand = strchr(auts, ' '); in aka_auts()
833 imsi, auts, __rand); in aka_auts()
835 if (hexstr2bin(auts, _auts, EAP_AKA_AUTS_LEN) || in aka_auts()
/hostap-3.6.0/src/utils/
Dpcsc_funcs.h24 unsigned char *ik, unsigned char *ck, unsigned char *auts);
Dpcsc_funcs.c1343 unsigned char *ik, unsigned char *ck, unsigned char *auts) in scard_umts_auth() argument
1397 os_memcpy(auts, buf + 2, AKA_AUTS_LEN); in scard_umts_auth()
1398 wpa_hexdump(MSG_DEBUG, "SCARD: AUTS", auts, AKA_AUTS_LEN); in scard_umts_auth()
/hostap-3.6.0/src/eap_peer/
Deap_aka.c33 u8 auts[EAP_AKA_AUTS_LEN]; member
149 os_memset(data->auts, 0, EAP_AKA_AUTS_LEN); in eap_aka_clear_keys()
199 if (hexstr2bin(pos, data->auts, EAP_AKA_AUTS_LEN) < 0) in eap_aka_ext_sim_result()
201 wpa_hexdump_key(MSG_DEBUG, "EAP-AKA: AUTS", data->auts, in eap_aka_ext_sim_result()
271 data->ik, data->ck, data->auts); in eap_aka_umts_auth()
305 data->res, &data->res_len, data->auts); in eap_aka_umts_auth()
605 eap_sim_msg_add_full(msg, EAP_SIM_AT_AUTS, data->auts, in eap_aka_synchronization_failure()
/hostap-3.6.0/src/eap_server/
Deap_sim_db.h90 const char *username, const u8 *auts,
Deap_server_aka.c1043 if (attr->auts == NULL) { in eap_aka_process_sync_failure()
1056 attr->auts, data->rand)) { in eap_aka_process_sync_failure()
Deap_sim_db.c1491 const u8 *auts, const u8 *_rand) in eap_sim_db_resynchronize() argument
1525 auts, EAP_AKA_AUTS_LEN); in eap_sim_db_resynchronize()
/hostap-3.6.0/src/eap_common/
Deap_sim_common.h186 const u8 *nonce_mt, *identity, *res, *auts; member
Deap_sim_common.c818 attr->auts = apos; in eap_sim_parse_attr()