X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/f2d46122d30004b152f9c581a438b9939707bab9..ca65d3af861fefa3395825cb39ba2ac144d2ff3b:/common/crc.h?ds=sidebyside diff --git a/common/crc.h b/common/crc.h index eb91196b..adbfb237 100644 --- a/common/crc.h +++ b/common/crc.h @@ -38,8 +38,7 @@ extern void crc_clear(crc_t *crc); extern uint32_t crc_finish(crc_t *crc); // Calculate CRC-8/Maxim checksum -int CRC8Maxim(uint8_t *buff, size_t size ); - +uint32_t CRC8Maxim(uint8_t *buff, size_t size ); /* Static initialization of a crc structure */ #define CRC_INITIALIZER(_order, _polynom, _initial_value, _final_xor) { \ .state = ((_initial_value) & ((1L<<(_order))-1)), \