#ifndef __MIFAREUTIL_H\r
#define __MIFAREUTIL_H\r
\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 "parity.h"\r
-//#include "des.h"\r
+#include "des.h"\r
\r
// mifare authentication\r
#define CRYPT_NONE 0\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