--- zzzz-none-000/linux-5.4.213/crypto/algboss.c 2022-09-15 10:04:56.000000000 +0000 +++ alder-5690pro-762/linux-5.4.213/crypto/algboss.c 2024-08-14 09:01:35.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;