aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/crypto/zinc/chacha20/chacha20.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-10-05 23:20:40 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-10-06 01:03:16 +0200
commitad5e42105059b23545b6958b3d8d4a65e7c78f01 (patch)
tree2aaad03f36ba8c27c051ffeb6272d4f9c851c693 /src/crypto/zinc/chacha20/chacha20.c
parentallowedips: remove ifdefs in favor of IS_ENABLED (diff)
downloadwireguard-monolithic-historical-ad5e42105059b23545b6958b3d8d4a65e7c78f01.tar.xz
wireguard-monolithic-historical-ad5e42105059b23545b6958b3d8d4a65e7c78f01.zip
global: rename include'd C files to be .c
This is done by 259 other files in the kernel tree: linux $ rg '#include.*\.c' -l | wc -l 259 Suggested-by: Sultan Alsawaf <sultanxda@gmail.com>
Diffstat (limited to '')
-rw-r--r--src/crypto/zinc/chacha20/chacha20.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/crypto/zinc/chacha20/chacha20.c b/src/crypto/zinc/chacha20/chacha20.c
index 3f0392f..bc7e9be 100644
--- a/src/crypto/zinc/chacha20/chacha20.c
+++ b/src/crypto/zinc/chacha20/chacha20.c
@@ -16,11 +16,11 @@
#include <crypto/algapi.h> // For crypto_xor_cpy.
#if defined(CONFIG_ZINC_ARCH_X86_64)
-#include "chacha20-x86_64-glue.h"
+#include "chacha20-x86_64-glue.c"
#elif defined(CONFIG_ZINC_ARCH_ARM) || defined(CONFIG_ZINC_ARCH_ARM64)
-#include "chacha20-arm-glue.h"
+#include "chacha20-arm-glue.c"
#elif defined(CONFIG_ZINC_ARCH_MIPS)
-#include "chacha20-mips-glue.h"
+#include "chacha20-mips-glue.c"
#else
static void __init chacha20_fpu_init(void)
{
@@ -159,7 +159,7 @@ void hchacha20(u32 derived_key[CHACHA20_KEY_WORDS],
}
EXPORT_SYMBOL(hchacha20);
-#include "../selftest/chacha20.h"
+#include "../selftest/chacha20.c"
static bool nosimd __initdata = false;