Lines Matching refs:crc
36 uint32_t crc = 1; in crc32cinit_le() local
41 crc = (crc >> 1) ^ ((crc & 1) ? CRC32C_POLY_LE : 0); in crc32cinit_le()
43 crc32ctable_le[0][i + j] = crc ^ crc32ctable_le[0][j]; in crc32cinit_le()
46 crc = crc32ctable_le[0][i]; in crc32cinit_le()
48 crc = crc32ctable_le[0][crc & 0xff] ^ (crc >> 8); in crc32cinit_le()
49 crc32ctable_le[j][i] = crc; in crc32cinit_le()
60 uint32_t crc = 0x80000000; in crc32init_be() local
65 crc = (crc << 1) ^ ((crc & 0x80000000) ? CRCPOLY_BE : 0); in crc32init_be()
67 crc32table_be[0][i + j] = crc ^ crc32table_be[0][j]; in crc32init_be()
70 crc = crc32table_be[0][i]; in crc32init_be()
72 crc = crc32table_be[0][(crc >> 24) & 0xff] ^ (crc << 8); in crc32init_be()
73 crc32table_be[j][i] = crc; in crc32init_be()