Lines Matching refs:crc
17 of the crc tables. Therefore, if you #define DYNAMIC_CRC_TABLE, you should
35 /* Definitions for doing the crc four data bytes at a time. */
49 /* Local functions for crc concatenation */
95 /* terms of polynomial defining this crc (except x^32): */
110 /* generate a crc for every 8-bit value */
119 /* generate crc for each value followed by one, two, and three zeros,
200 #define DO1 crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8)
204 unsigned long ZEXPORT crc32(crc, buf, len)
205 unsigned long crc;
222 return crc32_little(crc, buf, len);
224 return crc32_big(crc, buf, len);
227 crc = crc ^ 0xffffffffUL;
235 return crc ^ 0xffffffffUL;
247 local unsigned long crc32_little(crc, buf, len)
248 unsigned long crc;
255 c = (z_crc_t)crc;
287 local unsigned long crc32_big(crc, buf, len)
288 unsigned long crc;
295 c = ZSWAP32((z_crc_t)crc);
405 /* return combined crc */