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...
This commit is contained in:
@@ -11,12 +11,21 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
#ifndef __EMVUTIL_H
|
||||
#define __EMVUTIL_H
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdint.h>
|
||||
#include "iso14443a.h"
|
||||
#include "proxmark3.h"
|
||||
#include "apps.h"
|
||||
#include "tlv.h"
|
||||
#include "emvtags.h"
|
||||
#include "emvdataels.h"
|
||||
#include "util.h"
|
||||
#include "string.h"
|
||||
#include "BigBuf.h"
|
||||
#include "iso14443crc.h"
|
||||
#include "iso14443a.h"
|
||||
#include "emvutil.h"
|
||||
#include "emvdataels.h" //EMV data elements
|
||||
#include "emvtags.h" //EMV card structure
|
||||
|
||||
// mifare 4bit card answers
|
||||
// reader voltage field detector
|
||||
#define EMV_MINFIELDV 4000
|
||||
|
||||
Reference in New Issue
Block a user