#ifndef _CRC_H_ #define _CRC_H_ #include // crc16 uint16_t crc16_update(uint16_t crc, uint8_t v); uint16_t crc16_calc(uint16_t crc, const uint8_t *data, uint32_t count); //uint16_t crc16_ccitt_update(uint16_t crc, uint8_t v); //uint16_t crc16_ccitt_calc(uint16_t crc, const uint8_t *data, uint32_t count); // crc32 //uint32_t crc32_update(uint32_t crc, uint8_t v); //uint32_t crc32_calc(uint32_t crc, const uint8_t *data, uint32_t count); #endif /* _CRC_H_ */