• Home
  • Raw
  • Download

Lines Matching refs:tctx

363 	struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm);  in aspeed_ahash_hmac_resume()  local
364 struct aspeed_sha_hmac_ctx *bctx = tctx->base; in aspeed_ahash_hmac_resume()
549 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_ahash_do_request() local
550 struct aspeed_hace_dev *hace_dev = tctx->hace_dev; in aspeed_ahash_do_request()
573 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_ahash_prepare_request() local
574 struct aspeed_hace_dev *hace_dev = tctx->hace_dev; in aspeed_ahash_prepare_request()
592 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_sham_update() local
593 struct aspeed_hace_dev *hace_dev = tctx->hace_dev; in aspeed_sham_update()
633 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_sham_final() local
634 struct aspeed_hace_dev *hace_dev = tctx->hace_dev; in aspeed_sham_final()
647 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_sham_finup() local
648 struct aspeed_hace_dev *hace_dev = tctx->hace_dev; in aspeed_sham_finup()
672 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_sham_init() local
673 struct aspeed_hace_dev *hace_dev = tctx->hace_dev; in aspeed_sham_init()
674 struct aspeed_sha_hmac_ctx *bctx = tctx->base; in aspeed_sham_init()
732 dev_warn(tctx->hace_dev->dev, "digest size %d not support\n", in aspeed_sham_init()
743 if (tctx->flags & SHA_FLAGS_HMAC) { in aspeed_sham_init()
757 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_sha512s_init() local
758 struct aspeed_hace_dev *hace_dev = tctx->hace_dev; in aspeed_sha512s_init()
759 struct aspeed_sha_hmac_ctx *bctx = tctx->base; in aspeed_sha512s_init()
788 dev_warn(tctx->hace_dev->dev, "digest size %d not support\n", in aspeed_sha512s_init()
799 if (tctx->flags & SHA_FLAGS_HMAC) { in aspeed_sha512s_init()
817 struct aspeed_sham_ctx *tctx = crypto_ahash_ctx(tfm); in aspeed_sham_setkey() local
818 struct aspeed_hace_dev *hace_dev = tctx->hace_dev; in aspeed_sham_setkey()
819 struct aspeed_sha_hmac_ctx *bctx = tctx->base; in aspeed_sham_setkey()
854 struct aspeed_sham_ctx *tctx = crypto_tfm_ctx(tfm); in aspeed_sham_cra_init() local
858 tctx->hace_dev = ast_alg->hace_dev; in aspeed_sham_cra_init()
859 tctx->flags = 0; in aspeed_sham_cra_init()
866 struct aspeed_sha_hmac_ctx *bctx = tctx->base; in aspeed_sham_cra_init()
868 tctx->flags |= SHA_FLAGS_HMAC; in aspeed_sham_cra_init()
879 tctx->enginectx.op.do_one_request = aspeed_ahash_do_request; in aspeed_sham_cra_init()
880 tctx->enginectx.op.prepare_request = aspeed_ahash_prepare_request; in aspeed_sham_cra_init()
881 tctx->enginectx.op.unprepare_request = NULL; in aspeed_sham_cra_init()
888 struct aspeed_sham_ctx *tctx = crypto_tfm_ctx(tfm); in aspeed_sham_cra_exit() local
889 struct aspeed_hace_dev *hace_dev = tctx->hace_dev; in aspeed_sham_cra_exit()
893 if (tctx->flags & SHA_FLAGS_HMAC) { in aspeed_sham_cra_exit()
894 struct aspeed_sha_hmac_ctx *bctx = tctx->base; in aspeed_sham_cra_exit()