Home
last modified time | relevance | path

Searched refs:imsi (Results 1 – 19 of 19) sorted by relevance

/external/wpa_supplicant_8/hostapd/
Dhlr_auc_gw.c65 char imsi[20]; member
76 char imsi[20]; member
194 unsigned long long imsi; in db_get_milenage() local
197 imsi = atoll(imsi_txt); in db_get_milenage()
198 os_snprintf(db_tmp_milenage.imsi, sizeof(db_tmp_milenage.imsi), in db_get_milenage()
199 "%llu", imsi); in db_get_milenage()
202 imsi); in db_get_milenage()
222 val, m->imsi); in db_update_milenage_sqn()
225 m->imsi); in db_update_milenage_sqn()
306 if (strlen(pos) >= sizeof(g->imsi)) { in read_gsm_triplets()
[all …]
Dhlr_auc_gw.txt44 imsi INTEGER PRIMARY KEY NOT NULL,
50 INSERT INTO milenage(imsi,ki,opc,amf,sqn) VALUES(
57 INSERT INTO milenage(imsi,ki,opc,amf,sqn) VALUES(
/external/wpa_supplicant_8/src/eap_server/
Deap_sim_db.c38 char imsi[20]; member
373 eap_sim_db_get_pending(struct eap_sim_db_data *data, const char *imsi, int aka) in eap_sim_db_get_pending() argument
379 if (entry->aka == aka && os_strcmp(entry->imsi, imsi) == 0) { in eap_sim_db_get_pending()
402 const char *imsi, char *buf) in eap_sim_db_sim_resp_auth() argument
414 entry = eap_sim_db_get_pending(data, imsi, 0); in eap_sim_db_sim_resp_auth()
481 const char *imsi, char *buf) in eap_sim_db_aka_resp_auth() argument
492 entry = eap_sim_db_get_pending(data, imsi, 1); in eap_sim_db_aka_resp_auth()
574 char buf[1000], *pos, *cmd, *imsi; in eap_sim_db_receive() local
601 imsi = pos + 1; in eap_sim_db_receive()
602 pos = os_strchr(imsi, ' '); in eap_sim_db_receive()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dinterworking.c125 if (cred->pcsc || cred->imsi) in cred_with_3gpp()
137 if (cred->pcsc || cred->imsi) in cred_with_nai_realm()
153 if (cred->domain || cred->pcsc || cred->imsi) in cred_with_domain()
600 static int plmn_id_match(struct wpabuf *anqp, const char *imsi, int mnc_len) in plmn_id_match() argument
618 plmn[0] = (imsi[0] - '0') | ((imsi[1] - '0') << 4); in plmn_id_match()
619 plmn[1] = (imsi[2] - '0') | ((imsi[5] - '0') << 4); in plmn_id_match()
620 plmn[2] = (imsi[3] - '0') | ((imsi[4] - '0') << 4); in plmn_id_match()
622 plmn2[0] = (imsi[0] - '0') | ((imsi[1] - '0') << 4); in plmn_id_match()
623 plmn2[1] = (imsi[2] - '0') | 0xf0; in plmn_id_match()
624 plmn2[2] = (imsi[3] - '0') | ((imsi[4] - '0') << 4); in plmn_id_match()
[all …]
Deapol_test.c868 char imsi[20]; in scard_test() local
904 len = sizeof(imsi); in scard_test()
905 if (scard_get_imsi(scard, imsi, &len)) in scard_test()
907 wpa_hexdump_ascii(MSG_DEBUG, "SCARD: IMSI", (u8 *) imsi, len); in scard_test()
930 printf("%c", imsi[j]); in scard_test()
977 char imsi[20]; in scard_get_triplets() local
1006 len = sizeof(imsi); in scard_get_triplets()
1007 if (scard_get_imsi(scard, imsi, &len)) { in scard_get_triplets()
1019 printf("%c", imsi[j]); in scard_get_triplets()
Dconfig.h144 char *imsi; member
DREADME-HS20164 # imsi: IMSI in <MCC> | <MNC> | '-' | <MSIN> format
209 # imsi="310026-000000000"
260 > set_cred 1 imsi "23456-0000000000"
Dwpa_supplicant.c2762 len = sizeof(wpa_s->imsi) - 1; in pcsc_reader_init()
2763 if (scard_get_imsi(wpa_s->scard, wpa_s->imsi, &len)) { in pcsc_reader_init()
2769 wpa_s->imsi[len] = '\0'; in pcsc_reader_init()
2774 wpa_s->imsi, wpa_s->mnc_len); in pcsc_reader_init()
3069 wpa_s->mnc_len = eap_proxy_get_imsi(wpa_s->imsi, &len); in wpa_supplicant_init_iface()
3071 wpa_s->imsi[len] = '\0'; in wpa_supplicant_init_iface()
3073 wpa_s->imsi, wpa_s->mnc_len); in wpa_supplicant_init_iface()
Dwpa_supplicant_i.h423 char imsi[20]; member
Dconfig_file.c749 if (cred->imsi) in wpa_config_write_cred()
750 fprintf(f, "\timsi=\"%s\"\n", cred->imsi); in wpa_config_write_cred()
Dconfig.c1823 os_free(cred->imsi); in wpa_config_free_cred()
2386 os_free(cred->imsi); in wpa_config_set_cred()
2387 cred->imsi = val; in wpa_config_set_cred()
Dctrl_iface.c2480 cred->imsi ? cred->imsi : ""); in wpa_supplicant_ctrl_iface_list_creds()
/external/wpa_supplicant_8/src/eap_peer/
Deap.c932 static int mnc_len_from_imsi(const char *imsi) in mnc_len_from_imsi() argument
937 os_memcpy(mcc_str, imsi, 3); in mnc_len_from_imsi()
950 static int eap_sm_append_3gpp_realm(struct eap_sm *sm, char *imsi, in eap_sm_append_3gpp_realm() argument
964 mnc_len = mnc_len_from_imsi(imsi); in eap_sm_append_3gpp_realm()
973 mnc[1] = imsi[3]; in eap_sm_append_3gpp_realm()
974 mnc[2] = imsi[4]; in eap_sm_append_3gpp_realm()
976 mnc[0] = imsi[3]; in eap_sm_append_3gpp_realm()
977 mnc[1] = imsi[4]; in eap_sm_append_3gpp_realm()
978 mnc[2] = imsi[5]; in eap_sm_append_3gpp_realm()
982 pos = imsi + *imsi_len; in eap_sm_append_3gpp_realm()
[all …]
/external/wpa_supplicant_8/src/utils/
Dpcsc_funcs.h24 int scard_get_imsi(struct scard_data *scard, char *imsi, size_t *len);
Dpcsc_funcs.c1090 int scard_get_imsi(struct scard_data *scard, char *imsi, size_t *len) in scard_get_imsi() argument
1131 pos = imsi; in scard_get_imsi()
/external/chromium/chrome/browser/resources/options/chromeos/
Dinternet_options.js406 $('imsi').textContent = data.imsi;
/external/chromium/chrome/browser/chromeos/cros/
Dnetwork_library.h202 const std::string& imsi() const { return IMSI_; } in imsi() function
/external/chromium_org/chrome/browser/resources/options/chromeos/
Dinternet_detail.js1145 $('imsi').textContent = stringFromValue(data.imsi);
/external/chromium/chrome/browser/ui/webui/options/chromeos/
Dinternet_options_handler.cc718 dictionary->SetString("imsi", device->imsi()); in PopulateCellularDetails()