Home
last modified time | relevance | path

Searched refs:spawn (Results 1 – 5 of 5) sorted by relevance

/include/crypto/internal/
Dakcipher.h82 struct crypto_akcipher_spawn *spawn, in crypto_set_akcipher_spawn() argument
85 crypto_set_spawn(&spawn->base, inst); in crypto_set_akcipher_spawn()
88 int crypto_grab_akcipher(struct crypto_akcipher_spawn *spawn, const char *name,
92 struct crypto_akcipher_spawn *spawn) in crypto_spawn_akcipher() argument
94 return crypto_spawn_tfm2(&spawn->base); in crypto_spawn_akcipher()
97 static inline void crypto_drop_akcipher(struct crypto_akcipher_spawn *spawn) in crypto_drop_akcipher() argument
99 crypto_drop_spawn(&spawn->base); in crypto_drop_akcipher()
103 struct crypto_akcipher_spawn *spawn) in crypto_spawn_akcipher_alg() argument
105 return container_of(spawn->base.alg, struct akcipher_alg, base); in crypto_spawn_akcipher_alg()
Daead.h85 struct crypto_aead_spawn *spawn, struct crypto_instance *inst) in crypto_set_aead_spawn() argument
87 crypto_set_spawn(&spawn->base, inst); in crypto_set_aead_spawn()
90 int crypto_grab_aead(struct crypto_aead_spawn *spawn, const char *name,
93 static inline void crypto_drop_aead(struct crypto_aead_spawn *spawn) in crypto_drop_aead() argument
95 crypto_drop_spawn(&spawn->base); in crypto_drop_aead()
99 struct crypto_aead_spawn *spawn) in crypto_spawn_aead_alg() argument
101 return container_of(spawn->base.alg, struct aead_alg, base); in crypto_spawn_aead_alg()
105 struct crypto_aead_spawn *spawn) in crypto_spawn_aead() argument
107 return crypto_spawn_tfm2(&spawn->base); in crypto_spawn_aead()
Dskcipher.h92 struct crypto_skcipher_spawn *spawn, struct crypto_instance *inst) in crypto_set_skcipher_spawn() argument
94 crypto_set_spawn(&spawn->base, inst); in crypto_set_skcipher_spawn()
97 int crypto_grab_skcipher(struct crypto_skcipher_spawn *spawn, const char *name,
100 static inline void crypto_drop_skcipher(struct crypto_skcipher_spawn *spawn) in crypto_drop_skcipher() argument
102 crypto_drop_spawn(&spawn->base); in crypto_drop_skcipher()
106 struct crypto_skcipher_spawn *spawn) in crypto_skcipher_spawn_alg() argument
108 return container_of(spawn->base.alg, struct skcipher_alg, base); in crypto_skcipher_spawn_alg()
112 struct crypto_skcipher_spawn *spawn) in crypto_spawn_skcipher_alg() argument
114 return crypto_skcipher_spawn_alg(spawn); in crypto_spawn_skcipher_alg()
118 struct crypto_skcipher_spawn *spawn) in crypto_spawn_skcipher() argument
[all …]
Dhash.h90 int crypto_init_ahash_spawn(struct crypto_ahash_spawn *spawn,
94 static inline void crypto_drop_ahash(struct crypto_ahash_spawn *spawn) in crypto_drop_ahash() argument
96 crypto_drop_spawn(&spawn->base); in crypto_drop_ahash()
109 int crypto_init_shash_spawn(struct crypto_shash_spawn *spawn,
113 static inline void crypto_drop_shash(struct crypto_shash_spawn *spawn) in crypto_drop_shash() argument
115 crypto_drop_spawn(&spawn->base); in crypto_drop_shash()
182 struct crypto_ahash_spawn *spawn) in crypto_spawn_ahash() argument
184 return crypto_spawn_tfm2(&spawn->base); in crypto_spawn_ahash()
230 struct crypto_shash_spawn *spawn) in crypto_spawn_shash() argument
232 return crypto_spawn_tfm2(&spawn->base); in crypto_spawn_shash()
/include/crypto/
Dalgapi.h150 int crypto_init_spawn(struct crypto_spawn *spawn, struct crypto_alg *alg,
152 int crypto_init_spawn2(struct crypto_spawn *spawn, struct crypto_alg *alg,
155 int crypto_grab_spawn(struct crypto_spawn *spawn, const char *name,
158 void crypto_drop_spawn(struct crypto_spawn *spawn);
159 struct crypto_tfm *crypto_spawn_tfm(struct crypto_spawn *spawn, u32 type,
161 void *crypto_spawn_tfm2(struct crypto_spawn *spawn);
163 static inline void crypto_set_spawn(struct crypto_spawn *spawn, in crypto_set_spawn() argument
166 spawn->inst = inst; in crypto_set_spawn()
290 struct crypto_spawn *spawn) in crypto_spawn_blkcipher() argument
295 return __crypto_blkcipher_cast(crypto_spawn_tfm(spawn, type, mask)); in crypto_spawn_blkcipher()
[all …]