]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - tools/mfkey/mfkey.c
Finally, rewrote bootrom and flasher program, much faster now
[proxmark3-svn] / tools / mfkey / mfkey.c
index 356517175f8408dc7c70f3b3dab028deb8eb8437..71e35589e07dcd33abc5a4d0b0fef435c7815350 100755 (executable)
@@ -60,6 +60,7 @@ int main (int argc, char *argv[]) {
   lfsr_rollback_word(revstate, uid ^ nt, 0);
   crypto1_get_lfsr(revstate, &lfsr);
   printf("\nFound Key: [%02x %02x %02x %02x %02x %02x]\n\n",plfsr[5],plfsr[4],plfsr[3],plfsr[2],plfsr[1],plfsr[0]);
   lfsr_rollback_word(revstate, uid ^ nt, 0);
   crypto1_get_lfsr(revstate, &lfsr);
   printf("\nFound Key: [%02x %02x %02x %02x %02x %02x]\n\n",plfsr[5],plfsr[4],plfsr[3],plfsr[2],plfsr[1],plfsr[0]);
+  crypto1_destroy(revstate);
 
   return 0;
 }
 
   return 0;
 }
Impressum, Datenschutz