]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - common/crapto1/crapto1.c
fix: compile issue on RasPi (http://www.proxmark.org/forum/viewtopic.php?id=4678)
[proxmark3-svn] / common / crapto1 / crapto1.c
index 50ff6e1a86c2143deb52039aba8b9ab90c9dea22..013517310eda970204fe2a25f834f63439fa809b 100644 (file)
@@ -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);
 
        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;
        if(!s || !odd || !even) {
                free(statelist);
                statelist = 0;
Impressum, Datenschutz