]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/nonce2key/crypto1.c
Merge pull request #50 from micolous/mfkey-gitignore
[proxmark3-svn] / client / nonce2key / crypto1.c
index ba297b8df262a7ff2510b73dd5e8e6b332a74296..268d55a046378291cce7f2a40ca41ab59610b0d7 100644 (file)
@@ -24,7 +24,9 @@ struct Crypto1State * crypto1_create(uint64_t key)
 {
        struct Crypto1State *s = malloc(sizeof(*s));
        if ( !s ) return NULL;
-               
+
+       s->odd = s->even = 0;
+       
        int i;
        //for(i = 47;s && i > 0; i -= 2) {
        for(i = 47; i > 0; i -= 2) {
Impressum, Datenschutz