From 405944a0ac29df7890eb7b15faad23575a621a46 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sat, 21 Jan 2017 10:31:54 +0100 Subject: [PATCH] CHG: moved to header file --- armsrc/mifareutil.c | 10 ---------- armsrc/mifareutil.h | 12 +++++++++++- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/armsrc/mifareutil.c b/armsrc/mifareutil.c index a9e48781..5dfeeab0 100644 --- a/armsrc/mifareutil.c +++ b/armsrc/mifareutil.c @@ -9,17 +9,7 @@ // Work with mifare cards. //----------------------------------------------------------------------------- -#include "proxmark3.h" -#include "apps.h" -#include "util.h" -#include "string.h" - -#include "iso14443crc.h" -#include "iso14443a.h" -#include "crapto1.h" #include "mifareutil.h" -#include "parity.h" -#include "des.h" int MF_DBGLEVEL = MF_DBG_ALL; diff --git a/armsrc/mifareutil.h b/armsrc/mifareutil.h index 775a2036..f59ab806 100644 --- a/armsrc/mifareutil.h +++ b/armsrc/mifareutil.h @@ -8,11 +8,21 @@ //----------------------------------------------------------------------------- // code for work with mifare cards. //----------------------------------------------------------------------------- -#include "crapto1.h" #ifndef __MIFAREUTIL_H #define __MIFAREUTIL_H + +#include "proxmark3.h" +#include "apps.h" +#include "util.h" +#include "string.h" +#include "iso14443crc.h" +#include "iso14443a.h" +#include "crapto1.h" +#include "parity.h" +//#include "des.h" + // mifare authentication #define CRYPT_NONE 0 #define CRYPT_ALL 1 -- 2.39.5