Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/crypto/chelsio/
Dchcr_algo.c3852 static struct chcr_alg_template driver_algs[] = { variable
4389 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in chcr_unregister_alg()
4390 switch (driver_algs[i].type & CRYPTO_ALG_TYPE_MASK) { in chcr_unregister_alg()
4392 if (driver_algs[i].is_registered && refcount_read( in chcr_unregister_alg()
4393 &driver_algs[i].alg.skcipher.base.cra_refcnt) in chcr_unregister_alg()
4396 &driver_algs[i].alg.skcipher); in chcr_unregister_alg()
4397 driver_algs[i].is_registered = 0; in chcr_unregister_alg()
4401 if (driver_algs[i].is_registered && refcount_read( in chcr_unregister_alg()
4402 &driver_algs[i].alg.aead.base.cra_refcnt) == 1) { in chcr_unregister_alg()
4404 &driver_algs[i].alg.aead); in chcr_unregister_alg()
[all …]
/Linux-v6.6/drivers/crypto/bcm/
Dcipher.c3024 static struct iproc_alg_s driver_algs[] = { variable
4543 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in spu_algs_register()
4544 switch (driver_algs[i].type) { in spu_algs_register()
4546 err = spu_register_skcipher(&driver_algs[i]); in spu_algs_register()
4549 err = spu_register_ahash(&driver_algs[i]); in spu_algs_register()
4552 err = spu_register_aead(&driver_algs[i]); in spu_algs_register()
4557 driver_algs[i].type); in spu_algs_register()
4573 if (!driver_algs[j].registered) in spu_algs_register()
4575 switch (driver_algs[j].type) { in spu_algs_register()
4577 crypto_unregister_skcipher(&driver_algs[j].alg.skcipher); in spu_algs_register()
[all …]
/Linux-v6.6/drivers/crypto/caam/
Dcaamalg_qi.c1481 static struct caam_skcipher_alg driver_algs[] = { variable
2584 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in caam_qi_algapi_exit()
2585 struct caam_skcipher_alg *t_alg = driver_algs + i; in caam_qi_algapi_exit()
2666 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in caam_qi_algapi_init()
2667 struct caam_skcipher_alg *t_alg = driver_algs + i; in caam_qi_algapi_init()
Dcaamalg.c1886 static struct caam_skcipher_alg driver_algs[] = { variable
3700 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in caam_algapi_exit()
3701 struct caam_skcipher_alg *t_alg = driver_algs + i; in caam_algapi_exit()
3789 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in caam_algapi_init()
3790 struct caam_skcipher_alg *t_alg = driver_algs + i; in caam_algapi_init()
Dcaamalg_qi2.c1673 static struct caam_skcipher_alg driver_algs[] = { variable
5248 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in dpaa2_caam_probe()
5249 struct caam_skcipher_alg *t_alg = driver_algs + i; in dpaa2_caam_probe()
5423 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in dpaa2_caam_remove()
5424 struct caam_skcipher_alg *t_alg = driver_algs + i; in dpaa2_caam_remove()
/Linux-v6.6/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()