Searched refs:scard (Results 1 – 11 of 11) sorted by relevance
/freebsd/contrib/wpa/src/utils/ |
H A D | pcsc_funcs.c | 252 static int _scard_select_file(struct scard_data *scard, unsigned short file_id, 256 static int scard_select_file(struct scard_data *scard, unsigned short file_id, 258 static int scard_verify_pin(struct scard_data *scard, const char *pin); 259 static int scard_get_record_len(struct scard_data *scard, 261 static int scard_read_record(struct scard_data *scard, 376 static int scard_pin_needed(struct scard_data *scard, in scard_pin_needed() argument 379 if (scard->sim_type == SCARD_GSM_SIM) { in scard_pin_needed() 386 if (scard->sim_type == SCARD_USIM) { in scard_pin_needed() 401 static int scard_get_aid(struct scard_data *scard, unsigned char *aid, in scard_get_aid() argument 420 if (scard_select_file(scard, SCARD_FILE_EF_DIR, buf, &blen)) { in scard_get_aid() [all …]
|
H A 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);
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A 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() 684 scard_deinit(wpa_s->scard); in test_eapol_clean() 1094 struct scard_data *scard; in scard_test() local 1123 scard = scard_init(e->pcsc_reader); in scard_test() 1124 if (scard == NULL) in scard_test() 1126 if (scard_set_pin(scard, e->pcsc_pin)) { in scard_test() 1128 scard_deinit(scard); in scard_test() 1133 if (scard_get_imsi(scard, imsi, &len)) in scard_test() 1139 scard_get_mnc_len(scard)); in scard_test() [all …]
|
H A D | interworking.c | 1023 if (cred->pcsc && wpa_s->scard && scard_supports_umts(wpa_s->scard)) in interworking_connect_3gpp() 1972 if (scard_get_imsi(wpa_s->scard, wpa_s->imsi, &len)) { in interworking_pcsc_read_imsi() 1973 scard_deinit(wpa_s->scard); in interworking_pcsc_read_imsi() 1974 wpa_s->scard = NULL; in interworking_pcsc_read_imsi() 1979 wpa_s->mnc_len = scard_get_mnc_len(wpa_s->scard); in interworking_pcsc_read_imsi() 2033 if (cred->pcsc && wpa_s->scard) { in interworking_credentials_available_3gpp() 2302 else if (cred->pcsc && wpa_s->scard) { in interworking_home_sp_cred()
|
H A D | preauth_test.c | 196 scard_deinit(wpa_s->scard); in test_eapol_clean()
|
H A D | todo.txt | 5 authentication has been completed (cache scard data based on serial#(?)
|
H A D | wpa_supplicant.c | 534 scard_deinit(wpa_s->scard); in wpa_supplicant_cleanup() 535 wpa_s->scard = NULL; in wpa_supplicant_cleanup() 6401 wpa_s->scard = scard_init(wpa_s->conf->pcsc_reader); in pcsc_reader_init() 6402 if (!wpa_s->scard) in pcsc_reader_init() 6406 scard_set_pin(wpa_s->scard, wpa_s->conf->pcsc_pin) < 0) { in pcsc_reader_init() 6407 scard_deinit(wpa_s->scard); in pcsc_reader_init() 6408 wpa_s->scard = NULL; in pcsc_reader_init() 6414 if (scard_get_imsi(wpa_s->scard, wpa_s->imsi, &len)) { in pcsc_reader_init() 6415 scard_deinit(wpa_s->scard); in pcsc_reader_init() 6416 wpa_s->scard = NULL; in pcsc_reader_init() [all …]
|
H A D | events.c | 536 wpa_s->scard != NULL || wpa_s->conf->external_sim) in wpa_supplicant_scard_init() 574 wpa_s->scard = scard_init(wpa_s->conf->pcsc_reader); in wpa_supplicant_scard_init() 575 if (wpa_s->scard == NULL) { in wpa_supplicant_scard_init() 580 wpa_sm_set_scard_ctx(wpa_s->wpa, wpa_s->scard); in wpa_supplicant_scard_init() 581 eapol_sm_register_scard_ctx(wpa_s->eapol, wpa_s->scard); in wpa_supplicant_scard_init()
|
H A D | wpa_supplicant_i.h | 832 struct scard_data *scard; member
|
/freebsd/crypto/openssh/contrib/redhat/ |
H A D | openssh.spec | 21 %global scard 0 70 %{?smartcard:%global scard 1} 220 %if %{scard} 290 %if ! %{scard} 369 %if %{scard}
|
/freebsd/contrib/wpa/wpa_supplicant/doc/docbook/ |
H A D | eapol_test.sgml | 35 <command>eapol_test scard</command>
|