Home
last modified time | relevance | path

Searched refs:aes_algs (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/arch/arm64/crypto/
Daes-neonbs-glue.c433 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()
Daes-glue.c652 static struct skcipher_alg aes_algs[] = { { variable
996 static struct simd_skcipher_alg *aes_simd_algs[ARRAY_SIZE(aes_algs)];
1007 crypto_unregister_skciphers(aes_algs, ARRAY_SIZE(aes_algs)); in aes_exit()
1019 err = crypto_register_skciphers(aes_algs, ARRAY_SIZE(aes_algs)); in aes_init()
1027 for (i = 0; i < ARRAY_SIZE(aes_algs); i++) { in aes_init()
1028 if (!(aes_algs[i].base.cra_flags & CRYPTO_ALG_INTERNAL)) in aes_init()
1031 algname = aes_algs[i].base.cra_name + 2; in aes_init()
1032 drvname = aes_algs[i].base.cra_driver_name + 2; in aes_init()
1033 basename = aes_algs[i].base.cra_driver_name; in aes_init()
1048 crypto_unregister_skciphers(aes_algs, ARRAY_SIZE(aes_algs)); in aes_init()
/kernel/linux/linux-5.10/arch/arm/crypto/
Daes-neonbs-glue.c423 static struct skcipher_alg aes_algs[] = { { variable
510 static struct simd_skcipher_alg *aes_simd_algs[ARRAY_SIZE(aes_algs)];
520 crypto_unregister_skciphers(aes_algs, ARRAY_SIZE(aes_algs)); in aes_exit()
535 err = crypto_register_skciphers(aes_algs, ARRAY_SIZE(aes_algs)); in aes_init()
539 for (i = 0; i < ARRAY_SIZE(aes_algs); i++) { in aes_init()
540 if (!(aes_algs[i].base.cra_flags & CRYPTO_ALG_INTERNAL)) in aes_init()
543 algname = aes_algs[i].base.cra_name + 2; in aes_init()
544 drvname = aes_algs[i].base.cra_driver_name + 2; in aes_init()
545 basename = aes_algs[i].base.cra_driver_name; in aes_init()
Daes-ce-glue.c588 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()
/kernel/linux/linux-5.10/drivers/crypto/ccp/
Dccp-crypto-aes.c252 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()
/kernel/linux/linux-5.10/drivers/crypto/mediatek/
Dmtk-aes.c731 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()
/kernel/linux/linux-5.10/drivers/crypto/
Dsahara.c1179 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()
Datmel-aes.c1262 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()