/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
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 …]
|
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);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
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 …]
|
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);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
D | eapol_test.c | 592 ctx->scard_ctx = wpa_s->scard; in test_eapol() 644 eapol_sm_register_scard_ctx(wpa_s->eapol, wpa_s->scard); in test_eapol() 676 scard_deinit(wpa_s->scard); in test_eapol_clean() 1064 struct scard_data *scard; in scard_test() local 1093 scard = scard_init(e->pcsc_reader); in scard_test() 1094 if (scard == NULL) in scard_test() 1096 if (scard_set_pin(scard, e->pcsc_pin)) { in scard_test() 1098 scard_deinit(scard); in scard_test() 1103 if (scard_get_imsi(scard, imsi, &len)) in scard_test() 1109 scard_get_mnc_len(scard)); in scard_test() [all …]
|
D | interworking.c | 1012 if (cred->pcsc && wpa_s->scard && scard_supports_umts(wpa_s->scard)) in interworking_connect_3gpp() 1911 if (scard_get_imsi(wpa_s->scard, wpa_s->imsi, &len)) { in interworking_pcsc_read_imsi() 1912 scard_deinit(wpa_s->scard); in interworking_pcsc_read_imsi() 1913 wpa_s->scard = NULL; in interworking_pcsc_read_imsi() 1918 wpa_s->mnc_len = scard_get_mnc_len(wpa_s->scard); in interworking_pcsc_read_imsi() 1972 if (cred->pcsc && wpa_s->scard) { in interworking_credentials_available_3gpp() 2241 else if (cred->pcsc && wpa_s->scard) { in interworking_home_sp_cred()
|
D | preauth_test.c | 186 scard_deinit(wpa_s->scard); in test_eapol_clean()
|
D | wpa_supplicant.c | 486 scard_deinit(wpa_s->scard); in wpa_supplicant_cleanup() 487 wpa_s->scard = NULL; in wpa_supplicant_cleanup() 4877 wpa_s->scard = scard_init(wpa_s->conf->pcsc_reader); 4878 if (!wpa_s->scard) 4882 scard_set_pin(wpa_s->scard, wpa_s->conf->pcsc_pin) < 0) { 4883 scard_deinit(wpa_s->scard); 4884 wpa_s->scard = NULL; 4890 if (scard_get_imsi(wpa_s->scard, wpa_s->imsi, &len)) { 4891 scard_deinit(wpa_s->scard); 4892 wpa_s->scard = NULL; [all …]
|
D | todo.txt | 5 authentication has been completed (cache scard data based on serial#(?)
|
D | events.c | 425 wpa_s->scard != NULL || wpa_s->conf->external_sim) in wpa_supplicant_scard_init() 463 wpa_s->scard = scard_init(wpa_s->conf->pcsc_reader); in wpa_supplicant_scard_init() 464 if (wpa_s->scard == NULL) { in wpa_supplicant_scard_init() 469 wpa_sm_set_scard_ctx(wpa_s->wpa, wpa_s->scard); in wpa_supplicant_scard_init() 470 eapol_sm_register_scard_ctx(wpa_s->eapol, wpa_s->scard); in wpa_supplicant_scard_init()
|
D | wpa_supplicant_i.h | 617 struct scard_data *scard; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
D | eapol_test.c | 592 ctx->scard_ctx = wpa_s->scard; in test_eapol() 644 eapol_sm_register_scard_ctx(wpa_s->eapol, wpa_s->scard); in test_eapol() 676 scard_deinit(wpa_s->scard); in test_eapol_clean() 1063 struct scard_data *scard; in scard_test() local 1092 scard = scard_init(e->pcsc_reader); in scard_test() 1093 if (scard == NULL) in scard_test() 1095 if (scard_set_pin(scard, e->pcsc_pin)) { in scard_test() 1097 scard_deinit(scard); in scard_test() 1102 if (scard_get_imsi(scard, imsi, &len)) in scard_test() 1108 scard_get_mnc_len(scard)); in scard_test() [all …]
|
D | interworking.c | 1018 if (cred->pcsc && wpa_s->scard && scard_supports_umts(wpa_s->scard)) in interworking_connect_3gpp() 1939 if (scard_get_imsi(wpa_s->scard, wpa_s->imsi, &len)) { in interworking_pcsc_read_imsi() 1940 scard_deinit(wpa_s->scard); in interworking_pcsc_read_imsi() 1941 wpa_s->scard = NULL; in interworking_pcsc_read_imsi() 1946 wpa_s->mnc_len = scard_get_mnc_len(wpa_s->scard); in interworking_pcsc_read_imsi() 2000 if (cred->pcsc && wpa_s->scard) { in interworking_credentials_available_3gpp() 2269 else if (cred->pcsc && wpa_s->scard) { in interworking_home_sp_cred()
|
D | preauth_test.c | 195 scard_deinit(wpa_s->scard); in test_eapol_clean()
|
D | todo.txt | 5 authentication has been completed (cache scard data based on serial#(?)
|
D | wpa_supplicant.c | 532 scard_deinit(wpa_s->scard); in wpa_supplicant_cleanup() 533 wpa_s->scard = NULL; in wpa_supplicant_cleanup() 5797 wpa_s->scard = scard_init(wpa_s->conf->pcsc_reader); 5798 if (!wpa_s->scard) 5802 scard_set_pin(wpa_s->scard, wpa_s->conf->pcsc_pin) < 0) { 5803 scard_deinit(wpa_s->scard); 5804 wpa_s->scard = NULL; 5810 if (scard_get_imsi(wpa_s->scard, wpa_s->imsi, &len)) { 5811 scard_deinit(wpa_s->scard); 5812 wpa_s->scard = NULL; [all …]
|
D | events.c | 446 wpa_s->scard != NULL || wpa_s->conf->external_sim) in wpa_supplicant_scard_init() 484 wpa_s->scard = scard_init(wpa_s->conf->pcsc_reader); in wpa_supplicant_scard_init() 485 if (wpa_s->scard == NULL) { in wpa_supplicant_scard_init() 490 wpa_sm_set_scard_ctx(wpa_s->wpa, wpa_s->scard); in wpa_supplicant_scard_init() 491 eapol_sm_register_scard_ctx(wpa_s->eapol, wpa_s->scard); in wpa_supplicant_scard_init()
|
D | wpa_supplicant_i.h | 827 struct scard_data *scard; member
|
/third_party/alsa-lib/src/control/ |
D | namehint.c | 516 char scard[16], *s; in get_card_name() local 524 sprintf(scard, " #%i", card); in get_card_name() 525 s = realloc(list->cardname, strlen(list->cardname) + strlen(scard) + 1); in get_card_name()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/doc/docbook/ |
D | eapol_test.sgml | 31 <command>eapol_test scard</command>
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/doc/docbook/ |
D | eapol_test.sgml | 35 <command>eapol_test scard</command>
|