Lines Matching refs:spawn
160 struct crypto_spawn *spawn = crypto_instance_ctx(inst); in crypto_ctr_init_tfm() local
164 cipher = crypto_spawn_cipher(spawn); in crypto_ctr_init_tfm()
317 struct crypto_skcipher_spawn *spawn = skcipher_instance_ctx(inst); in crypto_rfc3686_init_tfm() local
323 cipher = crypto_spawn_skcipher(spawn); in crypto_rfc3686_init_tfm()
347 struct crypto_skcipher_spawn *spawn = skcipher_instance_ctx(inst); in crypto_rfc3686_free() local
349 crypto_drop_skcipher(spawn); in crypto_rfc3686_free()
359 struct crypto_skcipher_spawn *spawn; in crypto_rfc3686_create() local
376 inst = kzalloc(sizeof(*inst) + sizeof(*spawn), GFP_KERNEL); in crypto_rfc3686_create()
384 spawn = skcipher_instance_ctx(inst); in crypto_rfc3686_create()
386 crypto_set_skcipher_spawn(spawn, skcipher_crypto_instance(inst)); in crypto_rfc3686_create()
387 err = crypto_grab_skcipher(spawn, cipher_name, 0, mask); in crypto_rfc3686_create()
391 alg = crypto_spawn_skcipher_alg(spawn); in crypto_rfc3686_create()
443 crypto_drop_skcipher(spawn); in crypto_rfc3686_create()