]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
FIX: how to break a working thing by being blind...
authoriceman1001 <iceman@iuse.se>
Sun, 10 Apr 2016 10:29:38 +0000 (12:29 +0200)
committericeman1001 <iceman@iuse.se>
Sun, 10 Apr 2016 10:29:38 +0000 (12:29 +0200)
armsrc/crapto1.h

index 4d5fec0fa301cfdcb8cb9cfb5ed4428d58f59328..54d66c28c42b764b428287e10f759b862b8d23a8 100644 (file)
@@ -88,7 +88,7 @@ static inline int filter(uint32_t const x)
        f |= 0x3c8b0 >> (x >>  8 & 0xf) &  4;
        f |= 0x1e458 >> (x >> 12 & 0xf) &  2;
        f |= 0x0d938 >> (x >> 16 & 0xf) &  1;
-       return BIT(0xEC57E80A, 0xf);
+       return BIT(0xEC57E80A, f);
 }
 #ifdef __cplusplus
 }
Impressum, Datenschutz