/external/wpa_supplicant_8/hostapd/ |
D | hlr_auc_gw.c | 73 char imsi[20]; member 84 char imsi[20]; member 209 unsigned long long imsi; in db_get_milenage() local 212 imsi = atoll(imsi_txt); in db_get_milenage() 213 os_snprintf(db_tmp_milenage.imsi, sizeof(db_tmp_milenage.imsi), in db_get_milenage() 214 "%llu", imsi); in db_get_milenage() 216 "SELECT * FROM milenage WHERE imsi=%llu;", imsi); in db_get_milenage() 239 val, m->imsi); in db_update_milenage_sqn() 242 m->imsi); in db_update_milenage_sqn() 317 if (!pos || os_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_8/src/eap_server/ |
D | eap_sim_db.c | 38 char imsi[20]; member 377 eap_sim_db_get_pending(struct eap_sim_db_data *data, const char *imsi, int aka) in eap_sim_db_get_pending() argument 383 if (entry->aka == aka && os_strcmp(entry->imsi, imsi) == 0) { in eap_sim_db_get_pending() 457 const char *imsi, char *buf) in eap_sim_db_sim_resp_auth() argument 469 entry = eap_sim_db_get_pending(data, imsi, 0); in eap_sim_db_sim_resp_auth() 536 const char *imsi, char *buf) in eap_sim_db_aka_resp_auth() argument 547 entry = eap_sim_db_get_pending(data, imsi, 1); in eap_sim_db_aka_resp_auth() 629 char buf[1000], *pos, *cmd, *imsi; in eap_sim_db_receive() local 654 imsi = pos + 1; in eap_sim_db_receive() 655 pos = os_strchr(imsi, ' '); in eap_sim_db_receive() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | interworking.c | 159 if (cred->pcsc || cred->imsi) in cred_with_3gpp() 171 if (cred->pcsc || cred->imsi) in cred_with_nai_realm() 187 if (cred->domain || cred->pcsc || cred->imsi || in cred_with_domain() 724 static int plmn_id_match(struct wpabuf *anqp, const char *imsi, int mnc_len) in plmn_id_match() argument 742 plmn[0] = (imsi[0] - '0') | ((imsi[1] - '0') << 4); in plmn_id_match() 743 plmn[1] = (imsi[2] - '0') | ((imsi[5] - '0') << 4); in plmn_id_match() 744 plmn[2] = (imsi[3] - '0') | ((imsi[4] - '0') << 4); in plmn_id_match() 746 plmn2[0] = (imsi[0] - '0') | ((imsi[1] - '0') << 4); in plmn_id_match() 747 plmn2[1] = (imsi[2] - '0') | 0xf0; in plmn_id_match() 748 plmn2[2] = (imsi[3] - '0') | ((imsi[4] - '0') << 4); in plmn_id_match() [all …]
|
D | eapol_test.c | 1069 char imsi[20]; in scard_test() local 1105 len = sizeof(imsi); in scard_test() 1106 if (scard_get_imsi(scard, imsi, &len)) in scard_test() 1108 wpa_hexdump_ascii(MSG_DEBUG, "SCARD: IMSI", (u8 *) imsi, len); in scard_test() 1131 printf("%c", imsi[j]); in scard_test() 1178 char imsi[20]; in scard_get_triplets() local 1207 len = sizeof(imsi); in scard_get_triplets() 1208 if (scard_get_imsi(scard, imsi, &len)) { in scard_get_triplets() 1220 printf("%c", imsi[j]); in scard_get_triplets()
|
D | config.h | 166 char *imsi; member
|
D | wpas_glue.c | 904 wpa_s->imsi, &len); in wpa_supplicant_eap_proxy_cb() 906 wpa_s->imsi[len] = '\0'; in wpa_supplicant_eap_proxy_cb() 908 wpa_s->imsi, wpa_s->mnc_len); in wpa_supplicant_eap_proxy_cb()
|
D | README-HS20 | 166 # imsi: IMSI in <MCC> | <MNC> | '-' | <MSIN> format 287 # imsi="310026-000000000" 340 > set_cred 1 imsi "23456-0000000000" 356 > set_cred 1 imsi "23456-0000000000"
|
D | wpa_supplicant.c | 4061 len = sizeof(wpa_s->imsi) - 1; in pcsc_reader_init() 4062 if (scard_get_imsi(wpa_s->scard, wpa_s->imsi, &len)) { in pcsc_reader_init() 4068 wpa_s->imsi[len] = '\0'; in pcsc_reader_init() 4073 wpa_s->imsi, wpa_s->mnc_len); in pcsc_reader_init() 5059 wpa_s->mnc_len = eapol_sm_get_eap_proxy_imsi(wpa_s->eapol, wpa_s->imsi, in wpa_supplicant_init_iface() 5062 wpa_s->imsi[len] = '\0'; in wpa_supplicant_init_iface() 5064 wpa_s->imsi, wpa_s->mnc_len); in wpa_supplicant_init_iface()
|
D | config_file.c | 897 if (cred->imsi) in wpa_config_write_cred() 898 fprintf(f, "\timsi=\"%s\"\n", cred->imsi); in wpa_config_write_cred()
|
D | wpa_supplicant_i.h | 610 char imsi[20]; member
|
D | config.c | 2346 os_free(cred->imsi); in wpa_config_free_cred() 3091 os_free(cred->imsi); in wpa_config_set_cred() 3092 cred->imsi = val; in wpa_config_set_cred() 3402 return alloc_strdup(cred->imsi); in wpa_config_get_cred_no_key()
|
D | ctrl_iface.c | 3359 cred->imsi ? cred->imsi : ""); in wpa_supplicant_ctrl_iface_list_creds()
|
/external/autotest/client/cros/cellular/pseudomodem/ |
D | sim.py | 116 imsi=DEFAULT_IMSI, argument 123 self.imsi = carrier.operator_id + imsi 255 imsi = self.imsi 266 'Imsi' : imsi,
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap.c | 1277 static int mnc_len_from_imsi(const char *imsi) in mnc_len_from_imsi() argument 1282 os_memcpy(mcc_str, imsi, 3); in mnc_len_from_imsi() 1295 static int eap_sm_append_3gpp_realm(struct eap_sm *sm, char *imsi, in eap_sm_append_3gpp_realm() argument 1309 mnc_len = mnc_len_from_imsi(imsi); in eap_sm_append_3gpp_realm() 1318 mnc[1] = imsi[3]; in eap_sm_append_3gpp_realm() 1319 mnc[2] = imsi[4]; in eap_sm_append_3gpp_realm() 1321 mnc[0] = imsi[3]; in eap_sm_append_3gpp_realm() 1322 mnc[1] = imsi[4]; in eap_sm_append_3gpp_realm() 1323 mnc[2] = imsi[5]; in eap_sm_append_3gpp_realm() 1327 pos = imsi + *imsi_len; in eap_sm_append_3gpp_realm() [all …]
|
/external/autotest/client/cros/cellular/wardmodem/state_machines/ |
D | network_identity_machine.py | 100 imsi = self._get_sim_imsi() 116 padded_imsi = x + imsi
|
/external/wpa_supplicant_8/src/utils/ |
D | pcsc_funcs.h | 17 int scard_get_imsi(struct scard_data *scard, char *imsi, size_t *len);
|
D | pcsc_funcs.c | 1107 int scard_get_imsi(struct scard_data *scard, char *imsi, size_t *len) in scard_get_imsi() argument 1148 pos = imsi; in scard_get_imsi()
|
/external/autotest/client/cros/cellular/ |
D | pseudo_modem.py | 141 imsi=None, argument 151 self.imsi = imsi or (self.mcc + self.mnc + SIM.DEFAULT_IMSI) 163 'Imsi': self.imsi,
|
/external/wpa_supplicant_8/hs20/client/ |
D | osu_client.c | 1561 char *imsi, *eaptype, *str, buf[20]; in set_pps_cred_sim() local 1603 imsi = xml_node_get_text(ctx->xml, node); in set_pps_cred_sim() 1604 if (imsi == NULL) { in set_pps_cred_sim() 1608 wpa_printf(MSG_INFO, " - Credential/SIM/IMSI = %s", imsi); in set_pps_cred_sim() 1609 imsi_len = os_strlen(imsi); in set_pps_cred_sim() 1612 xml_node_get_text_free(ctx->xml, imsi); in set_pps_cred_sim() 1621 if (os_strncmp(imsi + 3, pos + 3, 3) == 0) in set_pps_cred_sim() 1623 else if (os_strncmp(imsi + 3, pos + 4, 2) == 0) in set_pps_cred_sim() 1629 os_memcpy(buf, imsi, 3 + mnc_len); in set_pps_cred_sim() 1631 os_strlcpy(buf + 3 + mnc_len + 1, imsi + 3 + mnc_len, in set_pps_cred_sim() [all …]
|
/external/wpa_supplicant_8/src/eapol_supp/ |
D | eapol_supp_sm.h | 342 int eapol_sm_get_eap_proxy_imsi(struct eapol_sm *sm, char *imsi, size_t *len);
|
D | eapol_supp_sm.c | 2161 int eapol_sm_get_eap_proxy_imsi(struct eapol_sm *sm, char *imsi, size_t *len) in eapol_sm_get_eap_proxy_imsi() argument 2165 return eap_proxy_get_imsi(sm->eap_proxy, imsi, len); in eapol_sm_get_eap_proxy_imsi()
|