]>
cvs.zerfleddert.de Git - proxmark3-svn/blob - client/emv/emv_tags.h
2 * libopenemv - a library to work with EMV family of smart cards
3 * Copyright (C) 2015 Dmitry Eremin-Solenikov
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
23 # define EMVAC_AC_MASK 0xC0
24 # define EMVAC_AAC 0x00
25 # define EMVAC_TC 0x40
26 # define EMVAC_ARQC 0x80
27 # define EMVAC_CDAREQ 0x10
30 # define EMVCID_ADVICE 0x08
31 # define EMVCID_REASON_MASK 0x07
33 bool emv_tag_dump(const struct tlv
*tlv
, FILE *f
, int level
);