/external/wpa_supplicant_6/wpa_supplicant/src/hlr_auc_gw/ |
hlr_auc_gw.c | 24 * SIM-REQ-AUTH <IMSI> <max_chal> 25 * SIM-RESP-AUTH <IMSI> Kc1:SRES1:RAND1 Kc2:SRES2:RAND2 [Kc3:SRES3:RAND3] 26 * SIM-RESP-AUTH <IMSI> FAILURE 29 * AKA-REQ-AUTH <IMSI> 30 * AKA-RESP-AUTH <IMSI> <RAND> <AUTN> <IK> <CK> <RES> 31 * AKA-RESP-AUTH <IMSI> FAILURE 34 * AKA-AUTS <IMSI> <AUTS> <RAND> 36 * IMSI and max_chal are sent as an ASCII string, 40 * text file in IMSI:Kc:SRES:RAND format, IMSI in ASCII, other fields as he 59 char imsi[20]; member in struct:gsm_triplet 70 char imsi[20]; member in struct:milenage_parameters [all...] |
/external/wpa_supplicant_8/hostapd/ |
hlr_auc_gw.c | 18 * SIM-REQ-AUTH <IMSI> <max_chal> 19 * SIM-RESP-AUTH <IMSI> Kc1:SRES1:RAND1 Kc2:SRES2:RAND2 [Kc3:SRES3:RAND3] 20 * SIM-RESP-AUTH <IMSI> FAILURE 23 * AKA-REQ-AUTH <IMSI> 24 * AKA-RESP-AUTH <IMSI> <RAND> <AUTN> <IK> <CK> <RES> 25 * AKA-RESP-AUTH <IMSI> FAILURE 28 * AKA-AUTS <IMSI> <AUTS> <RAND> 30 * IMSI and max_chal are sent as an ASCII string, 34 * text file in IMSI:Kc:SRES:RAND format, IMSI in ASCII, other fields as he 65 char imsi[20]; member in struct:gsm_triplet 76 char imsi[20]; member in struct:milenage_parameters 194 unsigned long long imsi; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
interworking.c | 128 if (cred->pcsc || cred->imsi) 140 if (cred->pcsc || cred->imsi) 156 if (cred->domain || cred->pcsc || cred->imsi) 590 static int plmn_id_match(struct wpabuf *anqp, const char *imsi, int mnc_len) 597 plmn[0] = (imsi[0] - '0') | ((imsi[1] - '0') << 4); 598 plmn[1] = imsi[2] - '0'; 601 plmn[1] |= (imsi[5] - '0') << 4; 604 plmn[2] = (imsi[3] - '0') | ((imsi[4] - '0') << 4) 748 const char *imsi; local 1292 const char *imsi; local 1440 char *imsi = NULL; local [all...] |
eapol_test.c | 869 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); 909 /* NOTE: Permanent Username: 1 | IMSI */ 931 printf("%c", imsi[j]); 978 char imsi[20]; local 1007 len = sizeof(imsi); 1008 if (scard_get_imsi(scard, imsi, &len)) [all...] |
config.h | 141 * imsi - IMSI in <MCC> | <MNC> | '-' | <MSIN> format 143 char *imsi; member in struct:wpa_cred
|
wpa_supplicant_i.h | 380 char imsi[20]; member in struct:wpa_supplicant
|
config_file.c | 710 if (cred->imsi) 711 fprintf(f, "\timsi=\"%s\"\n", cred->imsi);
|
config.c | [all...] |
wpa_supplicant.c | [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_sim_db.c | 38 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) 379 if (entry->aka == aka && os_strcmp(entry->imsi, imsi) == 0) { 402 const char *imsi, char *buf) 409 * SIM-RESP-AUTH <IMSI> Kc(i):SRES(i):RAND(i) ... 410 * SIM-RESP-AUTH <IMSI> FAILURE 411 * (IMSI = ASCII string, Kc/SRES/RAND = hex string) 414 entry = eap_sim_db_get_pending(data, imsi, 0); 481 const char *imsi, char *buf 574 char buf[1000], *pos, *cmd, *imsi; local 867 const char *imsi; local 1333 const char *imsi; local 1425 const char *imsi; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
eap_sim_db.c | 41 u8 imsi[20]; member in struct:eap_sim_db_pending 78 eap_sim_db_get_pending(struct eap_sim_db_data *data, const u8 *imsi, 86 os_memcmp(entry->imsi, imsi, imsi_len) == 0) { 109 const char *imsi, char *buf) 116 * SIM-RESP-AUTH <IMSI> Kc(i):SRES(i):RAND(i) ... 117 * SIM-RESP-AUTH <IMSI> FAILURE 118 * (IMSI = ASCII string, Kc/SRES/RAND = hex string) 121 entry = eap_sim_db_get_pending(data, (u8 *) imsi, os_strlen(imsi), 0) 281 char buf[1000], *pos, *cmd, *imsi; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/utils/ |
pcsc_funcs.h | 49 int scard_get_imsi(struct scard_data *scard, char *imsi, size_t *len);
|
pcsc_funcs.c | 949 * scard_get_imsi - Read IMSI from SIM/USIM card 951 * @imsi: Buffer for IMSI 952 * @len: Length of imsi buffer; set to IMSI length on success 953 * Returns: 0 on success, -1 if IMSI file cannot be selected, -2 if IMSI file 955 * (USIM only), -4 if IMSI does not fit in the provided imsi buffer (len is set 956 * to needed length), -5 if reading IMSI file fails [all...] |
/external/wpa_supplicant_8/src/utils/ |
pcsc_funcs.h | 24 int scard_get_imsi(struct scard_data *scard, char *imsi, size_t *len);
|
pcsc_funcs.c | 1077 * scard_get_imsi - Read IMSI from SIM/USIM card 1079 * @imsi: Buffer for IMSI 1080 * @len: Length of imsi buffer; set to IMSI length on success 1081 * Returns: 0 on success, -1 if IMSI file cannot be selected, -2 if IMSI file 1083 * (USIM only), -4 if IMSI does not fit in the provided imsi buffer (len is set 1084 * to needed length), -5 if reading IMSI file fails [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap.c | 914 * Rules for figuring out MNC length based on IMSI for SIM cards that do not 917 static int mnc_len_from_imsi(const char *imsi) 922 os_memcpy(mcc_str, imsi, 3); 933 static int eap_sm_append_3gpp_realm(struct eap_sm *sm, char *imsi, 940 wpa_printf(MSG_WARNING, "No room for realm in IMSI buffer"); 947 mnc_len = mnc_len_from_imsi(imsi); 956 mnc[1] = imsi[3]; 957 mnc[2] = imsi[4]; 959 mnc[0] = imsi[3]; 960 mnc[1] = imsi[4] 979 char imsi[100]; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/ |
eapol_test.c | 792 char imsi[20]; local 828 len = sizeof(imsi); 829 if (scard_get_imsi(scard, imsi, &len)) 831 wpa_hexdump_ascii(MSG_DEBUG, "SCARD: IMSI", (u8 *) imsi, len); 832 /* NOTE: Permanent Username: 1 | IMSI */ 851 printf("%c", imsi[j]); 898 char imsi[20]; local 927 len = sizeof(imsi); 928 if (scard_get_imsi(scard, imsi, &len)) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
IccRecords.java | 192 * Get the International Mobile Subscriber ID (IMSI) on a SIM 193 * for GSM, UMTS and like networks. Default is null if IMSI is 203 * Imsi could be set by ServiceStateTrackers in case of cdma 204 * @param imsi 206 public void setImsi(String imsi) { 207 this.mImsi = imsi;
|
/packages/apps/Phone/src/com/android/phone/ |
MobileNetworkSettings.java | 184 String imsi = tm.getSubscriberId(); local 185 if (imsi == null) { 186 imsi = ""; 189 : TextUtils.expandTemplate(tmpl, imsi).toString();
|
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
DeviceInfoInstrument.java | 110 // imsi 111 String imsi = tm.getSubscriberId(); local 112 addResult(IMSI, imsi);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
RuimRecords.java | 452 loge("Exception querying IMSI, Exception:" + ar.exception); 458 // IMSI (MCC+MNC+MSIN) is at least 6 digits, but not more 461 loge("invalid IMSI " + mImsi); 465 log("IMSI: " + mImsi.substring(0, 6) + "xxxxxxxxx"); 583 String imsi = getIMSI(); local 585 if (imsi != null) { 587 Integer.parseInt(imsi.substring(0,3)));
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
eap.c | 875 char imsi[100]; local 880 imsi_len = sizeof(imsi); 881 if (scard_get_imsi(sm->scard_ctx, imsi, &imsi_len)) { 882 wpa_printf(MSG_WARNING, "Failed to get IMSI from SIM"); 886 wpa_hexdump_ascii(MSG_DEBUG, "IMSI", (u8 *) imsi, imsi_len); 901 "IMSI-based identity"); 906 os_memcpy(conf->identity + 1, imsi, imsi_len); 1000 "IMSI", identity, identity_len); [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
GSMPhone.java | 105 // Key used to read/write the SIM IMSI used for storing the voice mail 811 private void setVmSimImsi(String imsi) { 814 editor.putString(VM_SIM_IMSI, imsi); 1186 String imsi = getVmSimImsi(); local [all...] |
/frameworks/base/libs/androidfw/ |
ResourceTypes.cpp | [all...] |
/external/chromium/chrome/browser/chromeos/cros/ |
network_library.h | 202 const std::string& imsi() const { return IMSI_; } function in class:chromeos::NetworkDevice [all...] |