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:
87 * The CRC-32 functions use these calling conventions:
91 * %r2: Initial CRC value, typically ~0; and final CRC (return) value.
98 * %r5: CRC-32 constant pool base pointer.
99 * V0: Initial CRC value and intermediate constants and results.
100 * V1..V4: Data for CRC computation.
104 * V10..V14: CRC-32 constants.
118 /* Load CRC-32 constants */
122 * Load the initial CRC value.
124 * The CRC value is loaded into the rightmost word of the
129 VLVGF %v0,%r2,3 /* Load CRC into rightmost word */
131 /* Load a 64-byte data chunk and XOR with CRC */
138 VX %v1,%v0,%v1 /* V1 ^= CRC */
240 * Apply a Barret reduction to compute the final 32-bit CRC value.
244 * constant u. The Barret reduction result is the CRC value of R(x) mod
263 * Compute the GF(2) product of the CRC polynomial with T1(x) in