Lines Matching defs:card

39  *	P1 = ID of alg in card
94 SCARDHANDLE card;
429 * open connection to the SIM/USIM card and the card is verified to support the
431 * access some of the card functions. Once the connection is not needed
449 wpa_printf(MSG_DEBUG, "SCARD: initializing smart card interface");
459 wpa_printf(MSG_DEBUG, "SCARD: Could not establish smart card "
487 wpa_printf(MSG_WARNING, "SCARD: No smart card readers "
502 SCARD_PROTOCOL_T0, &scard->card, &scard->protocol);
505 wpa_printf(MSG_INFO, "No smart card inserted.");
514 wpa_printf(MSG_DEBUG, "SCARD: card=0x%x active_protocol=%lu (%s)",
515 (unsigned int) scard->card, scard->protocol,
518 ret = SCardBeginTransaction(scard->card);
582 /* Verify whether CHV1 (PIN1) is needed to access the card. */
594 ret = SCardEndTransaction(scard->card, SCARD_LEAVE_CARD);
604 SCardEndTransaction(scard->card, SCARD_LEAVE_CARD);
622 /* Verify whether CHV1 (PIN1) is needed to access the card. */
653 wpa_printf(MSG_DEBUG, "SCARD: deinitializing smart card interface");
654 if (scard->card) {
655 ret = SCardDisconnect(scard->card, SCARD_UNPOWER_CARD);
658 "smart card (err=%ld)", ret);
665 wpa_printf(MSG_DEBUG, "Failed to release smart card "
684 ret = SCardTransmit(scard->card,
949 * scard_get_imsi - Read IMSI from SIM/USIM card
958 * This function can be used to read IMSI from the SIM/USIM card. If the IMSI
1027 * scard_gsm_auth - Run GSM authentication command on SIM card
1037 * This function performs GSM authentication using SIM/USIM card and the
1120 * scard_umts_auth - Run UMTS authentication command on USIM card
1132 * This function performs AKA authentication using USIM card and the provided
1155 wpa_printf(MSG_ERROR, "SCARD: Non-USIM card - cannot do UMTS "