summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/crypto/Makefile1
-rw-r--r--lib/crypto/chacha.c (renamed from lib/crypto/libchacha.c)0
2 files changed, 1 insertions, 0 deletions
diff --git a/lib/crypto/Makefile b/lib/crypto/Makefile
index e71c4bee8310..a006048ba2bd 100644
--- a/lib/crypto/Makefile
+++ b/lib/crypto/Makefile
@@ -18,6 +18,7 @@ libcryptoutils-y := memneq.o utils.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
+libchacha-y := chacha.o
obj-$(CONFIG_CRYPTO_LIB_AES) += libaes.o
libaes-y := aes.o
diff --git a/lib/crypto/libchacha.c b/lib/crypto/chacha.c
index 26862ad90a96..26862ad90a96 100644
--- a/lib/crypto/libchacha.c
+++ b/lib/crypto/chacha.c