Lines Matching refs:spawn
144 int crypto_init_spawn(struct crypto_spawn *spawn, struct crypto_alg *alg,
146 int crypto_init_spawn2(struct crypto_spawn *spawn, struct crypto_alg *alg,
149 int crypto_grab_spawn(struct crypto_spawn *spawn, const char *name,
152 void crypto_drop_spawn(struct crypto_spawn *spawn);
153 struct crypto_tfm *crypto_spawn_tfm(struct crypto_spawn *spawn, u32 type,
155 void *crypto_spawn_tfm2(struct crypto_spawn *spawn);
157 static inline void crypto_set_spawn(struct crypto_spawn *spawn, in crypto_set_spawn() argument
160 spawn->inst = inst; in crypto_set_spawn()
246 struct crypto_spawn *spawn) in crypto_spawn_blkcipher() argument
251 return __crypto_blkcipher_cast(crypto_spawn_tfm(spawn, type, mask)); in crypto_spawn_blkcipher()
265 struct crypto_spawn *spawn) in crypto_spawn_cipher() argument
270 return __crypto_cipher_cast(crypto_spawn_tfm(spawn, type, mask)); in crypto_spawn_cipher()
278 static inline struct crypto_hash *crypto_spawn_hash(struct crypto_spawn *spawn) in crypto_spawn_hash() argument
283 return __crypto_hash_cast(crypto_spawn_tfm(spawn, type, mask)); in crypto_spawn_hash()