Lines Matching refs:cryptd_tfm
59 struct cryptd_ahash *cryptd_tfm;
221 struct cryptd_ahash *cryptd_tfm = ctx->cryptd_tfm;
223 struct crypto_shash *child = cryptd_ahash_child(cryptd_tfm);
234 struct cryptd_ahash *cryptd_tfm = ctx->cryptd_tfm;
237 (in_atomic() && cryptd_ahash_queued(cryptd_tfm))) {
239 ahash_request_set_tfm(cryptd_req, &cryptd_tfm->base);
252 struct cryptd_ahash *cryptd_tfm = ctx->cryptd_tfm;
255 (in_atomic() && cryptd_ahash_queued(cryptd_tfm))) {
257 ahash_request_set_tfm(cryptd_req, &cryptd_tfm->base);
270 struct cryptd_ahash *cryptd_tfm = ctx->cryptd_tfm;
273 (in_atomic() && cryptd_ahash_queued(cryptd_tfm))) {
275 ahash_request_set_tfm(cryptd_req, &cryptd_tfm->base);
279 struct crypto_shash *child = cryptd_ahash_child(cryptd_tfm);
293 desc->tfm = cryptd_ahash_child(ctx->cryptd_tfm);
310 struct crypto_ahash *child = &ctx->cryptd_tfm->base;
320 struct cryptd_ahash *cryptd_tfm;
323 cryptd_tfm = cryptd_alloc_ahash("ghash-ce-sync", 0, 0);
324 if (IS_ERR(cryptd_tfm))
325 return PTR_ERR(cryptd_tfm);
326 ctx->cryptd_tfm = cryptd_tfm;
329 crypto_ahash_reqsize(&cryptd_tfm->base));
338 cryptd_free_ahash(ctx->cryptd_tfm);