From 2e252d1def72f6c626e88515bb0b88a731a9ebd3 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sat, 29 Sep 2018 05:17:38 +0200 Subject: crypto: document what's used from --- src/crypto/include/zinc/blake2s.h | 1 - src/crypto/zinc/chacha20/chacha20.c | 2 +- src/crypto/zinc/chacha20poly1305.c | 2 +- src/crypto/zinc/curve25519/curve25519.c | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) (limited to 'src') 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 #include -#include 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 #include #include -#include +#include // 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 #include #include -#include +#include // 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 #include #include -#include +#include // For crypto_memneq. #if defined(CONFIG_ZINC_ARCH_X86_64) #include "curve25519-x86_64-glue.h" -- cgit v1.2.3