--- zzzz-none-000/linux-5.4.213/crypto/algboss.c 2022-09-15 10:04:56.000000000 +0000 +++ miami-7690-761/linux-5.4.213/crypto/algboss.c 2024-05-29 11:19:50.000000000 +0000 @@ -240,8 +240,12 @@ type = alg->cra_flags; /* Do not test internal algorithms. */ +#ifdef CONFIG_CRYPTO_MANAGER_DISABLE_TESTS + type |= CRYPTO_ALG_TESTED; +#else if (type & CRYPTO_ALG_INTERNAL) type |= CRYPTO_ALG_TESTED; +#endif param->type = type;