Home
last modified time | relevance | path

Searched refs:num_chal (Results 1 – 10 of 10) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Deap_sim.c24 size_t min_num_chal, num_chal; member
177 for (i = 0; i < data->num_chal; i++) { in eap_sim_ext_sim_req()
207 for (i = 0; i < data->num_chal; i++) { in eap_sim_ext_sim_result()
225 if (i + 1 < data->num_chal) { in eap_sim_ext_sim_result()
265 (data->num_chal > 2 && in eap_sim_gsm_auth()
299 for (i = 0; i < data->num_chal; i++) { in eap_sim_gsm_auth()
329 for (i = 0; i < data->num_chal; i++) { in eap_sim_gsm_auth()
558 data->num_chal * EAP_SIM_SRES_LEN); in eap_sim_response_challenge()
735 (unsigned long) attr->num_chal); in eap_sim_process_challenge()
736 if (attr->num_chal < data->min_num_chal) { in eap_sim_process_challenge()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Deap_sim.c24 size_t min_num_chal, num_chal; member
179 for (i = 0; i < data->num_chal; i++) { in eap_sim_ext_sim_req()
209 for (i = 0; i < data->num_chal; i++) { in eap_sim_ext_sim_result()
227 if (i + 1 < data->num_chal) { in eap_sim_ext_sim_result()
267 (data->num_chal > 2 && in eap_sim_gsm_auth()
301 for (i = 0; i < data->num_chal; i++) { in eap_sim_gsm_auth()
331 for (i = 0; i < data->num_chal; i++) { in eap_sim_gsm_auth()
563 data->num_chal * EAP_SIM_SRES_LEN); in eap_sim_response_challenge()
747 (unsigned long) attr->num_chal); in eap_sim_process_challenge()
748 if (attr->num_chal < data->min_num_chal) { in eap_sim_process_challenge()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
Deap_sim_db.c47 int num_chal; member
461 int num_chal; in eap_sim_db_sim_resp_auth() local
486 num_chal = 0; in eap_sim_db_sim_resp_auth()
487 while (num_chal < EAP_SIM_MAX_CHAL) { in eap_sim_db_sim_resp_auth()
496 if (hexstr2bin(start, entry->u.sim.kc[num_chal], in eap_sim_db_sim_resp_auth()
505 if (hexstr2bin(start, entry->u.sim.sres[num_chal], in eap_sim_db_sim_resp_auth()
510 if (hexstr2bin(start, entry->u.sim.rand[num_chal], in eap_sim_db_sim_resp_auth()
514 num_chal++; in eap_sim_db_sim_resp_auth()
520 entry->u.sim.num_chal = num_chal; in eap_sim_db_sim_resp_auth()
948 int num_chal; in eap_sim_db_get_gsm_triplets() local
[all …]
Deap_server_sim.c30 int num_chal; member
236 data->num_chal * GSM_RAND_LEN); in eap_sim_build_challenge()
540 data->num_chal = eap_sim_db_get_gsm_triplets( in eap_sim_process_start()
543 if (data->num_chal == EAP_SIM_DB_PENDING) { in eap_sim_process_start()
549 if (data->num_chal < 2) { in eap_sim_process_start()
571 data->num_chal, (const u8 *) data->kc, data->mk); in eap_sim_process_start()
592 data->num_chal * EAP_SIM_SRES_LEN)) { in eap_sim_process_challenge()
850 *len = 1 + data->num_chal * GSM_RAND_LEN + EAP_SIM_NONCE_MT_LEN; in eap_sim_get_session_id()
859 os_memcpy(id + 1, data->rand, data->num_chal * GSM_RAND_LEN); in eap_sim_get_session_id()
860 os_memcpy(id + 1 + data->num_chal * GSM_RAND_LEN, in eap_sim_get_session_id()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
Deap_sim_db.c47 int num_chal; member
461 int num_chal; in eap_sim_db_sim_resp_auth() local
486 num_chal = 0; in eap_sim_db_sim_resp_auth()
487 while (num_chal < EAP_SIM_MAX_CHAL) { in eap_sim_db_sim_resp_auth()
496 if (hexstr2bin(start, entry->u.sim.kc[num_chal], in eap_sim_db_sim_resp_auth()
505 if (hexstr2bin(start, entry->u.sim.sres[num_chal], in eap_sim_db_sim_resp_auth()
510 if (hexstr2bin(start, entry->u.sim.rand[num_chal], in eap_sim_db_sim_resp_auth()
514 num_chal++; in eap_sim_db_sim_resp_auth()
520 entry->u.sim.num_chal = num_chal; in eap_sim_db_sim_resp_auth()
948 int num_chal; in eap_sim_db_get_gsm_triplets() local
[all …]
Deap_server_sim.c30 int num_chal; member
236 data->num_chal * GSM_RAND_LEN); in eap_sim_build_challenge()
540 data->num_chal = eap_sim_db_get_gsm_triplets( in eap_sim_process_start()
543 if (data->num_chal == EAP_SIM_DB_PENDING) { in eap_sim_process_start()
549 if (data->num_chal < 2) { in eap_sim_process_start()
571 data->num_chal, (const u8 *) data->kc, data->mk); in eap_sim_process_start()
592 data->num_chal * EAP_SIM_SRES_LEN)) { in eap_sim_process_challenge()
852 *len = 1 + data->num_chal * GSM_RAND_LEN + EAP_SIM_NONCE_MT_LEN; in eap_sim_get_session_id()
861 os_memcpy(id + 1, data->rand, data->num_chal * GSM_RAND_LEN); in eap_sim_get_session_id()
862 os_memcpy(id + 1 + data->num_chal * GSM_RAND_LEN, in eap_sim_get_session_id()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/
Deap_sim_common.h81 int num_chal, const u8 *kc, u8 *mk);
194 size_t num_chal, version_list_len, encr_data_len; member
Deap_sim_common.c35 int num_chal, const u8 *kc, u8 *mk) in eap_sim_derive_mk() argument
44 len[1] = num_chal * EAP_SIM_KC_LEN; in eap_sim_derive_mk()
547 attr->num_chal = alen / GSM_RAND_LEN; in eap_sim_parse_attr()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/
Deap_sim_common.h77 int num_chal, const u8 *kc, u8 *mk);
190 size_t num_chal, version_list_len, encr_data_len; member
Deap_sim_common.c31 int num_chal, const u8 *kc, u8 *mk) in eap_sim_derive_mk() argument
40 len[1] = num_chal * EAP_SIM_KC_LEN; in eap_sim_derive_mk()
543 attr->num_chal = alen / GSM_RAND_LEN; in eap_sim_parse_attr()