X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/05e07571a43131cb8f6685a2638fa0e36f557c84..aacb96d7ed1723663fddd4e2611c22c971442cbd:/client/nonce2key/crypto1.c diff --git a/client/nonce2key/crypto1.c b/client/nonce2key/crypto1.c index ba297b8d..268d55a0 100644 --- a/client/nonce2key/crypto1.c +++ b/client/nonce2key/crypto1.c @@ -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) {