Lines Matching +full:xor +full:- +full:v2
3 * cleaned up code to current version of sparse and added the slicing-by-8
4 * algorithm to the closely similar existing slicing-by-4 algorithm.
9 * subsequently included in the kernel, thus was re-licensed under the
10 * GNU GPL v2.
16 * Some xor at the end with ~0. The generic crc32() function takes
17 * seed as an argument, and doesn't xor at the end. Then individual
19 * drivers/net/smc9194.c uses seed ~0, doesn't xor with ~0.
20 * fs/jffs2 uses seed 0, doesn't xor with ~0.
21 * fs/partitions/efi.c uses seed ~0, xor's with ~0.
56 /* implements slicing-by-4 or slicing-by-8 algorithm */
88 } while ((--len) && ((long)buf)&3);
101 --b;
104 for (--b; len; --len) {
118 u8 *p = (u8 *)(b + 1) - 1;
125 } while (--len);
137 * crc32_le_generic() - Calculate bitwise little-endian Ethernet AUTODIN II
143 * @tab: little-endian Ethernet table
152 while (len--) {
158 while (len--) {
166 while (len--) {
173 while (len--) {
213 * This follows the "little-endian" CRC convention that the lsbit
231 * crc32_generic_shift - Append @len 0 bytes to crc, in logarithmic time
232 * @crc: The original little-endian CRC (i.e. lsbit is x^31 coefficient)
285 * crc32_be_generic() - Calculate bitwise big-endian Ethernet AUTODIN II CRC32
290 * @tab: big-endian Ethernet table
299 while (len--) {
307 while (len--) {
315 while (len--) {
321 while (len--) {