Lines Matching refs:mcryptd_tfm
77 struct mcryptd_ahash *mcryptd_tfm; member
708 struct mcryptd_ahash *mcryptd_tfm; in sha256_mb_async_init_tfm() local
712 mcryptd_tfm = mcryptd_alloc_ahash("__intel_sha256-mb", in sha256_mb_async_init_tfm()
715 if (IS_ERR(mcryptd_tfm)) in sha256_mb_async_init_tfm()
716 return PTR_ERR(mcryptd_tfm); in sha256_mb_async_init_tfm()
717 mctx = crypto_ahash_ctx(&mcryptd_tfm->base); in sha256_mb_async_init_tfm()
719 ctx->mcryptd_tfm = mcryptd_tfm; in sha256_mb_async_init_tfm()
722 crypto_ahash_reqsize(&mcryptd_tfm->base)); in sha256_mb_async_init_tfm()
731 mcryptd_free_ahash(ctx->mcryptd_tfm); in sha256_mb_async_exit_tfm()
747 mcryptd_free_ahash(ctx->mcryptd_tfm); in sha256_mb_areq_exit_tfm()
788 struct mcryptd_ahash *mcryptd_tfm = ctx->mcryptd_tfm; in sha256_mb_async_init() local
791 ahash_request_set_tfm(mcryptd_req, &mcryptd_tfm->base); in sha256_mb_async_init()
801 struct mcryptd_ahash *mcryptd_tfm = ctx->mcryptd_tfm; in sha256_mb_async_update() local
804 ahash_request_set_tfm(mcryptd_req, &mcryptd_tfm->base); in sha256_mb_async_update()
814 struct mcryptd_ahash *mcryptd_tfm = ctx->mcryptd_tfm; in sha256_mb_async_finup() local
817 ahash_request_set_tfm(mcryptd_req, &mcryptd_tfm->base); in sha256_mb_async_finup()
827 struct mcryptd_ahash *mcryptd_tfm = ctx->mcryptd_tfm; in sha256_mb_async_final() local
830 ahash_request_set_tfm(mcryptd_req, &mcryptd_tfm->base); in sha256_mb_async_final()
839 struct mcryptd_ahash *mcryptd_tfm = ctx->mcryptd_tfm; in sha256_mb_async_digest() local
842 ahash_request_set_tfm(mcryptd_req, &mcryptd_tfm->base); in sha256_mb_async_digest()
851 struct mcryptd_ahash *mcryptd_tfm = ctx->mcryptd_tfm; in sha256_mb_async_export() local
854 ahash_request_set_tfm(mcryptd_req, &mcryptd_tfm->base); in sha256_mb_async_export()
863 struct mcryptd_ahash *mcryptd_tfm = ctx->mcryptd_tfm; in sha256_mb_async_import() local
864 struct crypto_ahash *child = mcryptd_ahash_child(mcryptd_tfm); in sha256_mb_async_import()
869 ahash_request_set_tfm(mcryptd_req, &mcryptd_tfm->base); in sha256_mb_async_import()