Lines Matching refs:tctx
1489 struct s5p_hash_ctx *tctx = crypto_tfm_ctx(req->base.tfm); in s5p_hash_enqueue() local
1493 return s5p_hash_handle_queue(tctx->dd, req); in s5p_hash_enqueue()
1554 struct s5p_hash_ctx *tctx = crypto_tfm_ctx(req->base.tfm); in s5p_hash_final() local
1556 return crypto_shash_tfm_digest(tctx->fallback, ctx->buffer, in s5p_hash_final()
1600 struct s5p_hash_ctx *tctx = crypto_ahash_ctx(tfm); in s5p_hash_init() local
1602 ctx->dd = tctx->dd; in s5p_hash_init()
1610 dev_dbg(tctx->dd->dev, "init: digest size: %d\n", in s5p_hash_init()
1651 struct s5p_hash_ctx *tctx = crypto_tfm_ctx(tfm); in s5p_hash_cra_init_alg() local
1654 tctx->dd = s5p_dev; in s5p_hash_cra_init_alg()
1656 tctx->fallback = crypto_alloc_shash(alg_name, 0, in s5p_hash_cra_init_alg()
1658 if (IS_ERR(tctx->fallback)) { in s5p_hash_cra_init_alg()
1660 return PTR_ERR(tctx->fallback); in s5p_hash_cra_init_alg()
1686 struct s5p_hash_ctx *tctx = crypto_tfm_ctx(tfm); in s5p_hash_cra_exit() local
1688 crypto_free_shash(tctx->fallback); in s5p_hash_cra_exit()
1689 tctx->fallback = NULL; in s5p_hash_cra_exit()
1715 struct s5p_hash_ctx *tctx = crypto_ahash_ctx(tfm); in s5p_hash_import() local
1724 ctx->dd = tctx->dd; in s5p_hash_import()