/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", 289 wpa_printf(MSG_MSGDUMP, "SCARD: file header TLV 0x%02x len=%d", 298 wpa_hexdump(MSG_MSGDUMP, "SCARD: File Descriptor TLV", 302 wpa_hexdump(MSG_MSGDUMP, "SCARD: File Identifier TLV" 508 struct scard_data *scard; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
eapol_test.c | 596 ctx->scard_ctx = wpa_s->scard; 648 eapol_sm_register_scard_ctx(wpa_s->eapol, wpa_s->scard); 680 scard_deinit(wpa_s->scard); 1067 struct scard_data *scard; local 1096 scard = scard_init(e->pcsc_reader); 1097 if (scard == NULL) 1099 if (scard_set_pin(scard, e->pcsc_pin)) { 1101 scard_deinit(scard); 1106 if (scard_get_imsi(scard, imsi, &len)) 1108 wpa_hexdump_ascii(MSG_DEBUG, "SCARD: IMSI", (u8 *) imsi, len) 1176 struct scard_data *scard; local [all...] |
preauth_test.c | 183 scard_deinit(wpa_s->scard);
|
interworking.c | 1007 if (cred->pcsc && wpa_s->scard && scard_supports_umts(wpa_s->scard)) [all...] |
wpa_supplicant.c | 422 scard_deinit(wpa_s->scard); 423 wpa_s->scard = NULL; [all...] |
events.c | 396 wpa_s->scard != NULL || wpa_s->conf->external_sim) 434 wpa_s->scard = scard_init(wpa_s->conf->pcsc_reader); 435 if (wpa_s->scard == NULL) { 440 wpa_sm_set_scard_ctx(wpa_s->wpa, wpa_s->scard); 441 eapol_sm_register_scard_ctx(wpa_s->eapol, wpa_s->scard); [all...] |
wpa_supplicant_i.h | 587 struct scard_data *scard; member in struct:wpa_supplicant [all...] |