Home
last modified time | relevance | path

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

/drivers/crypto/chelsio/
Dchcr_algo.c3856 static struct chcr_alg_template driver_algs[] = { variable
4393 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in chcr_unregister_alg()
4394 switch (driver_algs[i].type & CRYPTO_ALG_TYPE_MASK) { in chcr_unregister_alg()
4396 if (driver_algs[i].is_registered && refcount_read( in chcr_unregister_alg()
4397 &driver_algs[i].alg.skcipher.base.cra_refcnt) in chcr_unregister_alg()
4400 &driver_algs[i].alg.skcipher); in chcr_unregister_alg()
4401 driver_algs[i].is_registered = 0; in chcr_unregister_alg()
4405 if (driver_algs[i].is_registered && refcount_read( in chcr_unregister_alg()
4406 &driver_algs[i].alg.aead.base.cra_refcnt) == 1) { in chcr_unregister_alg()
4408 &driver_algs[i].alg.aead); in chcr_unregister_alg()
[all …]
/drivers/crypto/bcm/
Dcipher.c3063 static struct iproc_alg_s driver_algs[] = { variable
4575 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in spu_algs_register()
4576 switch (driver_algs[i].type) { in spu_algs_register()
4578 err = spu_register_skcipher(&driver_algs[i]); in spu_algs_register()
4581 err = spu_register_ahash(&driver_algs[i]); in spu_algs_register()
4584 err = spu_register_aead(&driver_algs[i]); in spu_algs_register()
4589 driver_algs[i].type); in spu_algs_register()
4605 if (!driver_algs[j].registered) in spu_algs_register()
4607 switch (driver_algs[j].type) { in spu_algs_register()
4609 crypto_unregister_skcipher(&driver_algs[j].alg.skcipher); in spu_algs_register()
[all …]
/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.c1861 static struct caam_skcipher_alg driver_algs[] = { variable
3475 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in caam_algapi_exit()
3476 struct caam_skcipher_alg *t_alg = driver_algs + i; in caam_algapi_exit()
3563 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in caam_algapi_init()
3564 struct caam_skcipher_alg *t_alg = driver_algs + i; in caam_algapi_init()
Dcaamalg_qi2.c1667 static struct caam_skcipher_alg driver_algs[] = { variable
5234 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in dpaa2_caam_probe()
5235 struct caam_skcipher_alg *t_alg = driver_algs + i; in dpaa2_caam_probe()
5409 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in dpaa2_caam_remove()
5410 struct caam_skcipher_alg *t_alg = driver_algs + i; in dpaa2_caam_remove()
/drivers/crypto/
Dtalitos.c2262 static struct talitos_alg_template driver_algs[] = { variable
3488 for (i = 0; i < ARRAY_SIZE(driver_algs); i++) { in talitos_probe()
3489 if (hw_supports(dev, driver_algs[i].desc_hdr_template)) { in talitos_probe()
3493 t_alg = talitos_alg_alloc(dev, &driver_algs[i]); in talitos_probe()