summaryrefslogtreecommitdiffhomepage
path: root/src/main.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-12-13 03:20:53 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2016-12-16 06:35:58 +0100
commit4e1cf0bd5f9db159bb1627078ea2147a24881cae (patch)
tree7ec7081ba862fae545bfc3a5a7aadb3345a4b001 /src/main.c
parent4345b0fed3b1085ac4d242c82742dc3c3d543ab6 (diff)
siphash: update against upstream submission
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index e0e2bb0..4cdb2e7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -6,7 +6,7 @@
#include "packets.h"
#include "crypto/chacha20poly1305.h"
#include "crypto/blake2s.h"
-#include "crypto/siphash24.h"
+#include "crypto/siphash.h"
#include "crypto/curve25519.h"
#include <linux/version.h>
@@ -19,7 +19,7 @@ static int __init mod_init(void)
int ret;
#ifdef DEBUG
- if (!routing_table_selftest() || !packet_counter_selftest() || !curve25519_selftest() || !chacha20poly1305_selftest() || !blake2s_selftest() || !siphash24_selftest())
+ if (!routing_table_selftest() || !packet_counter_selftest() || !curve25519_selftest() || !chacha20poly1305_selftest() || !blake2s_selftest() || !siphash_selftest())
return -ENOTRECOVERABLE;
#endif
chacha20poly1305_init();