X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/5279085ae711148fe1e7318e5b8572da7d8616d6..775c4c4a282900d14d4a612c9cb1435f8059d627:/common/crc.c?ds=sidebyside diff --git a/common/crc.c b/common/crc.c index b8eb227e..0c73474f 100644 --- a/common/crc.c +++ b/common/crc.c @@ -42,7 +42,8 @@ uint32_t crc_finish(crc_t *crc) return ( crc->state ^ crc->final_xor ) & crc->mask; } -uint32_t CRC8Maxim(uint8_t *buff, size_t size ) +//credits to iceman +uint32_t CRC8Maxim(uint8_t *buff, size_t size) { crc_t crc; crc_init(&crc, 9, 0x8c, 0x00, 0x00);