]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhfmfu.c
Some more nasty bugs fixed in the lf t55xx manchester_decode method.
[proxmark3-svn] / client / cmdhfmfu.c
index 72eb8895fc84402e1f3fb83fb362737a3d7c43c9..afe54bb4072fb8e89a6b6732cd2360a830c18b38 100644 (file)
@@ -471,10 +471,13 @@ int CmdHF14AMfucAuth(const char *Cmd){
     unsigned char RndARndB[16] = {0x00};
     uint8_t key[16] = {0x00};
     DES_cblock RndA, RndB;
-    DES_cblock iv[8] = {0x00};
+    DES_cblock iv;
     DES_key_schedule ks1,ks2;
     DES_cblock key1,key2;
 
+       // 
+       memset(iv, 0, 8);
+       
     if (strlen(Cmd)<1) {
         PrintAndLog("Usage:  hf mfu auth k <key number>");
         PrintAndLog("        sample: hf mfu auth k 0");
Impressum, Datenschutz