Lines Matching refs:tfm
18 int sun4i_hash_crainit(struct crypto_tfm *tfm) in sun4i_hash_crainit() argument
20 struct sun4i_tfm_ctx *op = crypto_tfm_ctx(tfm); in sun4i_hash_crainit()
21 struct ahash_alg *alg = __crypto_ahash_alg(tfm->__crt_alg); in sun4i_hash_crainit()
34 crypto_ahash_set_reqsize(__crypto_ahash_cast(tfm), in sun4i_hash_crainit()
39 void sun4i_hash_craexit(struct crypto_tfm *tfm) in sun4i_hash_craexit() argument
41 struct sun4i_tfm_ctx *op = crypto_tfm_ctx(tfm); in sun4i_hash_craexit()
50 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun4i_hash_init() local
51 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun4i_hash_init()
193 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); in sun4i_hash() local
194 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); in sun4i_hash()
195 struct sun4i_tfm_ctx *tfmctx = crypto_ahash_ctx(tfm); in sun4i_hash()
205 __func__, crypto_tfm_alg_name(areq->base.tfm), in sun4i_hash()
234 for (i = 0; i < crypto_ahash_digestsize(tfm) / 4; i++) in sun4i_hash()
385 for (i = 0; i < crypto_ahash_digestsize(tfm) / 4; i++) in sun4i_hash()