Lines Matching refs:fallback_tfm
38 op->fallback_tfm = crypto_alloc_ahash(crypto_tfm_alg_name(tfm), 0, in sun8i_ce_hash_crainit()
40 if (IS_ERR(op->fallback_tfm)) { in sun8i_ce_hash_crainit()
42 return PTR_ERR(op->fallback_tfm); in sun8i_ce_hash_crainit()
45 if (algt->alg.hash.halg.statesize < crypto_ahash_statesize(op->fallback_tfm)) in sun8i_ce_hash_crainit()
46 algt->alg.hash.halg.statesize = crypto_ahash_statesize(op->fallback_tfm); in sun8i_ce_hash_crainit()
50 crypto_ahash_reqsize(op->fallback_tfm)); in sun8i_ce_hash_crainit()
54 crypto_tfm_alg_driver_name(&op->fallback_tfm->base)); in sun8i_ce_hash_crainit()
61 crypto_free_ahash(op->fallback_tfm); in sun8i_ce_hash_crainit()
69 crypto_free_ahash(tfmctx->fallback_tfm); in sun8i_ce_hash_craexit()
81 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ce_hash_init()
93 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ce_hash_export()
105 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ce_hash_import()
121 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ce_hash_final()
140 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ce_hash_update()
159 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ce_hash_finup()
184 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ce_hash_digest_fb()