Searched refs:scard (Results 1 – 10 of 10) sorted by relevance
/external/wpa_supplicant_8/src/utils/ |
D | 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, 368 static int scard_pin_needed(struct scard_data *scard, in scard_pin_needed() argument 371 if (scard->sim_type == SCARD_GSM_SIM) { in scard_pin_needed() 378 if (scard->sim_type == SCARD_USIM) { in scard_pin_needed() 393 static int scard_get_aid(struct scard_data *scard, unsigned char *aid, in scard_get_aid() argument 412 if (scard_select_file(scard, SCARD_FILE_EF_DIR, buf, &blen)) { in scard_get_aid() [all …]
|
D | 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);
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | eapol_test.c | 596 ctx->scard_ctx = wpa_s->scard; in test_eapol() 648 eapol_sm_register_scard_ctx(wpa_s->eapol, wpa_s->scard); in test_eapol() 680 scard_deinit(wpa_s->scard); in test_eapol_clean() 1067 struct scard_data *scard; in scard_test() local 1096 scard = scard_init(e->pcsc_reader); in scard_test() 1097 if (scard == NULL) in scard_test() 1099 if (scard_set_pin(scard, e->pcsc_pin)) { in scard_test() 1101 scard_deinit(scard); in scard_test() 1106 if (scard_get_imsi(scard, imsi, &len)) in scard_test() 1112 scard_get_mnc_len(scard)); in scard_test() [all …]
|
D | interworking.c | 1007 if (cred->pcsc && wpa_s->scard && scard_supports_umts(wpa_s->scard)) in interworking_connect_3gpp() 1869 if (scard_get_imsi(wpa_s->scard, wpa_s->imsi, &len)) { in interworking_pcsc_read_imsi() 1870 scard_deinit(wpa_s->scard); in interworking_pcsc_read_imsi() 1871 wpa_s->scard = NULL; in interworking_pcsc_read_imsi() 1876 wpa_s->mnc_len = scard_get_mnc_len(wpa_s->scard); in interworking_pcsc_read_imsi() 1930 if (cred->pcsc && wpa_s->scard) { in interworking_credentials_available_3gpp() 2199 else if (cred->pcsc && wpa_s->scard) { in interworking_home_sp_cred()
|
D | preauth_test.c | 183 scard_deinit(wpa_s->scard); in test_eapol_clean()
|
D | wpa_supplicant.c | 422 scard_deinit(wpa_s->scard); in wpa_supplicant_cleanup() 423 wpa_s->scard = NULL; in wpa_supplicant_cleanup() 3835 wpa_s->scard = scard_init(wpa_s->conf->pcsc_reader); in pcsc_reader_init() 3836 if (!wpa_s->scard) in pcsc_reader_init() 3840 scard_set_pin(wpa_s->scard, wpa_s->conf->pcsc_pin) < 0) { in pcsc_reader_init() 3841 scard_deinit(wpa_s->scard); in pcsc_reader_init() 3842 wpa_s->scard = NULL; in pcsc_reader_init() 3848 if (scard_get_imsi(wpa_s->scard, wpa_s->imsi, &len)) { in pcsc_reader_init() 3849 scard_deinit(wpa_s->scard); in pcsc_reader_init() 3850 wpa_s->scard = NULL; in pcsc_reader_init() [all …]
|
D | todo.txt | 5 authentication has been completed (cache scard data based on serial#(?)
|
D | events.c | 396 wpa_s->scard != NULL || wpa_s->conf->external_sim) in wpa_supplicant_scard_init() 434 wpa_s->scard = scard_init(wpa_s->conf->pcsc_reader); in wpa_supplicant_scard_init() 435 if (wpa_s->scard == NULL) { in wpa_supplicant_scard_init() 440 wpa_sm_set_scard_ctx(wpa_s->wpa, wpa_s->scard); in wpa_supplicant_scard_init() 441 eapol_sm_register_scard_ctx(wpa_s->eapol, wpa_s->scard); in wpa_supplicant_scard_init()
|
D | wpa_supplicant_i.h | 587 struct scard_data *scard; member
|
/external/wpa_supplicant_8/wpa_supplicant/doc/docbook/ |
D | eapol_test.sgml | 31 <command>eapol_test scard</command>
|