]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/nonce2key/nonce2key.h
MAJOR update, added hitag2 reader, emulation and eavesdropping, lots of new code...
[proxmark3-svn] / client / nonce2key / nonce2key.h
index dd0701465d65ca386de718f8d76325215e84014a..0f577cf862e038d3cd67222c7ca7a784ebfd5acb 100644 (file)
 // MIFARE Darkside hack
 //-----------------------------------------------------------------------------
 
-#include "crapto1.h"
+#ifndef __NONCE2KEY_H
+#define __NONCE2KEY_H
+
 #include <inttypes.h>
 #include <stdio.h>
+#include "crapto1.h"
+#include "common.h"
 
-typedef unsigned char byte_t;
+int nonce2key(uint32_t uid, uint32_t nt, uint64_t par_info, uint64_t ks_info, uint64_t * key); 
 
-int nonce2key(uint32_t uid, uint32_t nt, uint64_t par_info, uint64_t ks_info, uint64_t * key); 
\ No newline at end of file
+#endif
Impressum, Datenschutz