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>
pull/1354/merge
Eric Biggers 2025-08-27 08:11:24 -07:00
parent 20a1acb68d
commit 1ae46b6eb5
2 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ libcryptoutils-y := memneq.o utils.o
# chacha20_block() is used by the /dev/random driver which is always builtin # chacha20_block() is used by the /dev/random driver which is always builtin
obj-y += chacha-block-generic.o obj-y += chacha-block-generic.o
obj-$(CONFIG_CRYPTO_LIB_CHACHA_GENERIC) += libchacha.o obj-$(CONFIG_CRYPTO_LIB_CHACHA_GENERIC) += libchacha.o
libchacha-y := chacha.o
obj-$(CONFIG_CRYPTO_LIB_AES) += libaes.o obj-$(CONFIG_CRYPTO_LIB_AES) += libaes.o
libaes-y := aes.o libaes-y := aes.o