Skip to content

Commit fb28fab

Browse files
committed
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 <[email protected]>
1 parent 445a4aa commit fb28fab

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

crypto/Kconfig

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,13 @@ config CRYPTO_MANAGER
143143

144144
config CRYPTO_MANAGER2
145145
def_tristate CRYPTO_MANAGER || (CRYPTO_MANAGER!=n && CRYPTO_ALGAPI=y)
146+
select CRYPTO_ACOMP2
146147
select CRYPTO_AEAD2
147-
select CRYPTO_HASH2
148-
select CRYPTO_SKCIPHER2
149148
select CRYPTO_AKCIPHER2
149+
select CRYPTO_HASH2
150150
select CRYPTO_KPP2
151-
select CRYPTO_ACOMP2
151+
select CRYPTO_RNG2
152+
select CRYPTO_SKCIPHER2
152153

153154
config CRYPTO_USER
154155
tristate "Userspace cryptographic algorithm configuration"

0 commit comments

Comments
 (0)