X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/73d04bb417f52be89450e851deebcbd6ae125952..ad23886a6f1c5088d4be2eeb97a029ca8db81b70:/common/crc.c 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);