summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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 {