• Home
  • Raw
  • Download

Lines Matching refs:tfm

22 int sun8i_ce_hash_crainit(struct crypto_tfm *tfm)  in sun8i_ce_hash_crainit()  argument
24 struct sun8i_ce_hash_tfm_ctx *op = crypto_tfm_ctx(tfm); in sun8i_ce_hash_crainit()
25 struct ahash_alg *alg = __crypto_ahash_alg(tfm->__crt_alg); in sun8i_ce_hash_crainit()
39 op->fallback_tfm = crypto_alloc_ahash(crypto_tfm_alg_name(tfm), 0, in sun8i_ce_hash_crainit()
49 crypto_ahash_set_reqsize(__crypto_ahash_cast(tfm), in sun8i_ce_hash_crainit()
54 crypto_tfm_alg_driver_name(tfm), in sun8i_ce_hash_crainit()
66 void sun8i_ce_hash_craexit(struct crypto_tfm *tfm) in sun8i_ce_hash_craexit() argument
68 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_tfm_ctx(tfm); in sun8i_ce_hash_craexit()
77 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_init() local
78 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_init()
91 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_export() local
92 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_export()
103 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_import() local
104 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_import()
115 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_final() local
116 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_final()
118 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_final()
138 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_update() local
139 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_update()
153 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_finup() local
154 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_finup()
156 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_finup()
178 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_digest_fb() local
179 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_digest_fb()
181 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_digest_fb()
220 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_digest() local
221 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_digest()
254 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun8i_ce_hash_run() local
255 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun8i_ce_hash_run()
308 dev_dbg(ce->dev, "%s %s len=%d\n", __func__, crypto_tfm_alg_name(areq->base.tfm), areq->nbytes); in sun8i_ce_hash_run()
406 err = sun8i_ce_run_task(ce, flow, crypto_tfm_alg_name(areq->base.tfm)); in sun8i_ce_hash_run()