Searched refs:num_chal (Results 1 – 5 of 5) sorted by relevance
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_sim.c | 24 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 …]
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_sim_db.c | 47 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 …]
|
D | eap_server_sim.c | 30 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()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_sim_common.h | 77 int num_chal, const u8 *kc, u8 *mk); 190 size_t num_chal, version_list_len, encr_data_len; member
|
D | eap_sim_common.c | 31 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()
|