Home
last modified time | relevance | path

Searched refs:ss_algs (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/crypto/allwinner/sun8i-ss/
Dsun8i-ss-core.c163 static struct sun8i_ss_alg_template ss_algs[] = { variable
422 for (i = 0; i < ARRAY_SIZE(ss_algs); i++) { in sun8i_ss_debugfs_show()
423 if (!ss_algs[i].ss) in sun8i_ss_debugfs_show()
425 switch (ss_algs[i].type) { in sun8i_ss_debugfs_show()
428 ss_algs[i].alg.skcipher.base.cra_driver_name, in sun8i_ss_debugfs_show()
429 ss_algs[i].alg.skcipher.base.cra_name, in sun8i_ss_debugfs_show()
430 ss_algs[i].stat_req, ss_algs[i].stat_fb); in sun8i_ss_debugfs_show()
434 ss_algs[i].alg.rng.base.cra_driver_name, in sun8i_ss_debugfs_show()
435 ss_algs[i].alg.rng.base.cra_name, in sun8i_ss_debugfs_show()
436 ss_algs[i].stat_req, ss_algs[i].stat_bytes); in sun8i_ss_debugfs_show()
[all …]
/Linux-v5.10/drivers/crypto/allwinner/sun4i-ss/
Dsun4i-ss-core.c34 static struct sun4i_ss_alg_template ss_algs[] = { variable
429 for (i = 0; i < ARRAY_SIZE(ss_algs); i++) { in sun4i_ss_probe()
430 ss_algs[i].ss = ss; in sun4i_ss_probe()
431 switch (ss_algs[i].type) { in sun4i_ss_probe()
433 err = crypto_register_skcipher(&ss_algs[i].alg.crypto); in sun4i_ss_probe()
436 ss_algs[i].alg.crypto.base.cra_name); in sun4i_ss_probe()
441 err = crypto_register_ahash(&ss_algs[i].alg.hash); in sun4i_ss_probe()
444 ss_algs[i].alg.hash.halg.base.cra_name); in sun4i_ss_probe()
449 err = crypto_register_rng(&ss_algs[i].alg.rng); in sun4i_ss_probe()
452 ss_algs[i].alg.rng.base.cra_name); in sun4i_ss_probe()
[all …]