]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhfmfdesfire.c
CHG: syntax suger,
[proxmark3-svn] / client / cmdhfmfdesfire.c
index 576792d0297fb10814dd36b9191223f24dc503d5..5eada6e9f1df8f175e9ba77f77a5aa24c5a744be 100644 (file)
@@ -33,8 +33,8 @@ int CmdHF14AMfDESAuth(const char *Cmd){
         
     uint8_t blockNo = 0;
     //keyNo=0;
         
     uint8_t blockNo = 0;
     //keyNo=0;
-    uint32_t cuid=0;
-    uint8_t reply[16];
+    uint32_t cuid = 0;
+    uint8_t reply[16] = {0x00};
     //DES_cblock r1_b1;
     uint8_t b1[8]={ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
     uint8_t b2[8]={ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
     //DES_cblock r1_b1;
     uint8_t b1[8]={ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
     uint8_t b2[8]={ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
@@ -126,8 +126,8 @@ int CmdHF14AMfAESAuth(const char *Cmd){
         
     uint8_t blockNo = 0;
     //keyNo=0;
         
     uint8_t blockNo = 0;
     //keyNo=0;
-    uint32_t cuid=0;
-    uint8_t reply[32];
+    uint32_t cuid = 0;
+    uint8_t reply[32] = {0x00};
     //DES_cblock r1_b1;
     //unsigned char * b1, b2, nr, b0, r0, r1;
     
     //DES_cblock r1_b1;
     //unsigned char * b1, b2, nr, b0, r0, r1;
     
Impressum, Datenschutz