Lines Matching full:crc
27 uint64_t i, j, c, crc; in generate_reflected_crc64_table() local
30 crc = 0ULL; in generate_reflected_crc64_table()
34 if ((crc ^ (c >> j)) & 1) in generate_reflected_crc64_table()
35 crc = (crc >> 1) ^ poly; in generate_reflected_crc64_table()
37 crc >>= 1; in generate_reflected_crc64_table()
39 table[i] = crc; in generate_reflected_crc64_table()
45 uint64_t i, j, c, crc; in generate_crc64_table() local
48 crc = 0; in generate_crc64_table()
52 if ((crc ^ c) & 0x8000000000000000ULL) in generate_crc64_table()
53 crc = (crc << 1) ^ poly; in generate_crc64_table()
55 crc <<= 1; in generate_crc64_table()
59 table[i] = crc; in generate_crc64_table()