summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/crypto/include/zinc/blake2s.h1
-rw-r--r--src/crypto/zinc/chacha20/chacha20.c2
-rw-r--r--src/crypto/zinc/chacha20poly1305.c2
-rw-r--r--src/crypto/zinc/curve25519/curve25519.c2
4 files changed, 3 insertions, 4 deletions
diff --git a/src/crypto/include/zinc/blake2s.h b/src/crypto/include/zinc/blake2s.h
index da313de..3dbe4b5 100644
--- a/src/crypto/include/zinc/blake2s.h
+++ b/src/crypto/include/zinc/blake2s.h
@@ -8,7 +8,6 @@
#include <linux/types.h>
#include <linux/kernel.h>
-#include <crypto/algapi.h>
enum blake2s_lengths {
BLAKE2S_BLOCK_SIZE = 64,
diff --git a/src/crypto/zinc/chacha20/chacha20.c b/src/crypto/zinc/chacha20/chacha20.c
index e71e702..c6a29f8 100644
--- a/src/crypto/zinc/chacha20/chacha20.c
+++ b/src/crypto/zinc/chacha20/chacha20.c
@@ -13,7 +13,7 @@
#include <linux/module.h>
#include <linux/init.h>
#include <linux/vmalloc.h>
-#include <crypto/algapi.h>
+#include <crypto/algapi.h> // For crypto_xor_cpy.
#if defined(CONFIG_ZINC_ARCH_X86_64)
#include "chacha20-x86_64-glue.h"
diff --git a/src/crypto/zinc/chacha20poly1305.c b/src/crypto/zinc/chacha20poly1305.c
index 59f1d00..4c38dde 100644
--- a/src/crypto/zinc/chacha20poly1305.c
+++ b/src/crypto/zinc/chacha20poly1305.c
@@ -14,7 +14,7 @@
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
-#include <crypto/scatterwalk.h>
+#include <crypto/scatterwalk.h> // For blkcipher_walk.
static const u8 pad0[16] = { 0 };
diff --git a/src/crypto/zinc/curve25519/curve25519.c b/src/crypto/zinc/curve25519/curve25519.c
index 87fe860..e57962d 100644
--- a/src/crypto/zinc/curve25519/curve25519.c
+++ b/src/crypto/zinc/curve25519/curve25519.c
@@ -17,7 +17,7 @@
#include <linux/random.h>
#include <linux/module.h>
#include <linux/init.h>
-#include <crypto/algapi.h>
+#include <crypto/algapi.h> // For crypto_memneq.
#if defined(CONFIG_ZINC_ARCH_X86_64)
#include "curve25519-x86_64-glue.h"