Lines Matching refs:spawn
226 struct crypto_skcipher_spawn *spawn = skcipher_instance_ctx(inst); in crypto_rfc3686_init_tfm() local
232 cipher = crypto_spawn_skcipher(spawn); in crypto_rfc3686_init_tfm()
256 struct crypto_skcipher_spawn *spawn = skcipher_instance_ctx(inst); in crypto_rfc3686_free() local
258 crypto_drop_skcipher(spawn); in crypto_rfc3686_free()
268 struct crypto_skcipher_spawn *spawn; in crypto_rfc3686_create() local
285 inst = kzalloc(sizeof(*inst) + sizeof(*spawn), GFP_KERNEL); in crypto_rfc3686_create()
293 spawn = skcipher_instance_ctx(inst); in crypto_rfc3686_create()
295 crypto_set_skcipher_spawn(spawn, skcipher_crypto_instance(inst)); in crypto_rfc3686_create()
296 err = crypto_grab_skcipher(spawn, cipher_name, 0, mask); in crypto_rfc3686_create()
300 alg = crypto_spawn_skcipher_alg(spawn); in crypto_rfc3686_create()
352 crypto_drop_skcipher(spawn); in crypto_rfc3686_create()