Lines Matching full:card
33 * P1 = ID of alg in card
112 SCARDHANDLE card;
500 * open connection to the SIM/USIM card. In addition, local flag is set if a
501 * PIN is needed to access some of the card functions. Once the connection is
519 wpa_printf(MSG_DEBUG, "SCARD: initializing smart card interface");
529 wpa_printf(MSG_DEBUG, "SCARD: Could not establish smart card "
557 wpa_printf(MSG_WARNING, "SCARD: No smart card readers "
595 &scard->card, &scard->protocol);
598 wpa_printf(MSG_INFO, "No smart card inserted.");
607 wpa_printf(MSG_DEBUG, "SCARD: card=0x%x active_protocol=%lu (%s)",
608 (unsigned int) scard->card, scard->protocol,
611 ret = SCardBeginTransaction(scard->card);
669 /* Verify whether CHV1 (PIN1) is needed to access the card. */
682 ret = SCardEndTransaction(scard->card, SCARD_LEAVE_CARD);
692 SCardEndTransaction(scard->card, SCARD_LEAVE_CARD);
710 /* Verify whether CHV1 (PIN1) is needed to access the card. */
741 wpa_printf(MSG_DEBUG, "SCARD: deinitializing smart card interface");
742 if (scard->card) {
743 ret = SCardDisconnect(scard->card, SCARD_UNPOWER_CARD);
746 "smart card (err=%ld)", ret);
753 wpa_printf(MSG_DEBUG, "Failed to release smart card "
772 ret = SCardTransmit(scard->card,
1077 * scard_get_imsi - Read IMSI from SIM/USIM card
1086 * This function can be used to read IMSI from the SIM/USIM card. If the IMSI
1155 * scard_get_mnc_len - Read length of MNC in the IMSI from SIM/USIM card
1210 * scard_gsm_auth - Run GSM authentication command on SIM card
1220 * This function performs GSM authentication using SIM/USIM card and the
1304 * scard_umts_auth - Run UMTS authentication command on USIM card
1316 * This function performs AKA authentication using USIM card and the provided
1339 wpa_printf(MSG_ERROR, "SCARD: Non-USIM card - cannot do UMTS "