Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

lib/crypto: chacha: Rename libchacha.c to chacha.c

Rename libchacha.c to chacha.c to make the naming consistent with other
algorithms and allow additional source files to be added to the
libchacha module. This file currently contains chacha_crypt_generic(),
but it will soon be updated to contain chacha_crypt().

Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20250827151131.27733-6-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>

+1
+1
lib/crypto/Makefile
··· 18 18 # chacha20_block() is used by the /dev/random driver which is always builtin 19 19 obj-y += chacha-block-generic.o 20 20 obj-$(CONFIG_CRYPTO_LIB_CHACHA_GENERIC) += libchacha.o 21 + libchacha-y := chacha.o 21 22 22 23 obj-$(CONFIG_CRYPTO_LIB_AES) += libaes.o 23 24 libaes-y := aes.o
lib/crypto/libchacha.c lib/crypto/chacha.c