summaryrefslogtreecommitdiff
path: root/lib/crypto/Makefile
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2025-08-27 08:11:29 -0700
committerEric Biggers <ebiggers@kernel.org>2025-08-29 09:50:19 -0700
commit5d313a7625fabe9b92eaca7c5ce0e6d1019d279a (patch)
tree47fd6ba4176c07d553e6a22156c281f1b019a26b /lib/crypto/Makefile
parent56e48d4e138cb105a17e0f8c257f3bc41b1bd69d (diff)
downloadlinux-next-5d313a7625fabe9b92eaca7c5ce0e6d1019d279a.tar.gz
linux-next-5d313a7625fabe9b92eaca7c5ce0e6d1019d279a.zip
lib/crypto: blake2s: Move generic code into blake2s.c
Move blake2s_compress_generic() from blake2s-generic.c to blake2s.c. For now it's still guarded by CONFIG_CRYPTO_LIB_BLAKE2S_GENERIC, but this prepares for changing it to a 'static __maybe_unused' function and just using the compiler to automatically decide its inclusion. Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Link: https://lore.kernel.org/r/20250827151131.27733-11-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'lib/crypto/Makefile')
-rw-r--r--lib/crypto/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/crypto/Makefile b/lib/crypto/Makefile
index b2d2745879d1..c9193f0604d9 100644
--- a/lib/crypto/Makefile
+++ b/lib/crypto/Makefile
@@ -32,7 +32,6 @@ obj-$(CONFIG_CRYPTO_LIB_GF128MUL) += gf128mul.o
# blake2s is used by the /dev/random driver which is always builtin
obj-y += libblake2s.o
libblake2s-y := blake2s.o
-libblake2s-$(CONFIG_CRYPTO_LIB_BLAKE2S_GENERIC) += blake2s-generic.o
################################################################################