4 #include <linux/types.h>
10 #define CRC32_TABLE_BITS 8
11 #define CRC32_TABLE_SIZE (1u << CRC32_TABLE_BITS)
14 unsigned int table[CRC32_TABLE_SIZE];
17 void crc32_init(struct crc32 *, unsigned int polynomial);
18 unsigned int crc32_calculate(const struct crc32 *,
19 const void *data_, size_t n_bytes);