summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/crypto/Makefile4
-rw-r--r--lib/crypto/chacha-block-generic.c (renamed from lib/crypto/chacha.c)0
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/crypto/Makefile b/lib/crypto/Makefile
index cd460e5e3dd2..e71c4bee8310 100644
--- a/lib/crypto/Makefile
+++ b/lib/crypto/Makefile
@@ -15,8 +15,8 @@ obj-$(CONFIG_CRYPTO_HASH_INFO) += hash_info.o
obj-$(CONFIG_CRYPTO_LIB_UTILS) += libcryptoutils.o
libcryptoutils-y := memneq.o utils.o
-# chacha is used by the /dev/random driver which is always builtin
-obj-y += chacha.o
+# chacha20_block() is used by the /dev/random driver which is always builtin
+obj-y += chacha-block-generic.o
obj-$(CONFIG_CRYPTO_LIB_CHACHA_GENERIC) += libchacha.o
obj-$(CONFIG_CRYPTO_LIB_AES) += libaes.o
diff --git a/lib/crypto/chacha.c b/lib/crypto/chacha-block-generic.c
index 77f68de71066..77f68de71066 100644
--- a/lib/crypto/chacha.c
+++ b/lib/crypto/chacha-block-generic.c