X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/fecfd86d3ddade989dd7bba8899c520e5a4faa95..a749b1e58b3e2739460a982ca180d79012ab62c8:/tools/mfkey/mfkey32.c?ds=sidebyside diff --git a/tools/mfkey/mfkey32.c b/tools/mfkey/mfkey32.c index 4ab4bad4..1f7747b5 100755 --- a/tools/mfkey/mfkey32.c +++ b/tools/mfkey/mfkey32.c @@ -3,13 +3,14 @@ #include #include #include "crapto1/crapto1.h" -#include "mfkey.h" -#include "util.h" +#include "mifare/mfkey.h" +#include "util_posix.h" + // 32 bit recover key from 2 nonces int main (int argc, char *argv[]) { - nonces_t data; + nonces_t data = {0}; uint32_t ks2; // keystream used to encrypt reader response uint64_t key; // recovered key