Home
last modified time | relevance | path

Searched refs:tfmctx (Results 1 – 4 of 4) sorted by relevance

/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-hash.c67 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_tfm_ctx(tfm); in sun8i_ce_hash_craexit() local
69 crypto_free_ahash(tfmctx->fallback_tfm); in sun8i_ce_hash_craexit()
70 pm_runtime_put_sync_suspend(tfmctx->ce->dev); in sun8i_ce_hash_craexit()
77 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_init() local
81 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ce_hash_init()
91 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_export() local
93 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ce_hash_export()
103 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_import() local
105 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ce_hash_import()
115 struct sun8i_ce_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ce_hash_final() local
[all …]
/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-hash.c67 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_tfm_ctx(tfm); in sun8i_ss_hash_craexit() local
69 crypto_free_ahash(tfmctx->fallback_tfm); in sun8i_ss_hash_craexit()
70 pm_runtime_put_sync_suspend(tfmctx->ss->dev); in sun8i_ss_hash_craexit()
77 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_init() local
81 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ss_hash_init()
91 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_export() local
93 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ss_hash_export()
103 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_import() local
105 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in sun8i_ss_hash_import()
115 struct sun8i_ss_hash_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun8i_ss_hash_final() local
[all …]
/drivers/crypto/rockchip/
Drk3288_crypto_ahash.c41 struct rk_ahash_ctx *tfmctx = crypto_ahash_ctx(tfm); in rk_ahash_digest_fb() local
43 ahash_request_set_tfm(&rctx->fallback_req, tfmctx->fallback_tfm); in rk_ahash_digest_fb()
/drivers/crypto/allwinner/sun4i-ss/
Dsun4i-ss-hash.c194 struct sun4i_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun4i_hash() local
195 struct sun4i_ss_ctx *ss = tfmctx->ss; in sun4i_hash()