summaryrefslogtreecommitdiffhomepage
path: root/src/main.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-03-16 19:38:59 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2017-03-19 23:11:31 +0100
commit2fc244a152cef280b88ca1c33a1258aec3bbdc4b (patch)
tree0ca3adef8e08db1db5f1e09ab5d54576d23d0635 /src/main.c
parentd43629d000c2367462bc61ab8c3685abac8f2227 (diff)
blake2s: add AVX implementation
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 547c4e1..f070d0a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -17,11 +17,12 @@ static int __init mod_init(void)
{
int ret;
+ chacha20poly1305_fpu_init();
+ blake2s_fpu_init();
#ifdef DEBUG
if (!routing_table_selftest() || !packet_counter_selftest() || !curve25519_selftest() || !chacha20poly1305_selftest() || !blake2s_selftest())
return -ENOTRECOVERABLE;
#endif
- chacha20poly1305_init();
noise_init();
ret = ratelimiter_module_init();