Lines Matching refs:cryptd_tfm
40 struct cryptd_skcipher *cryptd_tfm; member
47 struct crypto_skcipher *child = &ctx->cryptd_tfm->base; in simd_skcipher_setkey()
70 (in_atomic() && cryptd_skcipher_queued(ctx->cryptd_tfm))) in simd_skcipher_encrypt()
71 child = &ctx->cryptd_tfm->base; in simd_skcipher_encrypt()
73 child = cryptd_skcipher_child(ctx->cryptd_tfm); in simd_skcipher_encrypt()
91 (in_atomic() && cryptd_skcipher_queued(ctx->cryptd_tfm))) in simd_skcipher_decrypt()
92 child = &ctx->cryptd_tfm->base; in simd_skcipher_decrypt()
94 child = cryptd_skcipher_child(ctx->cryptd_tfm); in simd_skcipher_decrypt()
105 cryptd_free_skcipher(ctx->cryptd_tfm); in simd_skcipher_exit()
111 struct cryptd_skcipher *cryptd_tfm; in simd_skcipher_init() local
119 cryptd_tfm = cryptd_alloc_skcipher(salg->ialg_name, in simd_skcipher_init()
122 if (IS_ERR(cryptd_tfm)) in simd_skcipher_init()
123 return PTR_ERR(cryptd_tfm); in simd_skcipher_init()
125 ctx->cryptd_tfm = cryptd_tfm; in simd_skcipher_init()
128 reqsize += crypto_skcipher_reqsize(&cryptd_tfm->base); in simd_skcipher_init()