Lines Matching refs:cryptd_tfm
41 struct crypto_ablkcipher *child = &ctx->cryptd_tfm->base; in ablk_set_key()
60 desc.tfm = cryptd_ablkcipher_child(ctx->cryptd_tfm); in __ablk_encrypt()
79 ablkcipher_request_set_tfm(cryptd_req, &ctx->cryptd_tfm->base); in ablk_encrypt()
98 ablkcipher_request_set_tfm(cryptd_req, &ctx->cryptd_tfm->base); in ablk_decrypt()
104 desc.tfm = cryptd_ablkcipher_child(ctx->cryptd_tfm); in ablk_decrypt()
118 cryptd_free_ablkcipher(ctx->cryptd_tfm); in ablk_exit()
125 struct cryptd_ablkcipher *cryptd_tfm; in ablk_init_common() local
127 cryptd_tfm = cryptd_alloc_ablkcipher(drv_name, CRYPTO_ALG_INTERNAL, in ablk_init_common()
129 if (IS_ERR(cryptd_tfm)) in ablk_init_common()
130 return PTR_ERR(cryptd_tfm); in ablk_init_common()
132 ctx->cryptd_tfm = cryptd_tfm; in ablk_init_common()
134 crypto_ablkcipher_reqsize(&cryptd_tfm->base); in ablk_init_common()