X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/73d04bb417f52be89450e851deebcbd6ae125952..41f08b7c08928060a8dd84916fddf294fab7f26c:/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);