X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/05e07571a43131cb8f6685a2638fa0e36f557c84..1c07ca92c3b9338697a0f2fc0e41790164815aeb:/client/nonce2key/crypto1.c?ds=sidebyside 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) {