• Home
  • Raw
  • Download

Lines Matching +full:3 +full:v3

9  * and HalfSipHash1-3/SipHash1-3 for an insecure PRF only suitable for
21 #define SIPROUND SIPHASH_PERMUTATION(v0, v1, v2, v3)
27 u64 v3 = SIPHASH_CONST_3; \
29 v3 ^= key->key[1]; \
35 v3 ^= b; \
44 return (v0 ^ v1) ^ (v2 ^ v3);
55 v3 ^= m; in __siphash_aligned()
70 case 3: b |= ((u64)end[2]) << 16; /* fall through */ in __siphash_aligned()
88 v3 ^= m; in __siphash_unaligned()
103 case 3: b |= ((u64)end[2]) << 16; /* fall through */ in __siphash_unaligned()
120 v3 ^= first; in siphash_1u64()
137 v3 ^= first; in siphash_2u64()
141 v3 ^= second; in siphash_2u64()
150 * siphash_3u64 - compute 64-bit siphash PRF value of 3 u64
160 v3 ^= first; in siphash_3u64()
164 v3 ^= second; in siphash_3u64()
168 v3 ^= third; in siphash_3u64()
188 v3 ^= first; in siphash_4u64()
192 v3 ^= second; in siphash_4u64()
196 v3 ^= third; in siphash_4u64()
200 v3 ^= forth; in siphash_4u64()
221 v3 ^= combined; in siphash_3u32()
231 /* Note that on 64-bit, we make HalfSipHash1-3 actually be SipHash1-3, for
232 * performance reasons. On 32-bit, below, we actually implement HalfSipHash1-3.
238 v3 ^= b; \
245 return (v0 ^ v1) ^ (v2 ^ v3);
256 v3 ^= m; in __hsiphash_aligned()
270 case 3: b |= ((u64)end[2]) << 16; /* fall through */ in __hsiphash_aligned()
289 v3 ^= m; in __hsiphash_unaligned()
303 case 3: b |= ((u64)end[2]) << 16; /* fall through */ in __hsiphash_unaligned()
335 v3 ^= combined; in hsiphash_2u32()
343 * hsiphash_3u32 - compute 32-bit hsiphash PRF value of 3 u32
354 v3 ^= combined; in hsiphash_3u32()
375 v3 ^= combined; in hsiphash_4u32()
379 v3 ^= combined; in hsiphash_4u32()
386 #define HSIPROUND HSIPHASH_PERMUTATION(v0, v1, v2, v3)
392 u32 v3 = HSIPHASH_CONST_3; \
394 v3 ^= key->key[1]; \
400 v3 ^= b; \
407 return v1 ^ v3;
418 v3 ^= m; in __hsiphash_aligned()
423 case 3: b |= ((u32)end[2]) << 16; /* fall through */ in __hsiphash_aligned()
441 v3 ^= m; in __hsiphash_unaligned()
446 case 3: b |= ((u32)end[2]) << 16; /* fall through */ in __hsiphash_unaligned()
462 v3 ^= first; in hsiphash_1u32()
478 v3 ^= first; in hsiphash_2u32()
481 v3 ^= second; in hsiphash_2u32()
489 * hsiphash_3u32 - compute 32-bit hsiphash PRF value of 3 u32
499 v3 ^= first; in hsiphash_3u32()
502 v3 ^= second; in hsiphash_3u32()
505 v3 ^= third; in hsiphash_3u32()
524 v3 ^= first; in hsiphash_4u32()
527 v3 ^= second; in hsiphash_4u32()
530 v3 ^= third; in hsiphash_4u32()
533 v3 ^= forth; in hsiphash_4u32()