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 chacha.c to chacha-block-generic.c

Rename chacha.c to chacha-block-generic.c to free up the name chacha.c
for the high-level API entry points (chacha_crypt() and
hchacha_block()), similar to the other algorithms.

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

+2 -2
+2 -2
lib/crypto/Makefile
··· 15 15 obj-$(CONFIG_CRYPTO_LIB_UTILS) += libcryptoutils.o 16 16 libcryptoutils-y := memneq.o utils.o 17 17 18 - # chacha is used by the /dev/random driver which is always builtin 19 - obj-y += chacha.o 18 + # chacha20_block() is used by the /dev/random driver which is always builtin 19 + obj-y += chacha-block-generic.o 20 20 obj-$(CONFIG_CRYPTO_LIB_CHACHA_GENERIC) += libchacha.o 21 21 22 22 obj-$(CONFIG_CRYPTO_LIB_AES) += libaes.o
lib/crypto/chacha.c lib/crypto/chacha-block-generic.c