Lines Matching full:crc
3 * Hardware-accelerated CRC-32 variants for Linux on z Systems
6 * computing of bitreflected CRC-32 checksums for IEEE 802.3 Ethernet
9 * This CRC-32 implementation algorithm is bitreflected and processes
20 /* Vector register range containing CRC-32 constants */
32 * The CRC-32 constant block contains reduction constants to fold and
35 * For the CRC-32 variants, the constants are precomputed according to
51 * CRC-32 (IEEE 802.3 Ethernet, ...) polynomials:
56 * CRC-32C (Castagnoli) polynomials:
85 * The CRC-32 functions use these calling conventions:
89 * %r2: Initial CRC value, typically ~0; and final CRC (return) value.
96 * %r5: CRC-32 constant pool base pointer.
97 * V0: Initial CRC value and intermediate constants and results.
98 * V1..V4: Data for CRC computation.
102 * V10..V14: CRC-32 constants.
116 /* Load CRC-32 constants */
120 * Load the initial CRC value.
122 * The CRC value is loaded into the rightmost word of the
127 VLVGF %v0,%r2,3 /* Load CRC into rightmost word */
129 /* Load a 64-byte data chunk and XOR with CRC */
136 VX %v1,%v0,%v1 /* V1 ^= CRC */
238 * Apply a Barret reduction to compute the final 32-bit CRC value.
242 * constant u. The Barret reduction result is the CRC value of R(x) mod
261 * Compute the GF(2) product of the CRC polynomial with T1(x) in