Lines Matching refs:algt
24 struct sun8i_ss_alg_template *algt; in sun8i_ss_hash_crainit() local
29 algt = container_of(alg, struct sun8i_ss_alg_template, alg.hash); in sun8i_ss_hash_crainit()
30 op->ss = algt->ss; in sun8i_ss_hash_crainit()
40 dev_err(algt->ss->dev, "Fallback driver could no be loaded\n"); in sun8i_ss_hash_crainit()
44 if (algt->alg.hash.halg.statesize < crypto_ahash_statesize(op->fallback_tfm)) in sun8i_ss_hash_crainit()
45 algt->alg.hash.halg.statesize = crypto_ahash_statesize(op->fallback_tfm); in sun8i_ss_hash_crainit()
117 struct sun8i_ss_alg_template *algt; in sun8i_ss_hash_final() local
126 algt = container_of(alg, struct sun8i_ss_alg_template, alg.hash); in sun8i_ss_hash_final()
127 algt->stat_fb++; in sun8i_ss_hash_final()
155 struct sun8i_ss_alg_template *algt; in sun8i_ss_hash_finup() local
166 algt = container_of(alg, struct sun8i_ss_alg_template, alg.hash); in sun8i_ss_hash_finup()
167 algt->stat_fb++; in sun8i_ss_hash_finup()
180 struct sun8i_ss_alg_template *algt; in sun8i_ss_hash_digest_fb() local
191 algt = container_of(alg, struct sun8i_ss_alg_template, alg.hash); in sun8i_ss_hash_digest_fb()
192 algt->stat_fb++; in sun8i_ss_hash_digest_fb()
286 struct sun8i_ss_alg_template *algt; in sun8i_ss_hash_digest() local
304 algt = container_of(alg, struct sun8i_ss_alg_template, alg.hash); in sun8i_ss_hash_digest()
305 ss = algt->ss; in sun8i_ss_hash_digest()
323 struct sun8i_ss_alg_template *algt; in sun8i_ss_hash_run() local
336 algt = container_of(alg, struct sun8i_ss_alg_template, alg.hash); in sun8i_ss_hash_run()
337 ss = algt->ss; in sun8i_ss_hash_run()
339 digestsize = algt->alg.hash.halg.digestsize; in sun8i_ss_hash_run()
344 pad = kzalloc(algt->alg.hash.halg.base.cra_blocksize * 2, GFP_KERNEL | GFP_DMA); in sun8i_ss_hash_run()
361 algt->stat_req++; in sun8i_ss_hash_run()
364 rctx->method = ss->variant->alg_hash[algt->ss_algo_id]; in sun8i_ss_hash_run()
407 switch (algt->ss_algo_id) { in sun8i_ss_hash_run()
439 memcpy(areq->result, result, algt->alg.hash.halg.digestsize); in sun8i_ss_hash_run()