aboutsummaryrefslogtreecommitdiffstats
path: root/lib/siphash.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/siphash.c')
-rw-r--r--lib/siphash.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/siphash.c b/lib/siphash.c
index 3ae58b4edad6..cca5b9fc2207 100644
--- a/lib/siphash.c
+++ b/lib/siphash.c
@@ -413,9 +413,13 @@ EXPORT_SYMBOL(hsiphash_4u32);
HSIPROUND; \
v0 ^= b; \
v2 ^= 0xff; \
+ v1 ^= key->key[2]; \
+ v3 ^= key->key[3]; \
HSIPROUND; \
HSIPROUND; \
HSIPROUND; \
+ v1 ^= key->key[2]; \
+ v3 ^= key->key[3]; \
return v1 ^ v3;
u32 __hsiphash_aligned(const void *data, size_t len, const hsiphash_key_t *key)