]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/mifareutil.h
nested authentication works ok (tested)
[proxmark3-svn] / armsrc / mifareutil.h
index ed2779fcd2f1f6995d3057b20ed94da20f281a0d..a75d0d326ba0f9c78fc96487e578c02feb08ce3d 100644 (file)
@@ -9,6 +9,12 @@
 // code for work with mifare cards.\r
 //-----------------------------------------------------------------------------\r
 \r
+#define CRYPT_NONE    0\r
+#define CRYPT_ALL     1\r
+#define CRYPT_REQUEST 2\r
+#define AUTH_FIRST    0\r
+#define AUTH_NESTED   2\r
+\r
 int mifare_classic_auth(struct Crypto1State *pcs, uint32_t uid, \\r
                         uint8_t blockNo, uint8_t keyType, uint64_t ui64Key, uint64_t isNested);\r
 int mifare_classic_readblock(struct Crypto1State *pcs, uint32_t uid, uint8_t blockNo, uint8_t *blockData); \r
Impressum, Datenschutz