X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/de867f502fd3611678d3ed26f69eb6b141f542fc..8c0ccdef357a5a940788cb81730f4847fe47606a:/common/crapto1/crapto1.c?ds=sidebyside diff --git a/common/crapto1/crapto1.c b/common/crapto1/crapto1.c index 50ff6e1a..01351731 100644 --- a/common/crapto1/crapto1.c +++ b/common/crapto1/crapto1.c @@ -509,7 +509,7 @@ lfsr_common_prefix(uint32_t pfx, uint32_t rr, uint8_t ks[8], uint8_t par[8][8], odd = lfsr_prefix_ks(ks, 1); even = lfsr_prefix_ks(ks, 0); - s = statelist = malloc((sizeof *statelist) << 21); // need more for no_par special attack. Enough??? + s = statelist = malloc((sizeof *statelist) << 22); // was << 20. Need more for no_par special attack. Enough??? if(!s || !odd || !even) { free(statelist); statelist = 0;