Home
last modified time | relevance | path

Searched refs:GSM_RAND_LEN (Results 1 – 5 of 5) sorted by relevance

/external/wpa_supplicant_8/src/eap_peer/
Deap_sim.c34 u8 rand[3][GSM_RAND_LEN];
173 GSM_RAND_LEN); in eap_sim_ext_sim_req()
202 data->rand[i], GSM_RAND_LEN); in eap_sim_ext_sim_result()
299 data->rand[i], GSM_RAND_LEN); in eap_sim_gsm_auth()
733 if (os_memcmp(attr->rand, attr->rand + GSM_RAND_LEN, in eap_sim_process_challenge()
734 GSM_RAND_LEN) == 0 || in eap_sim_process_challenge()
736 (os_memcmp(attr->rand, attr->rand + 2 * GSM_RAND_LEN, in eap_sim_process_challenge()
737 GSM_RAND_LEN) == 0 || in eap_sim_process_challenge()
738 os_memcmp(attr->rand + GSM_RAND_LEN, in eap_sim_process_challenge()
739 attr->rand + 2 * GSM_RAND_LEN, in eap_sim_process_challenge()
[all …]
/external/wpa_supplicant_8/src/eap_server/
Deap_server_sim.c28 u8 rand[EAP_SIM_MAX_CHAL][GSM_RAND_LEN];
229 data->num_chal * GSM_RAND_LEN); in eap_sim_build_challenge()
831 *len = 1 + data->num_chal * GSM_RAND_LEN + EAP_SIM_NONCE_MT_LEN; in eap_sim_get_session_id()
837 os_memcpy(id + 1, data->rand, data->num_chal * GSM_RAND_LEN); in eap_sim_get_session_id()
838 os_memcpy(id + 1 + data->num_chal * GSM_RAND_LEN, data->nonce_mt, in eap_sim_get_session_id()
Deap_sim_db.c46 u8 rand[EAP_SIM_MAX_CHAL][GSM_RAND_LEN];
455 GSM_RAND_LEN)) in eap_sim_db_sim_resp_auth()
910 os_memcpy(_rand, entry->u.sim.rand, num_chal * GSM_RAND_LEN); in eap_sim_db_get_gsm_triplets()
/external/wpa_supplicant_8/src/eap_common/
Deap_sim_common.h23 #define GSM_RAND_LEN 16 macro
Deap_sim_common.c537 if ((!aka && (alen % GSM_RAND_LEN)) || in eap_sim_parse_attr()
545 attr->num_chal = alen / GSM_RAND_LEN; in eap_sim_parse_attr()