Home | History | Annotate | Download | only in examples

Lines Matching defs:apdu

27 /* APDU: CLA INS P1-P2 Lc Data Le */
28 struct Apdu {
37 const struct Apdu *apdus[];
42 const struct Apdu kSelectCardManager = {
49 const struct Apdu kGetCplc = {
73 const struct Apdu kSelectJcopIdentify = {
101 const struct Apdu *apdu = kSessions[s]->apdus[apdu_index];
102 printf("Sending APDU %u: %s\n", apdu_index, apdu->desc);
103 printf("Sending %u bytes to card\n", apdu->length);
105 for (i = 0; i < apdu->length; ++i)
106 printf("%.2X ", apdu->bytes[i]);
109 recvd = ese_transceive(&ese, (uint8_t *)apdu->bytes, apdu->length, rx_buf,