--- zzzz-none-000/linux-4.9.218/crypto/algboss.c 2020-04-02 15:20:41.000000000 +0000 +++ seale-7590ac-750/linux-4.9.218/crypto/algboss.c 2022-11-30 09:46:19.000000000 +0000 @@ -248,12 +248,16 @@ type = alg->cra_flags; /* This piece of crap needs to disappear into per-type test hooks. */ +#ifdef CONFIG_CRYPTO_MANAGER_DISABLE_TESTS + type |= CRYPTO_ALG_TESTED; +#else if (!((type ^ CRYPTO_ALG_TYPE_BLKCIPHER) & CRYPTO_ALG_TYPE_BLKCIPHER_MASK) && !(type & CRYPTO_ALG_GENIV) && ((alg->cra_flags & CRYPTO_ALG_TYPE_MASK) == CRYPTO_ALG_TYPE_BLKCIPHER ? alg->cra_blkcipher.ivsize : alg->cra_ablkcipher.ivsize)) type |= CRYPTO_ALG_TESTED; +#endif param->type = type;