aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit986a8046a2b297279569ebd160a5410f8f195185 (patch)
tree282abc5d74b64060c52c936177bcb3e9ddf054b0 /src/main.c
parenttools: fix latest-handshake typo in documentation (diff)
downloadwireguard-monolithic-historical-986a8046a2b297279569ebd160a5410f8f195185.tar.xz
wireguard-monolithic-historical-986a8046a2b297279569ebd160a5410f8f195185.zip
siphash: update against upstream submission
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();