Home
last modified time | relevance | path

Searched refs:driver_algs (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/crypto/chelsio/
Dchcr_algo.c3850 static struct chcr_alg_template driver_algs[] = { variable
4387 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in chcr_unregister_alg()
4388 switch (driver_algs[i].type & CRYPTO_ALG_TYPE_MASK) { in chcr_unregister_alg()
4390 if (driver_algs[i].is_registered && refcount_read( in chcr_unregister_alg()
4391 &driver_algs[i].alg.skcipher.base.cra_refcnt) in chcr_unregister_alg()
4394 &driver_algs[i].alg.skcipher); in chcr_unregister_alg()
4395 driver_algs[i].is_registered = 0; in chcr_unregister_alg()
4399 if (driver_algs[i].is_registered && refcount_read( in chcr_unregister_alg()
4400 &driver_algs[i].alg.aead.base.cra_refcnt) == 1) { in chcr_unregister_alg()
4402 &driver_algs[i].alg.aead); in chcr_unregister_alg()
[all …]
/linux-6.1.9/drivers/crypto/bcm/
Dcipher.c3061 static struct iproc_alg_s driver_algs[] = { variable
4573 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in spu_algs_register()
4574 switch (driver_algs[i].type) { in spu_algs_register()
4576 err = spu_register_skcipher(&driver_algs[i]); in spu_algs_register()
4579 err = spu_register_ahash(&driver_algs[i]); in spu_algs_register()
4582 err = spu_register_aead(&driver_algs[i]); in spu_algs_register()
4587 driver_algs[i].type); in spu_algs_register()
4603 if (!driver_algs[j].registered) in spu_algs_register()
4605 switch (driver_algs[j].type) { in spu_algs_register()
4607 crypto_unregister_skcipher(&driver_algs[j].alg.skcipher); in spu_algs_register()
[all …]
/linux-6.1.9/drivers/crypto/caam/
Dcaamalg_qi.c1465 static struct caam_skcipher_alg driver_algs[] = { variable
2568 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in caam_qi_algapi_exit()
2569 struct caam_skcipher_alg *t_alg = driver_algs + i; in caam_qi_algapi_exit()
2650 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in caam_qi_algapi_init()
2651 struct caam_skcipher_alg *t_alg = driver_algs + i; in caam_qi_algapi_init()
Dcaamalg.c1866 static struct caam_skcipher_alg driver_algs[] = { variable
3480 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in caam_algapi_exit()
3481 struct caam_skcipher_alg *t_alg = driver_algs + i; in caam_algapi_exit()
3568 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in caam_algapi_init()
3569 struct caam_skcipher_alg *t_alg = driver_algs + i; in caam_algapi_init()
Dcaamalg_qi2.c1669 static struct caam_skcipher_alg driver_algs[] = { variable
5237 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in dpaa2_caam_probe()
5238 struct caam_skcipher_alg *t_alg = driver_algs + i; in dpaa2_caam_probe()
5412 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in dpaa2_caam_remove()
5413 struct caam_skcipher_alg *t_alg = driver_algs + i; in dpaa2_caam_remove()
/linux-6.1.9/drivers/crypto/
Dtalitos.c2263 static struct talitos_alg_template driver_algs[] = { variable
3489 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in talitos_probe()
3490 if (hw_supports(dev, driver_algs[i].desc_hdr_template)) { in talitos_probe()
3494 t_alg = talitos_alg_alloc(dev, &driver_algs[i]); in talitos_probe()