/external/wpa_supplicant_8/src/utils/ |
pcsc_funcs.h | 14 void scard_deinit(struct scard_data *scard); 16 int scard_set_pin(struct scard_data *scard, const char *pin); 17 int scard_get_imsi(struct scard_data *scard, char *imsi, size_t *len); 18 int scard_get_mnc_len(struct scard_data *scard); 19 int scard_gsm_auth(struct scard_data *scard, const unsigned char *_rand, 21 int scard_umts_auth(struct scard_data *scard, const unsigned char *_rand, 25 int scard_get_pin_retry_counter(struct scard_data *scard); 26 int scard_supports_umts(struct scard_data *scard);
|
pcsc_funcs.c | 244 static int _scard_select_file(struct scard_data *scard, unsigned short file_id, 248 static int scard_select_file(struct scard_data *scard, unsigned short file_id, 250 static int scard_verify_pin(struct scard_data *scard, const char *pin); 251 static int scard_get_record_len(struct scard_data *scard, 253 static int scard_read_record(struct scard_data *scard, 271 wpa_printf(MSG_DEBUG, "SCARD: file header did not " 281 wpa_hexdump(MSG_DEBUG, "SCARD: file header FSP template", 285 wpa_printf(MSG_MSGDUMP, "SCARD: file header TLV 0x%02x len=%d", 292 wpa_hexdump(MSG_MSGDUMP, "SCARD: File Descriptor TLV", 296 wpa_hexdump(MSG_MSGDUMP, "SCARD: File Identifier TLV" 500 struct scard_data *scard; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
eapol_test.c | 559 ctx->scard_ctx = wpa_s->scard; 591 eapol_sm_register_scard_ctx(wpa_s->eapol, wpa_s->scard); 621 scard_deinit(wpa_s->scard); 962 struct scard_data *scard; local 991 scard = scard_init(e->pcsc_reader); 992 if (scard == NULL) 994 if (scard_set_pin(scard, e->pcsc_pin)) { 996 scard_deinit(scard); 1001 if (scard_get_imsi(scard, imsi, &len)) 1003 wpa_hexdump_ascii(MSG_DEBUG, "SCARD: IMSI", (u8 *) imsi, len) 1071 struct scard_data *scard; local [all...] |
preauth_test.c | 183 scard_deinit(wpa_s->scard);
|
wpa_supplicant.c | 385 scard_deinit(wpa_s->scard); 386 wpa_s->scard = NULL; [all...] |
interworking.c | 949 if (cred->pcsc && wpa_s->scard && scard_supports_umts(wpa_s->scard)) [all...] |
events.c | 315 wpa_s->scard != NULL || wpa_s->conf->external_sim) 353 wpa_s->scard = scard_init(wpa_s->conf->pcsc_reader); 354 if (wpa_s->scard == NULL) { 359 wpa_sm_set_scard_ctx(wpa_s->wpa, wpa_s->scard); 360 eapol_sm_register_scard_ctx(wpa_s->eapol, wpa_s->scard); [all...] |
wpa_supplicant_i.h | 502 struct scard_data *scard; member in struct:wpa_supplicant
|