| 1 | //------------------------------------------------------------------------------ |
| 2 | // Peter Fillmore -2012 |
| 3 | // Based off MIFARECMD code |
| 4 | // This code is licensed to you under the terms of the GNU GPL, version 2 or, |
| 5 | // at your option, any later version. See the LICENSE.txt file for the text of |
| 6 | // the license. |
| 7 | //----------------------------------------------------------------------------- |
| 8 | // Routines to support EMV Transactions. |
| 9 | //----------------------------------------------------------------------------- |
| 10 | |
| 11 | #ifndef __EMVCMD_H |
| 12 | #define __EMVCMD_H |
| 13 | |
| 14 | |
| 15 | #include "proxmark3.h" |
| 16 | #include "common.h" |
| 17 | #include "apps.h" |
| 18 | #include "util.h" |
| 19 | #include "string.h" |
| 20 | #include "iso14443crc.h" |
| 21 | #include "iso14443a.h" |
| 22 | #include "mifare.h" |
| 23 | #include "emvcmd.h" |
| 24 | #include "emvutil.h" |
| 25 | #include "emvdataels.h" |
| 26 | #include "emvcard.h" |
| 27 | |
| 28 | #define VISA_DCVV 0 |
| 29 | #define VISA_CVN17 1 |
| 30 | #define VISA_FDDA 2 |
| 31 | #define VISA_EMV 3 |
| 32 | |
| 33 | #define MASTERCARD_MSR 0 |
| 34 | #define MASTERCARD_MCHIP 1 |
| 35 | #endif |