44 #ifndef ACE_CRC_CRC32_NIBBLEM_HPP
45 #define ACE_CRC_CRC32_NIBBLEM_HPP
51 namespace crc32_nibblem {
60 const uint8_t CRC_ALGO_TABLE_DRIVEN = 1;
78 crc_t crc_reflect(
crc_t data,
size_t data_len);
100 crc_t crc_update(crc_t crc,
const void *data,
size_t data_len);
111 return crc ^ 0xffffffff;
122 inline crc_t crc_calculate(
const void *data,
size_t data_len) {
123 crc_t crc = crc_init();
124 crc = crc_update(crc, data, data_len);
125 return crc_finalize(crc);
uint32_t crc_t
The type of the CRC values.