Lines Matching refs:mask
146 if ((spawn->alg->cra_flags ^ new_type) & spawn->mask) in crypto_remove_spawns()
307 if ((q->cra_flags ^ alg->cra_flags) & larval->mask) in crypto_alg_tested()
601 struct crypto_instance *inst, u32 mask) in crypto_init_spawn() argument
606 spawn->mask = mask; in crypto_init_spawn()
638 u32 type, u32 mask) in crypto_grab_spawn() argument
643 alg = crypto_find_alg(name, spawn->frontend, type, mask); in crypto_grab_spawn()
647 err = crypto_init_spawn(spawn, alg, spawn->inst, mask); in crypto_grab_spawn()
686 u32 mask) in crypto_spawn_tfm() argument
696 if (unlikely((alg->cra_flags ^ type) & mask)) in crypto_spawn_tfm()
699 tfm = __crypto_alloc_tfm(alg, type, mask); in crypto_spawn_tfm()
770 if ((algt->type ^ type) & algt->mask) in crypto_check_attr_type()
797 u32 type, u32 mask) in crypto_attr_alg2() argument
805 return crypto_find_alg(name, frontend, type, mask); in crypto_attr_alg2()
1014 u32 type, u32 mask) in crypto_type_has_alg() argument
1017 struct crypto_alg *alg = crypto_find_alg(name, frontend, type, mask); in crypto_type_has_alg()