Lines Matching defs:card

33  *	P1 = ID of alg in card
112 SCARDHANDLE card;
493 * open connection to the SIM/USIM card and the card is verified to support the
495 * access some of the card functions. Once the connection is not needed
513 wpa_printf(MSG_DEBUG, "SCARD: initializing smart card interface");
523 wpa_printf(MSG_DEBUG, "SCARD: Could not establish smart card "
551 wpa_printf(MSG_WARNING, "SCARD: No smart card readers "
589 &scard->card, &scard->protocol);
592 wpa_printf(MSG_INFO, "No smart card inserted.");
601 wpa_printf(MSG_DEBUG, "SCARD: card=0x%x active_protocol=%lu (%s)",
602 (unsigned int) scard->card, scard->protocol,
605 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
1303 * scard_umts_auth - Run UMTS authentication command on USIM card
1315 * This function performs AKA authentication using USIM card and the provided
1338 wpa_printf(MSG_ERROR, "SCARD: Non-USIM card - cannot do UMTS "