Lines Matching defs:card

37  *	P1 = ID of alg in card
116 SCARDHANDLE card;
508 * open connection to the SIM/USIM card. In addition, local flag is set if a
509 * PIN is needed to access some of the card functions. Once the connection is
532 wpa_printf(MSG_DEBUG, "SCARD: initializing smart card interface");
542 wpa_printf(MSG_DEBUG, "SCARD: Could not establish smart card "
570 wpa_printf(MSG_WARNING, "SCARD: No smart card readers "
608 &scard->card, &scard->protocol);
611 wpa_printf(MSG_INFO, "No smart card inserted.");
620 wpa_printf(MSG_DEBUG, "SCARD: card=0x%x active_protocol=%lu (%s)",
621 (unsigned int) scard->card, (unsigned long) scard->protocol,
624 ret = SCardBeginTransaction(scard->card);
682 /* Verify whether CHV1 (PIN1) is needed to access the card. */
695 ret = SCardEndTransaction(scard->card, SCARD_LEAVE_CARD);
705 SCardEndTransaction(scard->card, SCARD_LEAVE_CARD);
723 /* Verify whether CHV1 (PIN1) is needed to access the card. */
754 wpa_printf(MSG_DEBUG, "SCARD: deinitializing smart card interface");
755 if (scard->card) {
756 ret = SCardDisconnect(scard->card, SCARD_UNPOWER_CARD);
759 "smart card (err=%ld)", ret);
766 wpa_printf(MSG_DEBUG, "Failed to release smart card "
789 ret = SCardTransmit(scard->card,
1094 * scard_get_imsi - Read IMSI from SIM/USIM card
1103 * This function can be used to read IMSI from the SIM/USIM card. If the IMSI
1172 * scard_get_mnc_len - Read length of MNC in the IMSI from SIM/USIM card
1227 * scard_gsm_auth - Run GSM authentication command on SIM card
1237 * This function performs GSM authentication using SIM/USIM card and the
1321 * scard_umts_auth - Run UMTS authentication command on USIM card
1333 * This function performs AKA authentication using USIM card and the provided
1356 wpa_printf(MSG_ERROR, "SCARD: Non-USIM card - cannot do UMTS "