aboutsummaryrefslogtreecommitdiffstats
path: root/lib/siphash.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/siphash.c')
-rw-r--r--lib/siphash.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/siphash.c b/lib/siphash.c
index 3ae58b4edad6..726c43620960 100644
--- a/lib/siphash.c
+++ b/lib/siphash.c
@@ -406,7 +406,13 @@ EXPORT_SYMBOL(hsiphash_4u32);
v3 ^= key->key[1]; \
v2 ^= key->key[0]; \
v1 ^= key->key[1]; \
- v0 ^= key->key[0];
+ v0 ^= key->key[0]; \
+ v3 ^= key->key[2]; \
+ HSIPROUND; \
+ v1 ^= key->key[2]; \
+ v3 ^= key->key[3]; \
+ HSIPROUND; \
+ v1 ^= key->key[3];
#define HPOSTAMBLE \
v3 ^= b; \