]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/nonce2key/crapto1.c
CHG: more struct errors.. my bad,
[proxmark3-svn] / client / nonce2key / crapto1.c
index 9f349e174082b6d45f1efda057dc6261ff943fad..6980909c69d1166707d82602e54e7f34abfaaca9 100644 (file)
@@ -471,14 +471,14 @@ static struct Crypto1State* check_pfx_parity_ex(uint32_t prefix, uint32_t odd, u
        \r
        uint32_t c = 0;\r
 \r
        \r
        uint32_t c = 0;\r
 \r
-       sl.odd = odd ^ fastfwd[1][c];\r
-       sl.even = even ^ fastfwd[0][c];\r
+       sl->odd = odd ^ fastfwd[1][c];\r
+       sl->even = even ^ fastfwd[0][c];\r
        \r
        \r
-       lfsr_rollback_bit(&sl, 0, 0);\r
-       lfsr_rollback_bit(&sl, 0, 0);\r
-       lfsr_rollback_bit(&sl, 0, 0);\r
-       lfsr_rollback_word(&sl, 0, 0);\r
-       lfsr_rollback_word(&sl, prefix | c << 5, 1);\r
+       lfsr_rollback_bit(sl, 0, 0);\r
+       lfsr_rollback_bit(sl, 0, 0);\r
+       lfsr_rollback_bit(sl, 0, 0);\r
+       lfsr_rollback_word(sl, 0, 0);\r
+       lfsr_rollback_word(sl, prefix | c << 5, 1);\r
        \r
        return ++sl;\r
 }\r
        \r
        return ++sl;\r
 }\r
Impressum, Datenschutz