Home
last modified time | relevance | path

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

/crypto/
Dinternal.h126 const struct crypto_type *frontend, int node);
127 void *crypto_clone_tfm(const struct crypto_type *frontend,
135 const struct crypto_type *frontend) in crypto_create_tfm() argument
137 return crypto_create_tfm_node(alg, frontend, NUMA_NO_NODE); in crypto_create_tfm()
141 const struct crypto_type *frontend,
145 const struct crypto_type *frontend, u32 type, u32 mask,
149 const struct crypto_type *frontend, u32 type, u32 mask) in crypto_alloc_tfm() argument
151 return crypto_alloc_tfm_node(alg_name, frontend, type, mask, NUMA_NO_NODE); in crypto_alloc_tfm()
158 int crypto_type_has_alg(const char *name, const struct crypto_type *frontend,
Dapi.c485 const struct crypto_type *frontend, int node, in crypto_alloc_tfmmem() argument
493 tfmsize = frontend->tfmsize; in crypto_alloc_tfmmem()
494 total = tfmsize + sizeof(*tfm) + frontend->extsize(alg); in crypto_alloc_tfmmem()
509 const struct crypto_type *frontend, in crypto_create_tfm_node() argument
516 mem = crypto_alloc_tfmmem(alg, frontend, node, GFP_KERNEL); in crypto_create_tfm_node()
520 tfm = (struct crypto_tfm *)(mem + frontend->tfmsize); in crypto_create_tfm_node()
522 err = frontend->init_tfm(tfm); in crypto_create_tfm_node()
543 void *crypto_clone_tfm(const struct crypto_type *frontend, in crypto_clone_tfm() argument
554 mem = crypto_alloc_tfmmem(alg, frontend, otfm->node, GFP_ATOMIC); in crypto_clone_tfm()
560 tfm = (struct crypto_tfm *)(mem + frontend->tfmsize); in crypto_clone_tfm()
[all …]
Dalgapi.c737 alg = crypto_find_alg(name, spawn->frontend, in crypto_grab_spawn()
835 tfm = crypto_create_tfm(alg, spawn->frontend); in crypto_spawn_tfm2()
1042 int crypto_type_has_alg(const char *name, const struct crypto_type *frontend, in crypto_type_has_alg() argument
1046 struct crypto_alg *alg = crypto_find_alg(name, frontend, type, mask); in crypto_type_has_alg()
Dkpp.c121 spawn->base.frontend = &crypto_kpp_type; in crypto_grab_kpp()
Dakcipher.c120 spawn->base.frontend = &crypto_akcipher_type; in crypto_grab_akcipher()
Daead.c260 spawn->base.frontend = &crypto_aead_type; in crypto_grab_aead()
Dahash.c524 spawn->base.frontend = &crypto_ahash_type; in crypto_grab_ahash()
Dshash.c614 spawn->base.frontend = &crypto_shash_type; in crypto_grab_shash()
Dskcipher.c795 spawn->base.frontend = &crypto_skcipher_type; in crypto_grab_skcipher()