Lines Matching refs:crc
44 of the crc tables. Therefore, if you #define DYNAMIC_CRC_TABLE, you should
81 /* Definitions for doing the crc four data bytes at a time. */
94 /* Local functions for crc concatenation */
138 /* terms of polynomial defining this crc (except x^32): */
153 /* generate a crc for every 8-bit value */
162 /* generate crc for each value followed by one, two, and three zeros,
242 #define DO1 crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8)
246 unsigned long ZEXPORT z_crc32(crc, buf, len)
247 unsigned long crc;
264 return crc32_little(crc, buf, len);
266 return crc32_big(crc, buf, len);
269 crc = crc ^ 0xffffffffUL;
277 return crc ^ 0xffffffffUL;
289 local unsigned long crc32_little(crc, buf, len)
290 unsigned long crc;
297 c = (u4)crc;
329 local unsigned long crc32_big(crc, buf, len)
330 unsigned long crc;
337 c = REV((u4)crc);
447 /* return combined crc */