X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/3ee8c808c44e417c197d12de9b2e2f3cfbdcde0c..9c624f67b3c3041d171abf75d954ba9fa0ae57a4:/common/crc64.c diff --git a/common/crc64.c b/common/crc64.c index 709c64d6..adf62d97 100644 --- a/common/crc64.c +++ b/common/crc64.c @@ -74,9 +74,7 @@ const uint64_t crc64_table[] = { void crc64 (const uint8_t *data, const size_t len, uint64_t *crc) { - for (size_t i = 0; i < len; i++) - { - //uint8_t tableIndex = (((uint8_t)(*crc >> 56)) ^ data[i]) & 0xff; + for (size_t i = 0; i < len; i++) { uint8_t tableIndex = (((uint8_t)(*crc >> 56)) ^ data[i]) & 0xff; *crc = crc64_table[tableIndex] ^ (*crc << 8); }