Lines Matching refs:spawn
46 struct crypto_spawn spawn; member
51 struct crypto_skcipher_spawn spawn; member
56 struct crypto_shash_spawn spawn; member
367 struct crypto_skcipher_spawn *spawn = &ictx->spawn; in cryptd_skcipher_init_tfm() local
371 cipher = crypto_spawn_skcipher(spawn); in cryptd_skcipher_init_tfm()
392 crypto_drop_skcipher(&ctx->spawn); in cryptd_skcipher_free()
424 crypto_set_skcipher_spawn(&ctx->spawn, skcipher_crypto_instance(inst)); in cryptd_create_skcipher()
425 err = crypto_grab_skcipher(&ctx->spawn, name, type, mask); in cryptd_create_skcipher()
429 alg = crypto_spawn_skcipher_alg(&ctx->spawn); in cryptd_create_skcipher()
456 crypto_drop_skcipher(&ctx->spawn); in cryptd_create_skcipher()
467 struct crypto_shash_spawn *spawn = &ictx->spawn; in cryptd_hash_init_tfm() local
471 hash = crypto_spawn_shash(spawn); in cryptd_hash_init_tfm()
696 err = crypto_init_shash_spawn(&ctx->spawn, salg, in cryptd_create_hash()
724 crypto_drop_shash(&ctx->spawn); in cryptd_create_hash()
831 struct crypto_aead_spawn *spawn = &ictx->aead_spawn; in cryptd_aead_init_tfm() local
835 cipher = crypto_spawn_aead(spawn); in cryptd_aead_init_tfm()
941 crypto_drop_shash(&hctx->spawn); in cryptd_free()
949 crypto_drop_spawn(&ctx->spawn); in cryptd_free()