]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/emvdataels.c
chg: clock marking for ask/fsk/psk, using @marshmellow42 's addition to get starti...
[proxmark3-svn] / armsrc / emvdataels.c
index 3db9ee78274af31ff0d1430cb869c624729cbad7..48015be4f5f2735f88c801fdc5136e688213692d 100644 (file)
@@ -1,16 +1,7 @@
 // ICEMAN 2017, this file looks similar to emvdataels.h headerfile. 
-
 //Data elements for EMV transactions.
 
-#ifndef __EMVDATAELS_H
-#define __EMVDATAELS_H
 #include "emvdataels.h"
-//Known AIDs
-
-typedef struct{
-uint8_t tag[2];
-char description[255];
-} tagdescription;
 
 const uint8_t AID_VISA[]    =   {0xa0,0x00,0x00,0x00,0x03};
 const uint8_t AID_VISA_DB[] =   {0xa0,0x00,0x00,0x00,0x03,0x10,0x10};
@@ -47,7 +38,7 @@ const uint8_t PIN_BLOCKED[] = {0x69,0x84};
 const uint8_t PIN_BLOCKED2[] = {0x69,0x84};
 const uint8_t PIN_WRONG[] = {0x63};
 
-const tagdescription EMV_TAG_LIST[] = {
+const tagdescription_t EMV_TAG_LIST[62] = {
     {"\x4f\x00","Application Identifier (AID)"},
     {"\x50\x00","Application Label"},
     {"\x57\x00","Track 2 Equivalent Data"},
@@ -111,18 +102,3 @@ const tagdescription EMV_TAG_LIST[] = {
     {"\x9f\x66","card production life cycle"},
     {"\xbf\x0c","file control information (fci) issuer discretionary data"}
 };
-
-//AIP bitmasks details
-#define AIP_CHIP_SUPPORTED 0x80
-#define AIP_MSR_SUPPORTED 0x40
-
-#define AIP_SDA_SUPPORTED 0x40
-#define AIP_DDA_SUPPORTED 0x20
-#define AIP_CARDHOLDER_VERIFICATION 0x10
-#define AIP_TERMINAL_RISK 0x08
-#define AIP_ISSUER_AUTH 0x04
-#define AIP_CDA_SUPPORTED 0x01
-//human readable error messages
-
-#endif //__EMVDATAELS_H
Impressum, Datenschutz