Searched refs:aes_algs (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.10/arch/arm/crypto/ |
| D | aes-neonbs-glue.c | 422 static struct skcipher_alg aes_algs[] = { { variable 508 static struct simd_skcipher_alg *aes_simd_algs[ARRAY_SIZE(aes_algs)]; 518 crypto_unregister_skciphers(aes_algs, ARRAY_SIZE(aes_algs)); in aes_exit() 533 err = crypto_register_skciphers(aes_algs, ARRAY_SIZE(aes_algs)); in aes_init() 537 for (i = 0; i < ARRAY_SIZE(aes_algs); i++) { in aes_init() 538 if (!(aes_algs[i].base.cra_flags & CRYPTO_ALG_INTERNAL)) in aes_init() 541 algname = aes_algs[i].base.cra_name + 2; in aes_init() 542 drvname = aes_algs[i].base.cra_driver_name + 2; in aes_init() 543 basename = aes_algs[i].base.cra_driver_name; in aes_init()
|
| D | aes-ce-glue.c | 588 static struct skcipher_alg aes_algs[] = { { variable 682 static struct simd_skcipher_alg *aes_simd_algs[ARRAY_SIZE(aes_algs)]; 691 crypto_unregister_skciphers(aes_algs, ARRAY_SIZE(aes_algs)); in aes_exit() 703 err = crypto_register_skciphers(aes_algs, ARRAY_SIZE(aes_algs)); in aes_init() 707 for (i = 0; i < ARRAY_SIZE(aes_algs); i++) { in aes_init() 708 if (!(aes_algs[i].base.cra_flags & CRYPTO_ALG_INTERNAL)) in aes_init() 711 algname = aes_algs[i].base.cra_name + 2; in aes_init() 712 drvname = aes_algs[i].base.cra_driver_name + 2; in aes_init() 713 basename = aes_algs[i].base.cra_driver_name; in aes_init()
|
| /Linux-v5.10/arch/arm64/crypto/ |
| D | aes-neonbs-glue.c | 433 static struct skcipher_alg aes_algs[] = { { variable 515 static struct simd_skcipher_alg *aes_simd_algs[ARRAY_SIZE(aes_algs)]; 525 crypto_unregister_skciphers(aes_algs, ARRAY_SIZE(aes_algs)); in aes_exit() 540 err = crypto_register_skciphers(aes_algs, ARRAY_SIZE(aes_algs)); in aes_init() 544 for (i = 0; i < ARRAY_SIZE(aes_algs); i++) { in aes_init() 545 if (!(aes_algs[i].base.cra_flags & CRYPTO_ALG_INTERNAL)) in aes_init() 548 algname = aes_algs[i].base.cra_name + 2; in aes_init() 549 drvname = aes_algs[i].base.cra_driver_name + 2; in aes_init() 550 basename = aes_algs[i].base.cra_driver_name; in aes_init()
|
| D | aes-glue.c | 652 static struct skcipher_alg aes_algs[] = { { variable 989 static struct simd_skcipher_alg *aes_simd_algs[ARRAY_SIZE(aes_algs)]; 1000 crypto_unregister_skciphers(aes_algs, ARRAY_SIZE(aes_algs)); in aes_exit() 1012 err = crypto_register_skciphers(aes_algs, ARRAY_SIZE(aes_algs)); in aes_init() 1020 for (i = 0; i < ARRAY_SIZE(aes_algs); i++) { in aes_init() 1021 if (!(aes_algs[i].base.cra_flags & CRYPTO_ALG_INTERNAL)) in aes_init() 1024 algname = aes_algs[i].base.cra_name + 2; in aes_init() 1025 drvname = aes_algs[i].base.cra_driver_name + 2; in aes_init() 1026 basename = aes_algs[i].base.cra_driver_name; in aes_init() 1041 crypto_unregister_skciphers(aes_algs, ARRAY_SIZE(aes_algs)); in aes_init()
|
| /Linux-v5.10/drivers/crypto/ccp/ |
| D | ccp-crypto-aes.c | 252 static struct ccp_aes_def aes_algs[] = { variable 351 for (i = 0; i < ARRAY_SIZE(aes_algs); i++) { in ccp_register_aes_algs() 352 if (aes_algs[i].version > ccpversion) in ccp_register_aes_algs() 354 ret = ccp_register_aes_alg(head, &aes_algs[i]); in ccp_register_aes_algs()
|
| /Linux-v5.10/drivers/crypto/mediatek/ |
| D | mtk-aes.c | 731 static struct skcipher_alg aes_algs[] = { variable 1185 for (i = 0; i < ARRAY_SIZE(aes_algs); i++) in mtk_aes_unregister_algs() 1186 crypto_unregister_skcipher(&aes_algs[i]); in mtk_aes_unregister_algs() 1193 for (i = 0; i < ARRAY_SIZE(aes_algs); i++) { in mtk_aes_register_algs() 1194 err = crypto_register_skcipher(&aes_algs[i]); in mtk_aes_register_algs() 1207 crypto_unregister_skcipher(&aes_algs[i]); in mtk_aes_register_algs()
|
| /Linux-v5.10/drivers/crypto/ |
| D | sahara.c | 1179 static struct skcipher_alg aes_algs[] = { variable 1301 for (i = 0; i < ARRAY_SIZE(aes_algs); i++) { in sahara_register_algs() 1302 err = crypto_register_skcipher(&aes_algs[i]); in sahara_register_algs() 1332 crypto_unregister_skcipher(&aes_algs[j]); in sahara_register_algs() 1341 for (i = 0; i < ARRAY_SIZE(aes_algs); i++) in sahara_unregister_algs() 1342 crypto_unregister_skcipher(&aes_algs[i]); in sahara_unregister_algs()
|
| D | atmel-aes.c | 1262 static struct skcipher_alg aes_algs[] = { variable 2355 for (i = 0; i < ARRAY_SIZE(aes_algs); i++) in atmel_aes_unregister_algs() 2356 crypto_unregister_skcipher(&aes_algs[i]); in atmel_aes_unregister_algs() 2371 for (i = 0; i < ARRAY_SIZE(aes_algs); i++) { in atmel_aes_register_algs() 2372 atmel_aes_crypto_alg_init(&aes_algs[i].base); in atmel_aes_register_algs() 2374 err = crypto_register_skcipher(&aes_algs[i]); in atmel_aes_register_algs() 2429 i = ARRAY_SIZE(aes_algs); in atmel_aes_register_algs() 2432 crypto_unregister_skcipher(&aes_algs[j]); in atmel_aes_register_algs()
|