summaryrefslogtreecommitdiffstats
path: root/lib/crypto/Makefile
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-12-16 19:53:26 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2019-12-27 18:18:03 +0800
commitaa127963f1cab2b93c74c9b128a84610203fb674 (patch)
tree6b74802608e87ded121f412c125d18cf82718728 /lib/crypto/Makefile
parentc782937e92826af464e65111e9f7a7a774b6c276 (diff)
downloadlinux-aa127963f1cab2b93c74c9b128a84610203fb674.tar.gz
linux-aa127963f1cab2b93c74c9b128a84610203fb674.tar.bz2
linux-aa127963f1cab2b93c74c9b128a84610203fb674.zip
crypto: lib/curve25519 - re-add selftests
Somehow these were dropped when Zinc was being integrated, which is problematic, because testing the library interface for Curve25519 is important.. This commit simply adds them back and wires them in in the same way that the blake2s selftests are wired in. Signed-off-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/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/crypto/Makefile b/lib/crypto/Makefile
index 34a701ab8b92..f97f9b941110 100644
--- a/lib/crypto/Makefile
+++ b/lib/crypto/Makefile
@@ -36,4 +36,5 @@ libsha256-y := sha256.o
ifneq ($(CONFIG_CRYPTO_MANAGER_DISABLE_TESTS),y)
libblake2s-y += blake2s-selftest.o
libchacha20poly1305-y += chacha20poly1305-selftest.o
+libcurve25519-y += curve25519-selftest.o
endif