Lines Matching refs:cryptd_tfm
33 struct cryptd_ahash *cryptd_tfm; member
184 struct cryptd_ahash *cryptd_tfm = ctx->cryptd_tfm; in ghash_async_init() local
186 struct crypto_shash *child = cryptd_ahash_child(cryptd_tfm); in ghash_async_init()
197 struct cryptd_ahash *cryptd_tfm = ctx->cryptd_tfm; in ghash_async_update() local
200 (in_atomic() && cryptd_ahash_queued(cryptd_tfm))) { in ghash_async_update()
202 ahash_request_set_tfm(cryptd_req, &cryptd_tfm->base); in ghash_async_update()
215 struct cryptd_ahash *cryptd_tfm = ctx->cryptd_tfm; in ghash_async_final() local
218 (in_atomic() && cryptd_ahash_queued(cryptd_tfm))) { in ghash_async_final()
220 ahash_request_set_tfm(cryptd_req, &cryptd_tfm->base); in ghash_async_final()
256 struct cryptd_ahash *cryptd_tfm = ctx->cryptd_tfm; in ghash_async_digest() local
259 (in_atomic() && cryptd_ahash_queued(cryptd_tfm))) { in ghash_async_digest()
261 ahash_request_set_tfm(cryptd_req, &cryptd_tfm->base); in ghash_async_digest()
265 struct crypto_shash *child = cryptd_ahash_child(cryptd_tfm); in ghash_async_digest()
276 struct crypto_ahash *child = &ctx->cryptd_tfm->base; in ghash_async_setkey()
286 struct cryptd_ahash *cryptd_tfm; in ghash_async_init_tfm() local
289 cryptd_tfm = cryptd_alloc_ahash("__ghash-pclmulqdqni", in ghash_async_init_tfm()
292 if (IS_ERR(cryptd_tfm)) in ghash_async_init_tfm()
293 return PTR_ERR(cryptd_tfm); in ghash_async_init_tfm()
294 ctx->cryptd_tfm = cryptd_tfm; in ghash_async_init_tfm()
297 crypto_ahash_reqsize(&cryptd_tfm->base)); in ghash_async_init_tfm()
306 cryptd_free_ahash(ctx->cryptd_tfm); in ghash_async_exit_tfm()