Lines Matching full:crc
3 * Normal 64-bit CRC calculation.
9 * Dr. Ross N. Williams has a great document to introduce the idea of CRC
13 * http://www.ross.net/crc/download/crc_v3.txt
15 * crc64table[256] is the lookup table of a table-driven 64-bit CRC
46 * @crc: seed value for computation. 0 or (u64)~0 for a new CRC calculation,
51 u64 __pure crc64_be(u64 crc, const void *p, size_t len) in crc64_be() argument
58 t = ((crc >> 56) ^ (*_p++)) & 0xFF; in crc64_be()
59 crc = crc64table[t] ^ (crc << 8); in crc64_be()
62 return crc; in crc64_be()
68 * @crc: seed value for computation. 0 for a new CRC calculation, or the
73 u64 __pure crc64_rocksoft_generic(u64 crc, const void *p, size_t len) in crc64_rocksoft_generic() argument
78 crc = ~crc; in crc64_rocksoft_generic()
81 crc = (crc >> 8) ^ crc64rocksofttable[(crc & 0xff) ^ *_p++]; in crc64_rocksoft_generic()
83 return ~crc; in crc64_rocksoft_generic()