Lines Matching refs:spawn

139 int crypto_grab_skcipher(struct crypto_skcipher_spawn *spawn,
143 int crypto_grab_lskcipher(struct crypto_lskcipher_spawn *spawn,
147 static inline void crypto_drop_skcipher(struct crypto_skcipher_spawn *spawn) in crypto_drop_skcipher() argument
149 crypto_drop_spawn(&spawn->base); in crypto_drop_skcipher()
152 static inline void crypto_drop_lskcipher(struct crypto_lskcipher_spawn *spawn) in crypto_drop_lskcipher() argument
154 crypto_drop_spawn(&spawn->base); in crypto_drop_lskcipher()
158 struct crypto_lskcipher_spawn *spawn) in crypto_lskcipher_spawn_alg() argument
160 return container_of(spawn->base.alg, struct lskcipher_alg, co.base); in crypto_lskcipher_spawn_alg()
164 struct crypto_skcipher_spawn *spawn) in crypto_spawn_skcipher_alg_common() argument
166 return container_of(spawn->base.alg, struct skcipher_alg_common, base); in crypto_spawn_skcipher_alg_common()
170 struct crypto_lskcipher_spawn *spawn) in crypto_spawn_lskcipher_alg() argument
172 return crypto_lskcipher_spawn_alg(spawn); in crypto_spawn_lskcipher_alg()
176 struct crypto_skcipher_spawn *spawn) in crypto_spawn_skcipher() argument
178 return crypto_spawn_tfm2(&spawn->base); in crypto_spawn_skcipher()
182 struct crypto_lskcipher_spawn *spawn) in crypto_spawn_lskcipher() argument
184 return crypto_spawn_tfm2(&spawn->base); in crypto_spawn_lskcipher()
283 struct crypto_cipher_spawn *spawn = skcipher_instance_ctx(inst); in skcipher_ialg_simple() local
285 return crypto_spawn_cipher_alg(spawn); in skcipher_ialg_simple()
302 struct crypto_lskcipher_spawn *spawn = lskcipher_instance_ctx(inst); in lskcipher_ialg_simple() local
304 return crypto_lskcipher_spawn_alg(spawn); in lskcipher_ialg_simple()