]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/mifareutil.h
CHG: some minor adjustments.
[proxmark3-svn] / armsrc / mifareutil.h
index 775a203689ef569659aeac8394455f1e10327c28..c07bc579e446cd08b362f4caf3c92884234b7256 100644 (file)
@@ -8,11 +8,21 @@
 //-----------------------------------------------------------------------------\r
 // code for work with mifare cards.\r
 //-----------------------------------------------------------------------------\r
-#include "crapto1.h"\r
 \r
 #ifndef __MIFAREUTIL_H\r
 #define __MIFAREUTIL_H\r
 \r
+#include "proxmark3.h"\r
+#include "apps.h"\r
+#include "parity.h"\r
+#include "util.h"\r
+#include "string.h"\r
+#include "iso14443crc.h"\r
+#include "iso14443a.h"\r
+#include "crapto1.h"\r
+#include "des.h"\r
+#include "random.h"                    // fast_prand, prand\r
+\r
 // mifare authentication\r
 #define CRYPT_NONE    0\r
 #define CRYPT_ALL     1\r
 #define AUTH_FIRST    0        \r
 #define AUTH_NESTED   2\r
 \r
-// reader voltage field detector\r
-#define MF_MINFIELDV      4000\r
-\r
-// debug\r
-// 0 - no debug messages 1 - error messages 2 - all messages 4 - extended debug mode\r
-#define MF_DBG_NONE          0\r
-#define MF_DBG_ERROR         1\r
-#define MF_DBG_ALL           2\r
-#define MF_DBG_EXTENDED      4\r
-\r
-extern int MF_DBGLEVEL;\r
-\r
 //mifare emulator states\r
 #define MFEMUL_NOFIELD      0\r
 #define MFEMUL_IDLE         1\r
Impressum, Datenschutz