Lines Matching refs:tctx
1488 struct s5p_hash_ctx *tctx = crypto_tfm_ctx(req->base.tfm); in s5p_hash_enqueue() local
1492 return s5p_hash_handle_queue(tctx->dd, req); in s5p_hash_enqueue()
1553 struct s5p_hash_ctx *tctx = crypto_tfm_ctx(req->base.tfm); in s5p_hash_final() local
1555 return crypto_shash_tfm_digest(tctx->fallback, ctx->buffer, in s5p_hash_final()
1599 struct s5p_hash_ctx *tctx = crypto_ahash_ctx(tfm); in s5p_hash_init() local
1601 ctx->dd = tctx->dd; in s5p_hash_init()
1609 dev_dbg(tctx->dd->dev, "init: digest size: %d\n", in s5p_hash_init()
1650 struct s5p_hash_ctx *tctx = crypto_tfm_ctx(tfm); in s5p_hash_cra_init_alg() local
1653 tctx->dd = s5p_dev; in s5p_hash_cra_init_alg()
1655 tctx->fallback = crypto_alloc_shash(alg_name, 0, in s5p_hash_cra_init_alg()
1657 if (IS_ERR(tctx->fallback)) { in s5p_hash_cra_init_alg()
1659 return PTR_ERR(tctx->fallback); in s5p_hash_cra_init_alg()
1685 struct s5p_hash_ctx *tctx = crypto_tfm_ctx(tfm); in s5p_hash_cra_exit() local
1687 crypto_free_shash(tctx->fallback); in s5p_hash_cra_exit()
1688 tctx->fallback = NULL; in s5p_hash_cra_exit()
1714 struct s5p_hash_ctx *tctx = crypto_ahash_ctx(tfm); in s5p_hash_import() local
1723 ctx->dd = tctx->dd; in s5p_hash_import()