Lines Matching refs:spawn
671 struct crypto_aead_spawn *spawn = aead_instance_ctx(inst); in crypto_rfc4309_init_tfm() local
676 aead = crypto_spawn_aead(spawn); in crypto_rfc4309_init_tfm()
711 struct crypto_aead_spawn *spawn; in crypto_rfc4309_create() local
719 inst = kzalloc(sizeof(*inst) + sizeof(*spawn), GFP_KERNEL); in crypto_rfc4309_create()
723 spawn = aead_instance_ctx(inst); in crypto_rfc4309_create()
724 err = crypto_grab_aead(spawn, aead_crypto_instance(inst), in crypto_rfc4309_create()
729 alg = crypto_spawn_aead_alg(spawn); in crypto_rfc4309_create()
845 struct crypto_cipher_spawn *spawn = crypto_instance_ctx(inst); in cbcmac_init_tfm() local
848 cipher = crypto_spawn_cipher(spawn); in cbcmac_init_tfm()
866 struct crypto_cipher_spawn *spawn; in cbcmac_create() local
875 inst = kzalloc(sizeof(*inst) + sizeof(*spawn), GFP_KERNEL); in cbcmac_create()
878 spawn = shash_instance_ctx(inst); in cbcmac_create()
880 err = crypto_grab_cipher(spawn, shash_crypto_instance(inst), in cbcmac_create()
884 alg = crypto_spawn_cipher_alg(spawn); in cbcmac_create()