Lines Matching refs:name
254 void crypto_alg_tested(const char *name, int err) in crypto_alg_tested() argument
268 if (!strcmp(q->cra_driver_name, name)) in crypto_alg_tested()
272 pr_err("alg: Unexpected test result for %s: %d\n", name, err); in crypto_alg_tested()
534 static struct crypto_template *__crypto_lookup_template(const char *name) in __crypto_lookup_template() argument
540 if (strcmp(q->name, name)) in __crypto_lookup_template()
553 struct crypto_template *crypto_lookup_template(const char *name) in crypto_lookup_template() argument
555 return try_then_request_module(__crypto_lookup_template(name), in crypto_lookup_template()
556 "crypto-%s", name); in crypto_lookup_template()
654 int crypto_grab_spawn(struct crypto_spawn *spawn, const char *name, in crypto_grab_spawn() argument
660 alg = crypto_find_alg(name, spawn->frontend, type, mask); in crypto_grab_spawn()
806 alga->name[CRYPTO_MAX_ALG_NAME - 1] = 0; in crypto_attr_alg_name()
808 return alga->name; in crypto_attr_alg_name()
816 const char *name; in crypto_attr_alg2() local
818 name = crypto_attr_alg_name(rta); in crypto_attr_alg2()
819 if (IS_ERR(name)) in crypto_attr_alg2()
820 return ERR_CAST(name); in crypto_attr_alg2()
822 return crypto_find_alg(name, frontend, type, mask); in crypto_attr_alg2()
844 int crypto_inst_setname(struct crypto_instance *inst, const char *name, in crypto_inst_setname() argument
847 if (snprintf(inst->alg.cra_name, CRYPTO_MAX_ALG_NAME, "%s(%s)", name, in crypto_inst_setname()
852 name, alg->cra_driver_name) >= CRYPTO_MAX_ALG_NAME) in crypto_inst_setname()
859 void *crypto_alloc_instance(const char *name, struct crypto_alg *alg, in crypto_alloc_instance() argument
873 err = crypto_inst_setname(inst, name, alg); in crypto_alloc_instance()
1027 int crypto_type_has_alg(const char *name, const struct crypto_type *frontend, in crypto_type_has_alg() argument
1031 struct crypto_alg *alg = crypto_find_alg(name, frontend, type, mask); in crypto_type_has_alg()