summaryrefslogtreecommitdiffstats
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2023-06-13 10:49:24 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2023-06-23 10:15:36 +0200
commitfb28fabfad332a731423ffdd2be122b73ea90f1e (patch)
tree6a16cf0177f0b1b589f60b332d3a642c596e42df /crypto/Kconfig
parentcrypto: starfive - Add RSA algo support (diff)
downloadlinux-fb28fabfad332a731423ffdd2be122b73ea90f1e.tar.xz
linux-fb28fabfad332a731423ffdd2be122b73ea90f1e.zip
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 <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r--crypto/Kconfig7
1 files changed, 4 insertions, 3 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_ACOMP2
select CRYPTO_AEAD2
- select CRYPTO_HASH2
- select CRYPTO_SKCIPHER2
select CRYPTO_AKCIPHER2
+ select CRYPTO_HASH2
select CRYPTO_KPP2
- select CRYPTO_ACOMP2
+ select CRYPTO_RNG2
+ select CRYPTO_SKCIPHER2
config CRYPTO_USER
tristate "Userspace cryptographic algorithm configuration"