Home
last modified time | relevance | path

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

/crypto/
Dinternal.h105 const struct crypto_type *frontend, int node);
108 const struct crypto_type *frontend) in crypto_create_tfm() argument
110 return crypto_create_tfm_node(alg, frontend, NUMA_NO_NODE); in crypto_create_tfm()
114 const struct crypto_type *frontend,
118 const struct crypto_type *frontend, u32 type, u32 mask,
122 const struct crypto_type *frontend, u32 type, u32 mask) in crypto_alloc_tfm() argument
124 return crypto_alloc_tfm_node(alg_name, frontend, type, mask, NUMA_NO_NODE); in crypto_alloc_tfm()
131 int crypto_type_has_alg(const char *name, const struct crypto_type *frontend,
Dapi.c476 const struct crypto_type *frontend, in crypto_create_tfm_node() argument
485 tfmsize = frontend->tfmsize; in crypto_create_tfm_node()
486 total = tfmsize + sizeof(*tfm) + frontend->extsize(alg); in crypto_create_tfm_node()
496 err = frontend->init_tfm(tfm); in crypto_create_tfm_node()
519 const struct crypto_type *frontend, in crypto_find_alg() argument
522 if (frontend) { in crypto_find_alg()
523 type &= frontend->maskclear; in crypto_find_alg()
524 mask &= frontend->maskclear; in crypto_find_alg()
525 type |= frontend->type; in crypto_find_alg()
526 mask |= frontend->maskset; in crypto_find_alg()
[all …]
Dakcipher.c97 spawn->base.frontend = &crypto_akcipher_type; in crypto_grab_akcipher()
Dalgapi.c708 alg = crypto_find_alg(name, spawn->frontend, type, mask); in crypto_grab_spawn()
805 tfm = crypto_create_tfm(alg, spawn->frontend); in crypto_spawn_tfm2()
1065 int crypto_type_has_alg(const char *name, const struct crypto_type *frontend, in crypto_type_has_alg() argument
1069 struct crypto_alg *alg = crypto_find_alg(name, frontend, type, mask); in crypto_type_has_alg()
Daead.c209 spawn->base.frontend = &crypto_aead_type; in crypto_grab_aead()
Dshash.c512 spawn->base.frontend = &crypto_shash_type; in crypto_grab_shash()
Dahash.c550 spawn->base.frontend = &crypto_ahash_type; in crypto_grab_ahash()
Dskcipher.c748 spawn->base.frontend = &crypto_skcipher_type; in crypto_grab_skcipher()