Searched refs:frontend (Results 1 – 6 of 6) sorted by relevance
/crypto/ |
D | api.c | 460 const struct crypto_type *frontend) in crypto_create_tfm() argument 468 tfmsize = frontend->tfmsize; in crypto_create_tfm() 469 total = tfmsize + sizeof(*tfm) + frontend->extsize(alg); in crypto_create_tfm() 478 err = frontend->init_tfm(tfm); in crypto_create_tfm() 501 const struct crypto_type *frontend, in crypto_find_alg() argument 507 if (frontend) { in crypto_find_alg() 508 type &= frontend->maskclear; in crypto_find_alg() 509 mask &= frontend->maskclear; in crypto_find_alg() 510 type |= frontend->type; in crypto_find_alg() 511 mask |= frontend->maskset; in crypto_find_alg() [all …]
|
D | internal.h | 94 const struct crypto_type *frontend); 96 const struct crypto_type *frontend, 99 const struct crypto_type *frontend, u32 type, u32 mask); 107 int crypto_type_has_alg(const char *name, const struct crypto_type *frontend,
|
D | algapi.c | 622 const struct crypto_type *frontend) in crypto_init_spawn2() argument 626 if ((alg->cra_flags ^ frontend->type) & frontend->maskset) in crypto_init_spawn2() 629 spawn->frontend = frontend; in crypto_init_spawn2() 630 err = crypto_init_spawn(spawn, alg, inst, frontend->maskset); in crypto_init_spawn2() 643 alg = crypto_find_alg(name, spawn->frontend, type, mask); in crypto_grab_spawn() 720 tfm = crypto_create_tfm(alg, spawn->frontend); in crypto_spawn_tfm2() 796 const struct crypto_type *frontend, in crypto_attr_alg2() argument 805 return crypto_find_alg(name, frontend, type, mask); in crypto_attr_alg2() 1013 int crypto_type_has_alg(const char *name, const struct crypto_type *frontend, in crypto_type_has_alg() argument 1017 struct crypto_alg *alg = crypto_find_alg(name, frontend, type, mask); in crypto_type_has_alg()
|
D | akcipher.c | 103 spawn->base.frontend = &crypto_akcipher_type; in crypto_grab_akcipher()
|
D | aead.c | 334 spawn->base.frontend = &crypto_aead_type; in crypto_grab_aead()
|
D | skcipher.c | 369 spawn->base.frontend = &crypto_skcipher_type2; in crypto_grab_skcipher()
|