Lines Matching refs:algt

3010 	struct talitos_alg_template algt;  member
3027 ctx->desc_hdr_template = talitos_alg->algt.desc_hdr_template; in talitos_init_common()
3044 algt.alg.hash); in talitos_cra_init()
3047 algt.alg.crypto); in talitos_cra_init()
3059 algt.alg.aead); in talitos_cra_init_aead()
3114 switch (t_alg->algt.type) { in talitos_remove()
3118 crypto_unregister_aead(&t_alg->algt.alg.aead); in talitos_remove()
3121 crypto_unregister_ahash(&t_alg->algt.alg.hash); in talitos_remove()
3156 t_alg->algt = *template; in talitos_alg_alloc()
3158 switch (t_alg->algt.type) { in talitos_alg_alloc()
3160 alg = &t_alg->algt.alg.crypto; in talitos_alg_alloc()
3170 alg = &t_alg->algt.alg.aead.base; in talitos_alg_alloc()
3172 t_alg->algt.alg.aead.init = talitos_cra_init_aead; in talitos_alg_alloc()
3173 t_alg->algt.alg.aead.setkey = t_alg->algt.alg.aead.setkey ?: in talitos_alg_alloc()
3175 t_alg->algt.alg.aead.encrypt = aead_encrypt; in talitos_alg_alloc()
3176 t_alg->algt.alg.aead.decrypt = aead_decrypt; in talitos_alg_alloc()
3184 alg = &t_alg->algt.alg.hash.halg.base; in talitos_alg_alloc()
3187 t_alg->algt.alg.hash.init = ahash_init; in talitos_alg_alloc()
3188 t_alg->algt.alg.hash.update = ahash_update; in talitos_alg_alloc()
3189 t_alg->algt.alg.hash.final = ahash_final; in talitos_alg_alloc()
3190 t_alg->algt.alg.hash.finup = ahash_finup; in talitos_alg_alloc()
3191 t_alg->algt.alg.hash.digest = ahash_digest; in talitos_alg_alloc()
3193 t_alg->algt.alg.hash.setkey = ahash_setkey; in talitos_alg_alloc()
3194 t_alg->algt.alg.hash.import = ahash_import; in talitos_alg_alloc()
3195 t_alg->algt.alg.hash.export = ahash_export; in talitos_alg_alloc()
3205 t_alg->algt.alg.hash.init = ahash_init_sha224_swinit; in talitos_alg_alloc()
3206 t_alg->algt.desc_hdr_template = in talitos_alg_alloc()
3213 dev_err(dev, "unknown algorithm type %d\n", t_alg->algt.type); in talitos_alg_alloc()
3219 if (t_alg->algt.priority) in talitos_alg_alloc()
3220 alg->cra_priority = t_alg->algt.priority; in talitos_alg_alloc()
3463 switch (t_alg->algt.type) { in talitos_probe()
3466 &t_alg->algt.alg.crypto); in talitos_probe()
3467 alg = &t_alg->algt.alg.crypto; in talitos_probe()
3472 &t_alg->algt.alg.aead); in talitos_probe()
3473 alg = &t_alg->algt.alg.aead.base; in talitos_probe()
3478 &t_alg->algt.alg.hash); in talitos_probe()
3479 alg = &t_alg->algt.alg.hash.halg.base; in talitos_probe()