]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/mifareutil.c
ADD: Started a "collect nonces" concept to be able to analyse the tag generated nonces.
[proxmark3-svn] / armsrc / mifareutil.c
index 8fa5e498062e57f5e5e8795687c36e0c1a0f5a94..987a858cfcb3d5dc0ba3458b35c4ed39decdd331 100644 (file)
@@ -365,9 +365,9 @@ int mifare_classic_writeblock(struct Crypto1State *pcs, uint32_t uid, uint8_t bl
 {\r
        // variables\r
        uint16_t len, i;        \r
-       uint32_t pos;\r
-       uint8_t par[3] = {0};           // enough for 18 Bytes to send\r
-       byte_t res;\r
+       uint32_t pos = 0;\r
+       uint8_t par[3] = {0x00};                // enough for 18 Bytes to send\r
+       byte_t res = 0;\r
        \r
        uint8_t d_block[18], d_block_enc[18];\r
        uint8_t receivedAnswer[MAX_MIFARE_FRAME_SIZE];\r
Impressum, Datenschutz