aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-07-31 01:45:51 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-07-31 05:27:05 +0200
commitad98700bf2157c40788957434135ee71cbdba9cd (patch)
treec7e6f8429ebfa455530cdd5aefc6f3d6dc22be2b /src
parentcurve25519-x86_64: tighten reductions modulo 2^256-38 (diff)
downloadwireguard-monolithic-historical-ad98700bf2157c40788957434135ee71cbdba9cd.tar.xz
wireguard-monolithic-historical-ad98700bf2157c40788957434135ee71cbdba9cd.zip
main: add missing chacha20poly1305 header
Diffstat (limited to 'src')
-rw-r--r--src/crypto/chacha20poly1305.c1
-rw-r--r--src/main.c3
-rw-r--r--src/selftest/poly1305.h1
3 files changed, 2 insertions, 3 deletions
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 <Jason@zx2c4.com>");
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 {