proxmark3/armsrc/emvcmd.h
iceman1001 53d5dc643f CHG: fiddled with the headerfiles... and makefile... Tried to make them behave nice. So it isnt a hell to add new functions from third-party (like des, aes etc)
Added a lot of #ifndef ,   extern C,
Move inside from ARMSRC -> THUMBS,  which made the compiled image smaller.. I don't know if it broke anything.
Moved MF_DBGLEVEL definitions into common.h
Moved print_result from util.c into appmain.c
Also split up some struct typedef  into header files so they could be reused in other code places.

''' danger '''  this might have broken stuff...
2017-01-25 00:33:03 +01:00

36 lines
991 B
C

//------------------------------------------------------------------------------
// Peter Fillmore -2012
// Based off MIFARECMD code
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
// at your option, any later version. See the LICENSE.txt file for the text of
// the license.
//-----------------------------------------------------------------------------
// Routines to support EMV Transactions.
//-----------------------------------------------------------------------------
#ifndef __EMVCMD_H
#define __EMVCMD_H
#include "proxmark3.h"
#include "common.h"
#include "apps.h"
#include "util.h"
#include "string.h"
#include "iso14443crc.h"
#include "iso14443a.h"
#include "mifare.h"
#include "emvcmd.h"
#include "emvutil.h"
#include "emvdataels.h"
#include "emvcard.h"
#define VISA_DCVV 0
#define VISA_CVN17 1
#define VISA_FDDA 2
#define VISA_EMV 3
#define MASTERCARD_MSR 0
#define MASTERCARD_MCHIP 1
#endif