aboutsummaryrefslogtreecommitdiff
path: root/halfsiphash.c
diff options
context:
space:
mode:
Diffstat (limited to 'halfsiphash.c')
-rw-r--r--halfsiphash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/halfsiphash.c b/halfsiphash.c
index 74d7517..877f62f 100644
--- a/halfsiphash.c
+++ b/halfsiphash.c
@@ -124,7 +124,7 @@ int halfsiphash(const uint8_t *in, const size_t inlen, const uint8_t *k, uint8_t
v0 ^= b;
- if (outlen == 16) v2 ^= 0xee;
+ if (outlen == 8) v2 ^= 0xee;
else v2 ^= 0xff;
TRACE;