Lines Matching refs:spawn
670 struct crypto_aead_spawn *spawn = aead_instance_ctx(inst); in crypto_rfc4309_init_tfm() local
675 aead = crypto_spawn_aead(spawn); in crypto_rfc4309_init_tfm()
710 struct crypto_aead_spawn *spawn; in crypto_rfc4309_create() local
718 inst = kzalloc(sizeof(*inst) + sizeof(*spawn), GFP_KERNEL); in crypto_rfc4309_create()
722 spawn = aead_instance_ctx(inst); in crypto_rfc4309_create()
723 err = crypto_grab_aead(spawn, aead_crypto_instance(inst), in crypto_rfc4309_create()
728 alg = crypto_spawn_aead_alg(spawn); in crypto_rfc4309_create()
844 struct crypto_cipher_spawn *spawn = crypto_instance_ctx(inst); in cbcmac_init_tfm() local
847 cipher = crypto_spawn_cipher(spawn); in cbcmac_init_tfm()
865 struct crypto_cipher_spawn *spawn; in cbcmac_create() local
874 inst = kzalloc(sizeof(*inst) + sizeof(*spawn), GFP_KERNEL); in cbcmac_create()
877 spawn = shash_instance_ctx(inst); in cbcmac_create()
879 err = crypto_grab_cipher(spawn, shash_crypto_instance(inst), in cbcmac_create()
883 alg = crypto_spawn_cipher_alg(spawn); in cbcmac_create()