X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/06eb3b1a8cbbab569b330a45a5e29dce9de273cd..7a8db2f67821d2e55c98a9a4b7badcd17947777d:/armsrc/crapto1.h?ds=sidebyside 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 }