X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/73d04bb417f52be89450e851deebcbd6ae125952..f1b74c30899b5c1ce916f2a5c42d679e61aaa5ac:/common/crc.c?ds=inline 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);