Home
last modified time | relevance | path

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

/crypto/
Dinternal.h70 const struct crypto_type *frontend, int node);
73 const struct crypto_type *frontend) in crypto_create_tfm() argument
75 return crypto_create_tfm_node(alg, frontend, NUMA_NO_NODE); in crypto_create_tfm()
79 const struct crypto_type *frontend,
83 const struct crypto_type *frontend, u32 type, u32 mask,
87 const struct crypto_type *frontend, u32 type, u32 mask) in crypto_alloc_tfm() argument
89 return crypto_alloc_tfm_node(alg_name, frontend, type, mask, NUMA_NO_NODE); in crypto_alloc_tfm()
96 int crypto_type_has_alg(const char *name, const struct crypto_type *frontend,
Dapi.c437 const struct crypto_type *frontend, in crypto_create_tfm_node() argument
446 tfmsize = frontend->tfmsize; in crypto_create_tfm_node()
447 total = tfmsize + sizeof(*tfm) + frontend->extsize(alg); in crypto_create_tfm_node()
457 err = frontend->init_tfm(tfm); in crypto_create_tfm_node()
480 const struct crypto_type *frontend, in crypto_find_alg() argument
483 if (frontend) { in crypto_find_alg()
484 type &= frontend->maskclear; in crypto_find_alg()
485 mask &= frontend->maskclear; in crypto_find_alg()
486 type |= frontend->type; in crypto_find_alg()
487 mask |= frontend->maskset; in crypto_find_alg()
[all …]
Dakcipher.c97 spawn->base.frontend = &crypto_akcipher_type; in crypto_grab_akcipher()
Dalgapi.c685 alg = crypto_find_alg(name, spawn->frontend, type, mask); in crypto_grab_spawn()
782 tfm = crypto_create_tfm(alg, spawn->frontend); in crypto_spawn_tfm2()
1057 int crypto_type_has_alg(const char *name, const struct crypto_type *frontend, in crypto_type_has_alg() argument
1061 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.c754 spawn->base.frontend = &crypto_skcipher_type; in crypto_grab_skcipher()