Commit d90dde8c authored by Herbert Xu's avatar Herbert Xu

wireguard: do not include crypto/algapi.h

The header file crypto/algapi.h is for internal use only.  Use the
header file crypto/utils.h instead.
Acked-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 9d2c1a98
...@@ -12,9 +12,9 @@ ...@@ -12,9 +12,9 @@
#include <crypto/blake2s.h> #include <crypto/blake2s.h>
#include <crypto/chacha20poly1305.h> #include <crypto/chacha20poly1305.h>
#include <crypto/utils.h>
#include <net/ipv6.h> #include <net/ipv6.h>
#include <crypto/algapi.h>
void wg_cookie_checker_init(struct cookie_checker *checker, void wg_cookie_checker_init(struct cookie_checker *checker,
struct wg_device *wg) struct wg_device *wg)
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#include <linux/if.h> #include <linux/if.h>
#include <net/genetlink.h> #include <net/genetlink.h>
#include <net/sock.h> #include <net/sock.h>
#include <crypto/algapi.h> #include <crypto/utils.h>
static struct genl_family genl_family; static struct genl_family genl_family;
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#include <linux/bitmap.h> #include <linux/bitmap.h>
#include <linux/scatterlist.h> #include <linux/scatterlist.h>
#include <linux/highmem.h> #include <linux/highmem.h>
#include <crypto/algapi.h> #include <crypto/utils.h>
/* This implements Noise_IKpsk2: /* This implements Noise_IKpsk2:
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment