Lines Matching defs:aid
246 sim_types sim_type, unsigned char *aid,
300 wpa_hexdump(MSG_MSGDUMP, "SCARD: DF name (AID) TLV",
388 static int scard_get_aid(struct scard_data *scard, unsigned char *aid,
453 wpa_printf(MSG_DEBUG, "SCARD: Invalid AID length %d",
458 wpa_hexdump(MSG_DEBUG, "SCARD: AID from EF_DIR record",
476 wpa_printf(MSG_DEBUG, "SCARD: Too long AID");
480 os_memcpy(aid, efdir->rid, efdir->aid_len);
644 unsigned char aid[32];
647 aid_len = scard_get_aid(scard, aid, sizeof(aid));
649 wpa_printf(MSG_DEBUG, "SCARD: Failed to find AID for "
651 os_memcpy(aid, "\xa0\x00\x00\x00\x87", 5);
654 wpa_hexdump(MSG_DEBUG, "SCARD: 3G USIM AID", aid, aid_len);
656 /* Select based on AID = 3G RID from EF_DIR. This is usually
660 aid, aid_len)) {
663 wpa_hexdump(MSG_INFO, "SCARD: 3G USIM AID",
664 aid, aid_len);
791 sim_types sim_type, unsigned char *aid,
808 if (aid) {
809 wpa_hexdump(MSG_DEBUG, "SCARD: select file by AID",
810 aid, aidlen);
813 cmd[2] = 0x04; /* Select by AID */
815 os_memcpy(cmd + 5, aid, aidlen);