Lines Matching refs:spawn
140 int crypto_grab_skcipher(struct crypto_skcipher_spawn *spawn,
144 int crypto_grab_lskcipher(struct crypto_lskcipher_spawn *spawn,
148 static inline void crypto_drop_skcipher(struct crypto_skcipher_spawn *spawn) in crypto_drop_skcipher() argument
150 crypto_drop_spawn(&spawn->base); in crypto_drop_skcipher()
153 static inline void crypto_drop_lskcipher(struct crypto_lskcipher_spawn *spawn) in crypto_drop_lskcipher() argument
155 crypto_drop_spawn(&spawn->base); in crypto_drop_lskcipher()
159 struct crypto_lskcipher_spawn *spawn) in crypto_lskcipher_spawn_alg() argument
161 return container_of(spawn->base.alg, struct lskcipher_alg, co.base); in crypto_lskcipher_spawn_alg()
165 struct crypto_skcipher_spawn *spawn) in crypto_spawn_skcipher_alg_common() argument
167 return container_of(spawn->base.alg, struct skcipher_alg_common, base); in crypto_spawn_skcipher_alg_common()
171 struct crypto_lskcipher_spawn *spawn) in crypto_spawn_lskcipher_alg() argument
173 return crypto_lskcipher_spawn_alg(spawn); in crypto_spawn_lskcipher_alg()
177 struct crypto_skcipher_spawn *spawn) in crypto_spawn_skcipher() argument
179 return crypto_spawn_tfm2(&spawn->base); in crypto_spawn_skcipher()
183 struct crypto_lskcipher_spawn *spawn) in crypto_spawn_lskcipher() argument
185 return crypto_spawn_tfm2(&spawn->base); in crypto_spawn_lskcipher()
284 struct crypto_cipher_spawn *spawn = skcipher_instance_ctx(inst); in skcipher_ialg_simple() local
286 return crypto_spawn_cipher_alg(spawn); in skcipher_ialg_simple()
303 struct crypto_lskcipher_spawn *spawn = lskcipher_instance_ctx(inst); in lskcipher_ialg_simple() local
305 return crypto_lskcipher_spawn_alg(spawn); in lskcipher_ialg_simple()