/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 …]
|
D | eap_i.h | 163 char imsi[20]; member
|
D | eap_server_sim.c | 539 os_strlcpy(sm->imsi, &data->permanent[1], sizeof(sm->imsi)); in eap_sim_process_start()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | interworking.c | 163 if (cred->pcsc || cred->imsi) in cred_with_3gpp() 175 if (cred->pcsc || cred->imsi) in cred_with_nai_realm() 191 if (cred->domain || cred->pcsc || cred->imsi || in cred_with_domain() 730 static int plmn_id_match(struct wpabuf *anqp, const char *imsi, int mnc_len) in plmn_id_match() argument 748 plmn[0] = (imsi[0] - '0') | ((imsi[1] - '0') << 4); in plmn_id_match() 749 plmn[1] = (imsi[2] - '0') | ((imsi[5] - '0') << 4); in plmn_id_match() 750 plmn[2] = (imsi[3] - '0') | ((imsi[4] - '0') << 4); in plmn_id_match() 752 plmn2[0] = (imsi[0] - '0') | ((imsi[1] - '0') << 4); in plmn_id_match() 753 plmn2[1] = (imsi[2] - '0') | 0xf0; in plmn_id_match() 754 plmn2[2] = (imsi[3] - '0') | ((imsi[4] - '0') << 4); in plmn_id_match() [all …]
|
D | eapol_test.c | 1070 char imsi[20]; in scard_test() local 1106 len = sizeof(imsi); in scard_test() 1107 if (scard_get_imsi(scard, imsi, &len)) in scard_test() 1109 wpa_hexdump_ascii(MSG_DEBUG, "SCARD: IMSI", (u8 *) imsi, len); in scard_test() 1132 printf("%c", imsi[j]); in scard_test() 1179 char imsi[20]; in scard_get_triplets() local 1208 len = sizeof(imsi); in scard_get_triplets() 1209 if (scard_get_imsi(scard, imsi, &len)) { in scard_get_triplets() 1221 printf("%c", imsi[j]); in scard_get_triplets()
|
D | wpas_glue.c | 945 wpa_s->imsi, &len); in wpa_supplicant_eap_proxy_cb() 947 wpa_s->imsi[len] = '\0'; in wpa_supplicant_eap_proxy_cb() 949 wpa_s->imsi, wpa_s->mnc_len); in wpa_supplicant_eap_proxy_cb()
|
D | config.h | 172 char *imsi; member
|
D | README-HS20 | 166 # imsi: IMSI in <MCC> | <MNC> | '-' | <MSIN> format 301 # imsi="310026-000000000" 355 > set_cred 1 imsi "23456-0000000000" 371 > set_cred 1 imsi "23456-0000000000"
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_proxy_qmi_oc.c | 141 static char *imsi; variable 462 mcc = ((imsi[0]-0x30)*100) + ((imsi[1]-0x30)*10) + (imsi[2]-0x30); in check_for_3_digit() 552 imsi = os_zalloc(2 * length); in wpa_qmi_read_card_imsi() 553 if (imsi == NULL) { in wpa_qmi_read_card_imsi() 568 imsi[dst] = bin_to_hexchar(data[src] & 0x0F); in wpa_qmi_read_card_imsi() 572 imsi[dst-1], dst); in wpa_qmi_read_card_imsi() 575 imsi[dst] = bin_to_hexchar(data[src] >> 4); in wpa_qmi_read_card_imsi() 579 imsi[dst-1], dst); in wpa_qmi_read_card_imsi() 584 "imsi %20s\n", data[0],imsi_len_g, imsi); in wpa_qmi_read_card_imsi() 1864 if (imsi == NULL) { in eap_proxy_build_identity() [all …]
|
D | eap.c | 174 static int eap_sm_append_3gpp_realm(struct eap_sm *sm, char *imsi, in eap_sm_append_3gpp_realm() argument 190 mnc[1] = imsi[3]; in eap_sm_append_3gpp_realm() 191 mnc[2] = imsi[4]; in eap_sm_append_3gpp_realm() 193 mnc[0] = imsi[3]; in eap_sm_append_3gpp_realm() 194 mnc[1] = imsi[4]; in eap_sm_append_3gpp_realm() 195 mnc[2] = imsi[5]; in eap_sm_append_3gpp_realm() 199 pos = imsi + *imsi_len; in eap_sm_append_3gpp_realm() 200 pos += os_snprintf(pos, imsi + max_len - pos, in eap_sm_append_3gpp_realm() 202 mnc, imsi[0], imsi[1], imsi[2]); in eap_sm_append_3gpp_realm() 203 *imsi_len = pos - imsi; in eap_sm_append_3gpp_realm() [all …]
|
D | eap.h | 279 int (*get_imsi)(void *ctx, int sim_num, char *imsi, size_t *len);
|
/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/hs20/server/www/ |
D | spp.php | 105 $imsi = $row['imsi']; variable 116 error_log("spp.php - SIM provisioning for IMSI $imsi"); 118 putenv("HS20IMSI=$imsi");
|
/external/wpa_supplicant_8/hs20/server/ |
D | hs20_spp_server.c | 93 ctx->imsi = getenv("HS20IMSI"); in process() 94 if (ctx->imsi) in process() 95 debug_print(ctx, 1, "IMSI %s", ctx->imsi); in process()
|
D | spp_server.h | 20 const char *imsi; member
|
D | sql.txt | 104 imsi TEXT,
|
D | spp_server.c | 1446 const char *imsi, const char *dmacc_username, in build_pps() argument 1466 if (imsi) in build_pps() 1538 if (imsi) { in build_pps() 1543 add_text_node(ctx, sim, "IMSI", imsi); in build_pps() 1985 if (!ctx->imsi) { in hs20_sim_provisioning() 2019 pps = build_pps(ctx, NULL, realm, NULL, NULL, 0, NULL, ctx->imsi, in hs20_sim_provisioning() 2029 user = ctx->imsi; in hs20_sim_provisioning()
|
/external/wpa_supplicant_8/src/utils/ |
D | pcsc_funcs.h | 17 int scard_get_imsi(struct scard_data *scard, char *imsi, size_t *len);
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | ResTable_config.java | 1020 if (imsi() != o.imsi()) { in compare() 1021 return (imsi() > o.imsi()) ? 1 : -1; in compare() 1182 if (isTruthy(imsi()) || isTruthy(o.imsi())) { in isBetterThan() 1448 if (imsi() != 0) { in match() 1953 private int imsi() { in imsi() method in ResTable_config 2230 if (isTruthy(imsi()) || isTruthy(o.imsi())) { in isMoreSpecificThan()
|
/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/scapy/scapy/contrib/ |
D | gtp.uts | 54 ie.ietype == 2 and ie.imsi == b'2080112345670000' 57 ie = IE_IMSI(imsi='208103397660354') 58 ie.ietype == 2 and ie.imsi == b'208103397660354'
|
/external/wpa_supplicant_8/hs20/client/ |
D | osu_client.c | 1666 char *imsi, *eaptype, *str, buf[20]; in set_pps_cred_sim() local 1708 imsi = xml_node_get_text(ctx->xml, node); in set_pps_cred_sim() 1709 if (imsi == NULL) { in set_pps_cred_sim() 1713 wpa_printf(MSG_INFO, " - Credential/SIM/IMSI = %s", imsi); in set_pps_cred_sim() 1714 imsi_len = os_strlen(imsi); in set_pps_cred_sim() 1717 xml_node_get_text_free(ctx->xml, imsi); in set_pps_cred_sim() 1726 if (os_strncmp(imsi + 3, pos + 3, 3) == 0) in set_pps_cred_sim() 1728 else if (os_strncmp(imsi + 3, pos + 4, 2) == 0) in set_pps_cred_sim() 1734 os_memcpy(buf, imsi, 3 + mnc_len); in set_pps_cred_sim() 1736 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 | 349 int eapol_sm_get_eap_proxy_imsi(void *ctx, int sim_num, char *imsi,
|