X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/06eb3b1a8cbbab569b330a45a5e29dce9de273cd..3e134b4c20a5528b8264cd87d3fdebd0b2df6fd9:/armsrc/crapto1.h diff --git a/armsrc/crapto1.h b/armsrc/crapto1.h index 4d5fec0f..54d66c28 100644 --- a/armsrc/crapto1.h +++ b/armsrc/crapto1.h @@ -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 }