Lines Matching refs:spawn
150 struct crypto_shash_spawn *spawn = shash_instance_ctx(inst); in hmac_init_tfm() local
153 hash = crypto_spawn_shash(spawn); in hmac_init_tfm()
186 struct crypto_shash_spawn *spawn; in __hmac_create_shash() local
193 inst = kzalloc(sizeof(*inst) + sizeof(*spawn), GFP_KERNEL); in __hmac_create_shash()
196 spawn = shash_instance_ctx(inst); in __hmac_create_shash()
199 err = crypto_grab_shash(spawn, shash_crypto_instance(inst), in __hmac_create_shash()
203 salg = crypto_spawn_shash_alg(spawn); in __hmac_create_shash()
451 struct crypto_ahash_spawn *spawn; in hmac_create_ahash() local
457 inst = kzalloc(sizeof(*inst) + sizeof(*spawn), GFP_KERNEL); in hmac_create_ahash()
460 spawn = ahash_instance_ctx(inst); in hmac_create_ahash()
463 err = crypto_grab_ahash(spawn, ahash_crypto_instance(inst), in hmac_create_ahash()
467 halg = crypto_spawn_ahash_alg(spawn); in hmac_create_ahash()