Home
last modified time | relevance | path

Searched refs:frontend (Results 1 – 6 of 6) sorted by relevance

/crypto/
Dapi.c448 const struct crypto_type *frontend) in crypto_create_tfm() argument
456 tfmsize = frontend->tfmsize; in crypto_create_tfm()
457 total = tfmsize + sizeof(*tfm) + frontend->extsize(alg); in crypto_create_tfm()
466 err = frontend->init_tfm(tfm); in crypto_create_tfm()
489 const struct crypto_type *frontend, in crypto_find_alg() argument
492 if (frontend) { in crypto_find_alg()
493 type &= frontend->maskclear; in crypto_find_alg()
494 mask &= frontend->maskclear; in crypto_find_alg()
495 type |= frontend->type; in crypto_find_alg()
496 mask |= frontend->maskset; in crypto_find_alg()
[all …]
Dinternal.h75 const struct crypto_type *frontend);
77 const struct crypto_type *frontend,
80 const struct crypto_type *frontend, u32 type, u32 mask);
86 int crypto_type_has_alg(const char *name, const struct crypto_type *frontend,
Dalgapi.c639 const struct crypto_type *frontend) in crypto_init_spawn2() argument
643 if ((alg->cra_flags ^ frontend->type) & frontend->maskset) in crypto_init_spawn2()
646 spawn->frontend = frontend; in crypto_init_spawn2()
647 err = crypto_init_spawn(spawn, alg, inst, frontend->maskset); in crypto_init_spawn2()
660 alg = crypto_find_alg(name, spawn->frontend, type, mask); in crypto_grab_spawn()
737 tfm = crypto_create_tfm(alg, spawn->frontend); in crypto_spawn_tfm2()
813 const struct crypto_type *frontend, in crypto_attr_alg2() argument
822 return crypto_find_alg(name, frontend, type, mask); in crypto_attr_alg2()
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()
Dakcipher.c96 spawn->base.frontend = &crypto_akcipher_type; in crypto_grab_akcipher()
Daead.c374 spawn->base.frontend = &crypto_aead_type; in crypto_grab_aead()
Dskcipher.c984 spawn->base.frontend = &crypto_skcipher_type2; in crypto_grab_skcipher()