/third_party/wpa_supplicant/wpa_supplicant-2.9/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(
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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(
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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 | 162 char imsi[20]; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/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
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/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 | 1066 char imsi[20]; in scard_test() local 1102 len = sizeof(imsi); in scard_test() 1103 if (scard_get_imsi(scard, imsi, &len)) in scard_test() 1105 wpa_hexdump_ascii(MSG_DEBUG, "SCARD: IMSI", (u8 *) imsi, len); in scard_test() 1128 printf("%c", imsi[j]); in scard_test() 1175 char imsi[20]; in scard_get_triplets() local 1204 len = sizeof(imsi); in scard_get_triplets() 1205 if (scard_get_imsi(scard, imsi, &len)) { in scard_get_triplets() 1217 printf("%c", imsi[j]); in scard_get_triplets()
|
D | wpas_glue.c | 949 wpa_s->imsi, &len); in wpa_supplicant_eap_proxy_cb() 951 wpa_s->imsi[len] = '\0'; in wpa_supplicant_eap_proxy_cb() 953 wpa_s->imsi, wpa_s->mnc_len); in wpa_supplicant_eap_proxy_cb()
|
D | config.h | 172 char *imsi; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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() 736 static int plmn_id_match(struct wpabuf *anqp, const char *imsi, int mnc_len) in plmn_id_match() argument 754 plmn[0] = (imsi[0] - '0') | ((imsi[1] - '0') << 4); in plmn_id_match() 755 plmn[1] = (imsi[2] - '0') | ((imsi[5] - '0') << 4); in plmn_id_match() 756 plmn[2] = (imsi[3] - '0') | ((imsi[4] - '0') << 4); in plmn_id_match() 758 plmn2[0] = (imsi[0] - '0') | ((imsi[1] - '0') << 4); in plmn_id_match() 759 plmn2[1] = (imsi[2] - '0') | 0xf0; in plmn_id_match() 760 plmn2[2] = (imsi[3] - '0') | ((imsi[4] - '0') << 4); in plmn_id_match() [all …]
|
D | eapol_test.c | 1065 char imsi[20]; in scard_test() local 1101 len = sizeof(imsi); in scard_test() 1102 if (scard_get_imsi(scard, imsi, &len)) in scard_test() 1104 wpa_hexdump_ascii(MSG_DEBUG, "SCARD: IMSI", (u8 *) imsi, len); in scard_test() 1127 printf("%c", imsi[j]); in scard_test() 1174 char imsi[20]; in scard_get_triplets() local 1203 len = sizeof(imsi); in scard_get_triplets() 1204 if (scard_get_imsi(scard, imsi, &len)) { in scard_get_triplets() 1216 printf("%c", imsi[j]); in scard_get_triplets()
|
D | README-HS20 | 166 # imsi: IMSI in <MCC> | <MNC> | '-' | <MSIN> format 307 # imsi="310026-000000000" 361 > set_cred 1 imsi "23456-0000000000" 377 > set_cred 1 imsi "23456-0000000000"
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
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 | 275 int (*get_imsi)(void *ctx, int sim_num, char *imsi, size_t *len);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
D | eap.c | 175 static int eap_sm_append_3gpp_realm(struct eap_sm *sm, char *imsi, in eap_sm_append_3gpp_realm() argument 191 mnc[1] = imsi[3]; in eap_sm_append_3gpp_realm() 192 mnc[2] = imsi[4]; in eap_sm_append_3gpp_realm() 194 mnc[0] = imsi[3]; in eap_sm_append_3gpp_realm() 195 mnc[1] = imsi[4]; in eap_sm_append_3gpp_realm() 196 mnc[2] = imsi[5]; in eap_sm_append_3gpp_realm() 200 pos = imsi + *imsi_len; in eap_sm_append_3gpp_realm() 201 pos += os_snprintf(pos, imsi + max_len - pos, in eap_sm_append_3gpp_realm() 203 mnc, imsi[0], imsi[1], imsi[2]); in eap_sm_append_3gpp_realm() 204 *imsi_len = pos - imsi; in eap_sm_append_3gpp_realm() [all …]
|
D | eap.h | 274 int (*get_imsi)(void *ctx, int sim_num, char *imsi, size_t *len);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
D | pcsc_funcs.h | 17 int scard_get_imsi(struct scard_data *scard, char *imsi, size_t *len);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
D | pcsc_funcs.h | 17 int scard_get_imsi(struct scard_data *scard, char *imsi, size_t *len);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/hs20/client/ |
D | osu_client.c | 1676 char *imsi, *eaptype, *str, buf[20]; in set_pps_cred_sim() local 1718 imsi = xml_node_get_text(ctx->xml, node); in set_pps_cred_sim() 1719 if (imsi == NULL) { in set_pps_cred_sim() 1723 wpa_printf(MSG_INFO, " - Credential/SIM/IMSI = %s", imsi); in set_pps_cred_sim() 1724 imsi_len = os_strlen(imsi); in set_pps_cred_sim() 1727 xml_node_get_text_free(ctx->xml, imsi); in set_pps_cred_sim() 1736 if (os_strncmp(imsi + 3, pos + 3, 3) == 0) in set_pps_cred_sim() 1738 else if (os_strncmp(imsi + 3, pos + 4, 2) == 0) in set_pps_cred_sim() 1744 os_memcpy(buf, imsi, 3 + mnc_len); in set_pps_cred_sim() 1746 os_strlcpy(buf + 3 + mnc_len + 1, imsi + 3 + mnc_len, in set_pps_cred_sim() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hs20/client/ |
D | osu_client.c | 1676 char *imsi, *eaptype, *str, buf[20]; in set_pps_cred_sim() local 1718 imsi = xml_node_get_text(ctx->xml, node); in set_pps_cred_sim() 1719 if (imsi == NULL) { in set_pps_cred_sim() 1723 wpa_printf(MSG_INFO, " - Credential/SIM/IMSI = %s", imsi); in set_pps_cred_sim() 1724 imsi_len = os_strlen(imsi); in set_pps_cred_sim() 1727 xml_node_get_text_free(ctx->xml, imsi); in set_pps_cred_sim() 1736 if (os_strncmp(imsi + 3, pos + 3, 3) == 0) in set_pps_cred_sim() 1738 else if (os_strncmp(imsi + 3, pos + 4, 2) == 0) in set_pps_cred_sim() 1744 os_memcpy(buf, imsi, 3 + mnc_len); in set_pps_cred_sim() 1746 os_strlcpy(buf + 3 + mnc_len + 1, imsi + 3 + mnc_len, in set_pps_cred_sim() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eapol_supp/ |
D | eapol_supp_sm.h | 346 int eapol_sm_get_eap_proxy_imsi(void *ctx, int sim_num, char *imsi,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eapol_supp/ |
D | eapol_supp_sm.h | 355 int eapol_sm_get_eap_proxy_imsi(void *ctx, int sim_num, char *imsi,
|