static uint32_t _calc_crc_new(uint32_t initial, const uint8_t *buf, uint32_t size)
#endif
{
- /* CRC-32 byte lookup table generated by crcgen.c */
+ /* CRC-32 byte lookup table generated by crc_gen.c */
static const uint32_t crctab[] = {
0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f, 0xe963a535, 0x9e6495a3,
0x0edb8832, 0x79dcb8a4, 0xe0d5e91e, 0x97d2d988, 0x09b64c2b, 0x7eb17cbd, 0xe7b82d07, 0x90bf1d91,
{
uint32_t crc, i, j;
- printf("\t/* CRC-32 byte lookup table generated by crcgen.c */\n");
+ printf("\t/* CRC-32 byte lookup table generated by crc_gen.c */\n");
printf("\tstatic const uint32_t crctab[] = {");
for (i = 0; i < 256; i++) {