From fb28fabfad332a731423ffdd2be122b73ea90f1e Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Tue, 13 Jun 2023 16:49:24 +0800 Subject: [PATCH] crypto: algboss - Add missing dependency on RNG2 The testmgr code uses crypto_rng without depending on it. Add an explicit dependency to Kconfig. Also sort the MANAGER2 dependencies alphabetically. Signed-off-by: Herbert Xu --- crypto/Kconfig | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/crypto/Kconfig b/crypto/Kconfig index fdf3742f1106..44292989d070 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -143,12 +143,13 @@ config CRYPTO_MANAGER config CRYPTO_MANAGER2 def_tristate CRYPTO_MANAGER || (CRYPTO_MANAGER!=n && CRYPTO_ALGAPI=y) - select CRYPTO_AEAD2 - select CRYPTO_HASH2 - select CRYPTO_SKCIPHER2 - select CRYPTO_AKCIPHER2 - select CRYPTO_KPP2 select CRYPTO_ACOMP2 + select CRYPTO_AEAD2 + select CRYPTO_AKCIPHER2 + select CRYPTO_HASH2 + select CRYPTO_KPP2 + select CRYPTO_RNG2 + select CRYPTO_SKCIPHER2 config CRYPTO_USER tristate "Userspace cryptographic algorithm configuration"