Lines Matching refs:fallback_tfm
37 op->fallback_tfm = crypto_alloc_ahash(crypto_ahash_alg_name(tfm), 0, in sun8i_ce_hash_init_tfm()
39 if (IS_ERR(op->fallback_tfm)) { in sun8i_ce_hash_init_tfm()
41 return PTR_ERR(op->fallback_tfm); in sun8i_ce_hash_init_tfm()
45 crypto_ahash_statesize(op->fallback_tfm)); in sun8i_ce_hash_init_tfm()
49 crypto_ahash_reqsize(op->fallback_tfm)); in sun8i_ce_hash_init_tfm()
51 memcpy(algt->fbname, crypto_ahash_driver_name(op->fallback_tfm), in sun8i_ce_hash_init_tfm()
60 crypto_free_ahash(op->fallback_tfm); in sun8i_ce_hash_init_tfm()
68 crypto_free_ahash(tfmctx->fallback_tfm); in sun8i_ce_hash_exit_tfm()
80 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ce_hash_init()
92 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ce_hash_export()
104 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ce_hash_import()
116 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ce_hash_final()
141 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ce_hash_update()
156 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()