]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - tools/nonce2key/nonce2key.c
Upgrade crapto1 library to v3.3 (#232)
[proxmark3-svn] / tools / nonce2key / nonce2key.c
index cc22ce77cb5a726980ae6fc45a6f73177e459014..b789dca4c748bf22b97c9ea78deb46ca96a8fb1f 100644 (file)
@@ -1,13 +1,13 @@
-#include "crapto1.h"
+#include "crapto1/crapto1.h"
 #include <inttypes.h>
 #include <stdio.h>
 typedef unsigned char byte_t;
 
 int main(const int argc, const char* argv[]) {
   struct Crypto1State *state;
-  uint32_t pos, uid, nt, nr, rr, nr_diff, ks1, ks2;
+  uint32_t pos, uid, nt, nr, rr, nr_diff;
   byte_t bt, i, ks3x[8], par[8][8];
-  uint64_t key, key_recovered;
+  uint64_t key_recovered;
   uint64_t par_info;
   uint64_t ks_info;
   nr = rr = 0;
Impressum, Datenschutz