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 170 for (i = 0; i < data->num_chal; i++) { in eap_sim_ext_sim_req() 200 for (i = 0; i < data->num_chal; i++) { in eap_sim_ext_sim_result() 218 if (i + 1 < data->num_chal) { in eap_sim_ext_sim_result() 258 (data->num_chal > 2 && in eap_sim_gsm_auth() 292 for (i = 0; i < data->num_chal; i++) { in eap_sim_gsm_auth() 322 for (i = 0; i < data->num_chal; i++) { in eap_sim_gsm_auth() 542 data->num_chal * EAP_SIM_SRES_LEN); in eap_sim_response_challenge() 720 (unsigned long) attr->num_chal); in eap_sim_process_challenge() 721 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 | 29 int num_chal; member 229 data->num_chal * GSM_RAND_LEN); in eap_sim_build_challenge() 523 data->num_chal = eap_sim_db_get_gsm_triplets( in eap_sim_process_start() 526 if (data->num_chal == EAP_SIM_DB_PENDING) { in eap_sim_process_start() 532 if (data->num_chal < 2) { in eap_sim_process_start() 551 data->num_chal, (const u8 *) data->kc, data->mk); in eap_sim_process_start() 572 data->num_chal * EAP_SIM_SRES_LEN)) { in eap_sim_process_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()
|
/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() 545 attr->num_chal = alen / GSM_RAND_LEN; in eap_sim_parse_attr()
|