/external/wpa_supplicant_8/hostapd/ |
D | hlr_auc_gw.c | 65 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 …]
|
D | hlr_auc_gw.txt | 44 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_6/wpa_supplicant/src/hlr_auc_gw/ |
D | hlr_auc_gw.c | 59 char imsi[20]; member 70 char imsi[20]; member 161 if (strlen(pos) >= sizeof(g->imsi)) { in read_gsm_triplets() 167 os_strlcpy(g->imsi, pos, sizeof(g->imsi)); in read_gsm_triplets() 226 static struct gsm_triplet * get_gsm_triplet(const char *imsi) in get_gsm_triplet() argument 231 if (strcmp(g->imsi, imsi) == 0) { in get_gsm_triplet() 240 if (strcmp(g->imsi, imsi) == 0) { in get_gsm_triplet() 299 if (strlen(pos) >= sizeof(m->imsi)) { in read_milenage() 305 os_strlcpy(m->imsi, pos, sizeof(m->imsi)); in read_milenage() 376 static struct milenage_parameters * get_milenage(const char *imsi) in get_milenage() argument [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | interworking.c | 128 if (cred->pcsc || cred->imsi) in cred_with_3gpp() 140 if (cred->pcsc || cred->imsi) in cred_with_nai_realm() 156 if (cred->domain || cred->pcsc || cred->imsi) in cred_with_domain() 590 static int plmn_id_match(struct wpabuf *anqp, const char *imsi, int mnc_len) in plmn_id_match() argument 597 plmn[0] = (imsi[0] - '0') | ((imsi[1] - '0') << 4); in plmn_id_match() 598 plmn[1] = imsi[2] - '0'; in plmn_id_match() 601 plmn[1] |= (imsi[5] - '0') << 4; in plmn_id_match() 604 plmn[2] = (imsi[3] - '0') | ((imsi[4] - '0') << 4); in plmn_id_match() 653 static int build_root_nai(char *nai, size_t nai_len, const char *imsi, in build_root_nai() argument 667 if (imsi == NULL || os_strlen(imsi) > 16) { in build_root_nai() [all …]
|
D | eapol_test.c | 869 char imsi[20]; in scard_test() local 905 len = sizeof(imsi); in scard_test() 906 if (scard_get_imsi(scard, imsi, &len)) in scard_test() 908 wpa_hexdump_ascii(MSG_DEBUG, "SCARD: IMSI", (u8 *) imsi, len); in scard_test() 931 printf("%c", imsi[j]); in scard_test() 978 char imsi[20]; in scard_get_triplets() local 1007 len = sizeof(imsi); in scard_get_triplets() 1008 if (scard_get_imsi(scard, imsi, &len)) { in scard_get_triplets() 1020 printf("%c", imsi[j]); in scard_get_triplets()
|
D | config.h | 143 char *imsi; member
|
D | README-HS20 | 164 # imsi: IMSI in <MCC> | <MNC> | '-' | <MSIN> format 204 # imsi="310026-000000000" 255 > set_cred 1 imsi "23456-0000000000"
|
D | wpa_supplicant_i.h | 380 char imsi[20]; member
|
D | config_file.c | 710 if (cred->imsi) in wpa_config_write_cred() 711 fprintf(f, "\timsi=\"%s\"\n", cred->imsi); in wpa_config_write_cred()
|
D | wpa_supplicant.c | 2629 len = sizeof(wpa_s->imsi) - 1; in pcsc_reader_init() 2630 if (scard_get_imsi(wpa_s->scard, wpa_s->imsi, &len)) { in pcsc_reader_init() 2636 wpa_s->imsi[len] = '\0'; in pcsc_reader_init() 2641 wpa_s->imsi, wpa_s->mnc_len); in pcsc_reader_init()
|
D | config.c | 1826 os_free(cred->imsi); in wpa_config_free_cred() 2361 os_free(cred->imsi); in wpa_config_set_cred() 2362 cred->imsi = val; in wpa_config_set_cred()
|
D | ctrl_iface.c | 2041 cred->imsi ? cred->imsi : ""); in wpa_supplicant_ctrl_iface_list_creds()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_sim_db.c | 38 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_6/wpa_supplicant/src/eap_server/ |
D | eap_sim_db.c | 41 u8 imsi[20]; member 78 eap_sim_db_get_pending(struct eap_sim_db_data *data, const u8 *imsi, in eap_sim_db_get_pending() argument 86 os_memcmp(entry->imsi, imsi, imsi_len) == 0) { in eap_sim_db_get_pending() 109 const char *imsi, char *buf) in eap_sim_db_sim_resp_auth() argument 121 entry = eap_sim_db_get_pending(data, (u8 *) imsi, os_strlen(imsi), 0); in eap_sim_db_sim_resp_auth() 188 const char *imsi, char *buf) in eap_sim_db_aka_resp_auth() argument 199 entry = eap_sim_db_get_pending(data, (u8 *) imsi, os_strlen(imsi), 1); in eap_sim_db_aka_resp_auth() 281 char buf[1000], *pos, *cmd, *imsi; in eap_sim_db_receive() local 308 imsi = pos + 1; in eap_sim_db_receive() 309 pos = os_strchr(imsi, ' '); in eap_sim_db_receive() [all …]
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap.c | 917 static int mnc_len_from_imsi(const char *imsi) in mnc_len_from_imsi() argument 922 os_memcpy(mcc_str, imsi, 3); in mnc_len_from_imsi() 933 static int eap_sm_append_3gpp_realm(struct eap_sm *sm, char *imsi, in eap_sm_append_3gpp_realm() argument 947 mnc_len = mnc_len_from_imsi(imsi); in eap_sm_append_3gpp_realm() 956 mnc[1] = imsi[3]; in eap_sm_append_3gpp_realm() 957 mnc[2] = imsi[4]; in eap_sm_append_3gpp_realm() 959 mnc[0] = imsi[3]; in eap_sm_append_3gpp_realm() 960 mnc[1] = imsi[4]; in eap_sm_append_3gpp_realm() 961 mnc[2] = imsi[5]; in eap_sm_append_3gpp_realm() 965 pos = imsi + *imsi_len; in eap_sm_append_3gpp_realm() [all …]
|
/external/wpa_supplicant_6/wpa_supplicant/ |
D | eapol_test.c | 792 char imsi[20]; in scard_test() local 828 len = sizeof(imsi); in scard_test() 829 if (scard_get_imsi(scard, imsi, &len)) in scard_test() 831 wpa_hexdump_ascii(MSG_DEBUG, "SCARD: IMSI", (u8 *) imsi, len); in scard_test() 851 printf("%c", imsi[j]); in scard_test() 898 char imsi[20]; in scard_get_triplets() local 927 len = sizeof(imsi); in scard_get_triplets() 928 if (scard_get_imsi(scard, imsi, &len)) { in scard_get_triplets() 940 printf("%c", imsi[j]); in scard_get_triplets()
|
/external/wpa_supplicant_6/wpa_supplicant/src/utils/ |
D | pcsc_funcs.h | 49 int scard_get_imsi(struct scard_data *scard, char *imsi, size_t *len);
|
D | pcsc_funcs.c | 962 int scard_get_imsi(struct scard_data *scard, char *imsi, size_t *len) in scard_get_imsi() argument 1003 pos = imsi; in scard_get_imsi()
|
/external/wpa_supplicant_8/src/utils/ |
D | pcsc_funcs.h | 24 int scard_get_imsi(struct scard_data *scard, char *imsi, size_t *len);
|
D | pcsc_funcs.c | 1090 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/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
D | eap.c | 875 char imsi[100]; in eap_sm_imsi_identity() local 880 imsi_len = sizeof(imsi); in eap_sm_imsi_identity() 881 if (scard_get_imsi(sm->scard_ctx, imsi, &imsi_len)) { in eap_sm_imsi_identity() 886 wpa_hexdump_ascii(MSG_DEBUG, "IMSI", (u8 *) imsi, imsi_len); in eap_sm_imsi_identity() 906 os_memcpy(conf->identity + 1, imsi, imsi_len); in eap_sm_imsi_identity()
|
/external/chromium/chrome/browser/resources/options/chromeos/ |
D | internet_options.js | 406 $('imsi').textContent = data.imsi;
|
/external/chromium/chrome/browser/chromeos/cros/ |
D | network_library.h | 202 const std::string& imsi() const { return IMSI_; } in imsi() function
|
/external/chromium/chrome/browser/ui/webui/options/chromeos/ |
D | internet_options_handler.cc | 718 dictionary->SetString("imsi", device->imsi()); in PopulateCellularDetails()
|