summaryrefslogtreecommitdiffstats
path: root/lib/crypto/Makefile
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2022-07-09 23:18:48 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2022-07-15 10:43:59 +0200
commit463f74089ff9148e3e46af454a6977d40b98cd10 (patch)
treeb49a09ad5e1a284fe7bc3741a4b66e3d84d5bed9 /lib/crypto/Makefile
parentcrypto: fips - make proc files report fips module name and version (diff)
downloadlinux-463f74089ff9148e3e46af454a6977d40b98cd10.tar.xz
linux-463f74089ff9148e3e46af454a6977d40b98cd10.zip
crypto: lib - move lib/sha1.c into lib/crypto/
SHA-1 is a crypto algorithm (or at least was intended to be -- it's not considered secure anymore), so move it out of the top-level library directory and into lib/crypto/. Signed-off-by: Eric Biggers <ebiggers@google.com> Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/crypto/Makefile')
-rw-r--r--lib/crypto/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/crypto/Makefile b/lib/crypto/Makefile
index 26be2bbe09c5..d28111ba54fc 100644
--- a/lib/crypto/Makefile
+++ b/lib/crypto/Makefile
@@ -34,6 +34,8 @@ libpoly1305-y := poly1305-donna32.o
libpoly1305-$(CONFIG_ARCH_SUPPORTS_INT128) := poly1305-donna64.o
libpoly1305-y += poly1305.o
+obj-y += sha1.o
+
obj-$(CONFIG_CRYPTO_LIB_SHA256) += libsha256.o
libsha256-y := sha256.o