Lines Matching refs:spawn
142 int crypto_init_spawn(struct crypto_spawn *spawn, struct crypto_alg *alg,
144 int crypto_init_spawn2(struct crypto_spawn *spawn, struct crypto_alg *alg,
148 void crypto_drop_spawn(struct crypto_spawn *spawn);
149 struct crypto_tfm *crypto_spawn_tfm(struct crypto_spawn *spawn, u32 type,
151 void *crypto_spawn_tfm2(struct crypto_spawn *spawn);
153 static inline void crypto_set_spawn(struct crypto_spawn *spawn, in crypto_set_spawn() argument
156 spawn->inst = inst; in crypto_set_spawn()
259 struct crypto_spawn *spawn) in crypto_spawn_blkcipher() argument
264 return __crypto_blkcipher_cast(crypto_spawn_tfm(spawn, type, mask)); in crypto_spawn_blkcipher()
278 struct crypto_spawn *spawn) in crypto_spawn_cipher() argument
283 return __crypto_cipher_cast(crypto_spawn_tfm(spawn, type, mask)); in crypto_spawn_cipher()
291 static inline struct crypto_hash *crypto_spawn_hash(struct crypto_spawn *spawn) in crypto_spawn_hash() argument
296 return __crypto_hash_cast(crypto_spawn_tfm(spawn, type, mask)); in crypto_spawn_hash()