kernel: 5.4: import wireguard backport
[openwrt/openwrt.git] / target / linux / generic / hack-5.4 / 260-crypto_test_dependencies.patch
index af96599ce85681b46f0bbcaede5b9024c53b41c9..c1b0b8551e5811269fd48990e4e5a4e04d429e76 100644 (file)
@@ -35,24 +35,6 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
  
  config CRYPTO_USER
        tristate "Userspace cryptographic algorithm configuration"
-@@ -136,8 +136,6 @@ config CRYPTO_USER
-         Userspace configuration for cryptographic instantiations such as
-         cbc(aes).
--if CRYPTO_MANAGER2
--
- config CRYPTO_MANAGER_DISABLE_TESTS
-       bool "Disable run-time self tests"
-       default y
-@@ -145,6 +143,8 @@ config CRYPTO_MANAGER_DISABLE_TESTS
-         Disable run-time self tests that normally take place at
-         algorithm registration.
-+if CRYPTO_MANAGER2
-+
- config CRYPTO_MANAGER_EXTRA_TESTS
-       bool "Enable extra run-time crypto self tests"
-       depends on DEBUG_KERNEL && !CRYPTO_MANAGER_DISABLE_TESTS
 --- a/crypto/algboss.c
 +++ b/crypto/algboss.c
 @@ -240,8 +240,12 @@ static int cryptomgr_schedule_test(struc