Lines Matching +full:p +full:- +full:256
1 // SPDX-License-Identifier: GPL-2.0
3 * Normal 64-bit CRC calculation.
5 * This is a basic crc64 implementation following ECMA-182 specification,
7 * https://www.ecma-international.org/publications/standards/Ecma-182.htm
10 * algorithm, here the CRC64 code is also inspired by the table-driven
15 * crc64table[256] is the lookup table of a table-driven 64-bit CRC
17 * time. The polynomial of crc64 arithmetic is from ECMA-182 specification
25 * crc64rocksoft[256] table is from the Rocksoft specification polynomial
45 * crc64_be - Calculate bitwise big-endian ECMA-182 CRC64
48 * @p: pointer to buffer over which CRC64 is run
49 * @len: length of buffer @p
51 u64 __pure crc64_be(u64 crc, const void *p, size_t len) in crc64_be() argument
55 const unsigned char *_p = p; in crc64_be()
67 * crc64_rocksoft_generic - Calculate bitwise Rocksoft CRC64
70 * @p: pointer to buffer over which CRC64 is run
71 * @len: length of buffer @p
73 u64 __pure crc64_rocksoft_generic(u64 crc, const void *p, size_t len) in crc64_rocksoft_generic() argument
75 const unsigned char *_p = p; in crc64_rocksoft_generic()