summaryrefslogtreecommitdiffhomepage
path: root/src/crypto/zinc/blake2s
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/zinc/blake2s')
-rw-r--r--src/crypto/zinc/blake2s/blake2s-x86_64-glue.c (renamed from src/crypto/zinc/blake2s/blake2s-x86_64-glue.h)2
-rw-r--r--src/crypto/zinc/blake2s/blake2s.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/crypto/zinc/blake2s/blake2s-x86_64-glue.h b/src/crypto/zinc/blake2s/blake2s-x86_64-glue.c
index 2191e3f..7be9809 100644
--- a/src/crypto/zinc/blake2s/blake2s-x86_64-glue.h
+++ b/src/crypto/zinc/blake2s/blake2s-x86_64-glue.c
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 OR MIT */
+// SPDX-License-Identifier: GPL-2.0 OR MIT
/*
* Copyright (C) 2015-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
*/
diff --git a/src/crypto/zinc/blake2s/blake2s.c b/src/crypto/zinc/blake2s/blake2s.c
index 08d3947..fe4d4b4 100644
--- a/src/crypto/zinc/blake2s/blake2s.c
+++ b/src/crypto/zinc/blake2s/blake2s.c
@@ -110,7 +110,7 @@ void blake2s_init_key(struct blake2s_state *state, const size_t outlen,
EXPORT_SYMBOL(blake2s_init_key);
#if defined(CONFIG_ZINC_ARCH_X86_64)
-#include "blake2s-x86_64-glue.h"
+#include "blake2s-x86_64-glue.c"
#else
static void __init blake2s_fpu_init(void)
{
@@ -271,7 +271,7 @@ void blake2s_hmac(u8 *out, const u8 *in, const u8 *key, const size_t outlen,
}
EXPORT_SYMBOL(blake2s_hmac);
-#include "../selftest/blake2s.h"
+#include "../selftest/blake2s.c"
static bool nosimd __initdata = false;