Searched refs:imsi (Results 1 - 13 of 13) sorted by relevance

/freebsd-10.2-release/contrib/wpa/hostapd/
H A Dhlr_auc_gw.c65 char imsi[20]; member in struct:gsm_triplet
76 char imsi[20]; member in struct:milenage_parameters
115 " imsi INTEGER PRIMARY KEY NOT NULL,"
194 unsigned long long imsi; local
197 imsi = atoll(imsi_txt);
198 os_snprintf(db_tmp_milenage.imsi, sizeof(db_tmp_milenage.imsi),
199 "%llu", imsi);
201 "SELECT ki,opc,amf,sqn FROM milenage WHERE imsi=%llu;",
202 imsi);
371 get_gsm_triplet(const char *imsi) argument
595 get_milenage(const char *imsi) argument
614 sim_req_auth(int s, struct sockaddr_un *from, socklen_t fromlen, char *imsi) argument
714 aka_req_auth(int s, struct sockaddr_un *from, socklen_t fromlen, char *imsi) argument
791 aka_auts(int s, struct sockaddr_un *from, socklen_t fromlen, char *imsi) argument
[all...]
/freebsd-10.2-release/contrib/wpa/wpa_supplicant/
H A Dinterworking.c129 if (cred->pcsc || cred->imsi)
141 if (cred->pcsc || cred->imsi)
157 if (cred->domain || cred->pcsc || cred->imsi)
605 static int plmn_id_match(struct wpabuf *anqp, const char *imsi, int mnc_len) argument
612 plmn[0] = (imsi[0] - '0') | ((imsi[1] - '0') << 4);
613 plmn[1] = imsi[2] - '0';
616 plmn[1] |= (imsi[5] - '0') << 4;
619 plmn[2] = (imsi[3] - '0') | ((imsi[
668 build_root_nai(char *nai, size_t nai_len, const char *imsi, size_t mnc_len, char prefix) argument
724 set_root_nai(struct wpa_ssid *ssid, const char *imsi, char prefix) argument
766 const char *imsi; local
1354 const char *imsi; local
1500 char *imsi = NULL; local
[all...]
H A Deapol_test.c869 char imsi[20]; local
905 len = sizeof(imsi);
906 if (scard_get_imsi(scard, imsi, &len))
908 wpa_hexdump_ascii(MSG_DEBUG, "SCARD: IMSI", (u8 *) imsi, len);
931 printf("%c", imsi[j]);
978 char imsi[20]; local
1007 len = sizeof(imsi);
1008 if (scard_get_imsi(scard, imsi, &len)) {
1020 printf("%c", imsi[j]);
H A Dconfig.h141 * imsi - IMSI in <MCC> | <MNC> | '-' | <MSIN> format
143 char *imsi; member in struct:wpa_cred
H A Dwpa_supplicant_i.h393 char imsi[20]; member in struct:wpa_supplicant
H A Dconfig_file.c723 if (cred->imsi)
724 fprintf(f, "\timsi=\"%s\"\n", cred->imsi);
H A Dconfig.c1833 os_free(cred->imsi);
2373 if (os_strcmp(var, "imsi") == 0) {
2374 os_free(cred->imsi);
2375 cred->imsi = val;
H A Dwpa_supplicant.c2683 len = sizeof(wpa_s->imsi) - 1;
2684 if (scard_get_imsi(wpa_s->scard, wpa_s->imsi, &len)) {
2690 wpa_s->imsi[len] = '\0';
2695 wpa_s->imsi, wpa_s->mnc_len);
H A Dctrl_iface.c2319 "cred id / realm / username / domain / imsi\n");
2330 cred->imsi ? cred->imsi : "");
/freebsd-10.2-release/contrib/wpa/src/eap_server/
H A Deap_sim_db.c38 char imsi[20]; member in struct:eap_sim_db_pending
373 eap_sim_db_get_pending(struct eap_sim_db_data *data, const char *imsi, int aka) argument
379 if (entry->aka == aka && os_strcmp(entry->imsi, imsi) == 0) {
402 const char *imsi, char *buf)
414 entry = eap_sim_db_get_pending(data, imsi, 0);
481 const char *imsi, char *buf)
492 entry = eap_sim_db_get_pending(data, imsi, 1);
574 char buf[1000], *pos, *cmd, *imsi; local
601 imsi
401 eap_sim_db_sim_resp_auth(struct eap_sim_db_data *data, const char *imsi, char *buf) argument
480 eap_sim_db_aka_resp_auth(struct eap_sim_db_data *data, const char *imsi, char *buf) argument
867 const char *imsi; local
1333 const char *imsi; local
1425 const char *imsi; local
[all...]
/freebsd-10.2-release/contrib/wpa/src/utils/
H A Dpcsc_funcs.h24 int scard_get_imsi(struct scard_data *scard, char *imsi, size_t *len);
H A Dpcsc_funcs.c1079 * @imsi: Buffer for IMSI
1080 * @len: Length of imsi buffer; set to IMSI length on success
1083 * (USIM only), -4 if IMSI does not fit in the provided imsi buffer (len is set
1090 int scard_get_imsi(struct scard_data *scard, char *imsi, size_t *len) argument
1131 pos = imsi;
/freebsd-10.2-release/contrib/wpa/src/eap_peer/
H A Deap.c920 static int mnc_len_from_imsi(const char *imsi) argument
925 os_memcpy(mcc_str, imsi, 3);
936 static int eap_sm_append_3gpp_realm(struct eap_sm *sm, char *imsi, argument
950 mnc_len = mnc_len_from_imsi(imsi);
959 mnc[1] = imsi[3];
960 mnc[2] = imsi[4];
962 mnc[0] = imsi[3];
963 mnc[1] = imsi[4];
964 mnc[2] = imsi[5];
968 pos = imsi
982 char imsi[100]; local
[all...]

Completed in 81 milliseconds