From ad98700bf2157c40788957434135ee71cbdba9cd Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 31 Jul 2018 01:45:51 +0200 Subject: main: add missing chacha20poly1305 header --- src/crypto/chacha20poly1305.c | 1 - src/main.c | 3 ++- src/selftest/poly1305.h | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/crypto/chacha20poly1305.c b/src/crypto/chacha20poly1305.c index df1c5aa..b47f6a5 100644 --- a/src/crypto/chacha20poly1305.c +++ b/src/crypto/chacha20poly1305.c @@ -248,7 +248,6 @@ err: return !ret; } - void xchacha20poly1305_encrypt(u8 *dst, const u8 *src, const size_t src_len, const u8 *ad, const size_t ad_len, const u8 nonce[XCHACHA20POLY1305_NONCELEN], diff --git a/src/main.c b/src/main.c index a4f707d..b49d270 100644 --- a/src/main.c +++ b/src/main.c @@ -9,6 +9,7 @@ #include "queueing.h" #include "ratelimiter.h" #include "netlink.h" +#include "crypto/chacha20poly1305.h" #include "crypto/chacha20.h" #include "crypto/poly1305.h" #include "crypto/blake2s.h" @@ -64,7 +65,7 @@ static void __exit mod_exit(void) module_init(mod_init); module_exit(mod_exit); MODULE_LICENSE("GPL v2"); -MODULE_DESCRIPTION("Fast, secure, and modern VPN tunnel"); +MODULE_DESCRIPTION("Fast, modern, and secure VPN tunnel"); MODULE_AUTHOR("Jason A. Donenfeld "); MODULE_VERSION(WIREGUARD_VERSION); MODULE_ALIAS_RTNL_LINK(KBUILD_MODNAME); diff --git a/src/selftest/poly1305.h b/src/selftest/poly1305.h index b3b74e1..d1b7227 100644 --- a/src/selftest/poly1305.h +++ b/src/selftest/poly1305.h @@ -6,7 +6,6 @@ #ifdef DEBUG -#include "../crypto/chacha20poly1305.h" #include "../crypto/simd.h" struct poly1305_testdata { -- cgit v1.2.3-59-g8ed1b