Lines Matching refs:crc_table
102 local unsigned long FAR crc_table[TBLS][256];
158 crc_table[0][n] = c;
165 c = crc_table[0][n];
166 crc_table[4][n] = REV(c);
168 c = crc_table[0][c & 0xff] ^ (c >> 8);
169 crc_table[k][n] = c;
170 crc_table[k + 4][n] = REV(c);
193 fprintf(out, "crc_table[TBLS][256] =\n{\n {\n");
194 write_table(out, crc_table[0]);
199 write_table(out, crc_table[k]);
238 return (const unsigned long FAR *)crc_table;
242 #define DO1 crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8)
284 c = crc_table[3][c & 0xff] ^ crc_table[2][(c >> 8) & 0xff] ^ \
285 crc_table[1][(c >> 16) & 0xff] ^ crc_table[0][c >> 24]
300 c = crc_table[0][(c ^ *buf++) & 0xff] ^ (c >> 8);
316 c = crc_table[0][(c ^ *buf++) & 0xff] ^ (c >> 8);
324 c = crc_table[4][c & 0xff] ^ crc_table[5][(c >> 8) & 0xff] ^ \
325 crc_table[6][(c >> 16) & 0xff] ^ crc_table[7][c >> 24]
340 c = crc_table[4][(c >> 24) ^ *buf++] ^ (c << 8);
358 c = crc_table[4][(c >> 24) ^ *buf++] ^ (c << 8);