Lines Matching refs:spawn

133 int crypto_grab_skcipher(struct crypto_skcipher_spawn *spawn,
137 int crypto_grab_lskcipher(struct crypto_lskcipher_spawn *spawn,
141 static inline void crypto_drop_skcipher(struct crypto_skcipher_spawn *spawn) in crypto_drop_skcipher() argument
143 crypto_drop_spawn(&spawn->base); in crypto_drop_skcipher()
146 static inline void crypto_drop_lskcipher(struct crypto_lskcipher_spawn *spawn) in crypto_drop_lskcipher() argument
148 crypto_drop_spawn(&spawn->base); in crypto_drop_lskcipher()
152 struct crypto_lskcipher_spawn *spawn) in crypto_lskcipher_spawn_alg() argument
154 return container_of(spawn->base.alg, struct lskcipher_alg, co.base); in crypto_lskcipher_spawn_alg()
158 struct crypto_skcipher_spawn *spawn) in crypto_spawn_skcipher_alg_common() argument
160 return container_of(spawn->base.alg, struct skcipher_alg_common, base); in crypto_spawn_skcipher_alg_common()
164 struct crypto_lskcipher_spawn *spawn) in crypto_spawn_lskcipher_alg() argument
166 return crypto_lskcipher_spawn_alg(spawn); in crypto_spawn_lskcipher_alg()
170 struct crypto_skcipher_spawn *spawn) in crypto_spawn_skcipher() argument
172 return crypto_spawn_tfm2(&spawn->base); in crypto_spawn_skcipher()
176 struct crypto_lskcipher_spawn *spawn) in crypto_spawn_lskcipher() argument
178 return crypto_spawn_tfm2(&spawn->base); in crypto_spawn_lskcipher()
278 struct crypto_cipher_spawn *spawn = skcipher_instance_ctx(inst); in skcipher_ialg_simple() local
280 return crypto_spawn_cipher_alg(spawn); in skcipher_ialg_simple()
297 struct crypto_lskcipher_spawn *spawn = lskcipher_instance_ctx(inst); in lskcipher_ialg_simple() local
299 return crypto_lskcipher_spawn_alg(spawn); in lskcipher_ialg_simple()