Lines Matching refs:cra_flags
49 if (!alg->cra_type && (alg->cra_flags & CRYPTO_ALG_TYPE_MASK) == in crypto_check_alg()
121 inst->alg.cra_flags |= CRYPTO_ALG_DEAD; in crypto_remove_instance()
142 u32 new_type = (nalg ?: alg)->cra_flags; in crypto_remove_spawns()
151 if ((spawn->alg->cra_flags ^ new_type) & spawn->mask) in crypto_remove_spawns()
227 alg->cra_flags | CRYPTO_ALG_TESTED, 0); in crypto_alloc_test_larval()
257 alg->cra_flags &= ~CRYPTO_ALG_TESTED; in __crypto_register_alg()
288 alg->cra_flags |= CRYPTO_ALG_TESTED; in __crypto_register_alg()
323 q->cra_flags |= CRYPTO_ALG_DEAD; in crypto_alg_tested()
328 alg->cra_flags |= CRYPTO_ALG_TESTED; in crypto_alg_tested()
366 if ((q->cra_flags ^ alg->cra_flags) & larval->mask) in crypto_alg_tested()
415 alg->cra_flags &= ~CRYPTO_ALG_DEAD; in crypto_register_alg()
441 alg->cra_flags |= CRYPTO_ALG_DEAD; in crypto_remove_alg()
614 inst->alg.cra_flags |= CRYPTO_ALG_INSTANCE; in crypto_register_instance()
697 inst->alg.cra_flags |= in crypto_grab_spawn()
698 (alg->cra_flags & CRYPTO_ALG_INHERITED_FLAGS); in crypto_grab_spawn()
759 if (unlikely((alg->cra_flags ^ type) & mask)) in crypto_spawn_tfm()