Lines Matching refs:fallback_tfm
39 op->fallback_tfm = crypto_alloc_ahash(crypto_tfm_alg_name(tfm), 0, in sun8i_ss_hash_crainit()
41 if (IS_ERR(op->fallback_tfm)) { in sun8i_ss_hash_crainit()
43 return PTR_ERR(op->fallback_tfm); in sun8i_ss_hash_crainit()
46 if (algt->alg.hash.halg.statesize < crypto_ahash_statesize(op->fallback_tfm)) in sun8i_ss_hash_crainit()
47 algt->alg.hash.halg.statesize = crypto_ahash_statesize(op->fallback_tfm); in sun8i_ss_hash_crainit()
51 crypto_ahash_reqsize(op->fallback_tfm)); in sun8i_ss_hash_crainit()
55 crypto_tfm_alg_driver_name(&op->fallback_tfm->base)); in sun8i_ss_hash_crainit()
62 crypto_free_ahash(op->fallback_tfm); in sun8i_ss_hash_crainit()
70 crypto_free_ahash(tfmctx->fallback_tfm); in sun8i_ss_hash_craexit()
82 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ss_hash_init()
94 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ss_hash_export()
106 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ss_hash_import()
122 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ss_hash_final()
141 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ss_hash_update()
160 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ss_hash_finup()
185 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ss_hash_digest_fb()