Searched refs:aes_algs (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/arch/arm/crypto/ |
H A D | aes-neonbs-glue.c | 419 static struct skcipher_alg aes_algs[] = { { variable 506 static struct simd_skcipher_alg *aes_simd_algs[ARRAY_SIZE(aes_algs)]; 516 crypto_unregister_skciphers(aes_algs, ARRAY_SIZE(aes_algs)); in aes_exit() 531 err = crypto_register_skciphers(aes_algs, ARRAY_SIZE(aes_algs)); in aes_init() 535 for (i = 0; i < ARRAY_SIZE(aes_algs); i++) { in aes_init() 536 if (!(aes_algs[i].base.cra_flags & CRYPTO_ALG_INTERNAL)) in aes_init() 539 algname = aes_algs[i].base.cra_name + 2; in aes_init() 540 drvname = aes_algs[i].base.cra_driver_name + 2; in aes_init() 541 basename = aes_algs[i].base.cra_driver_name; in aes_init() 542 simd = simd_skcipher_create_compat(aes_algs + i, algname, drvname, basename); in aes_init()
|
H A 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() 714 simd = simd_skcipher_create_compat(aes_algs + i, algname, drvname, basename); in aes_init()
|
/openbmc/linux/drivers/crypto/ccp/ |
H A D | ccp-crypto-aes.c | 250 static struct ccp_aes_def aes_algs[] = { variable 349 for (i = 0; i < ARRAY_SIZE(aes_algs); i++) { in ccp_register_aes_algs() 350 if (aes_algs[i].version > ccpversion) in ccp_register_aes_algs() 352 ret = ccp_register_aes_alg(head, &aes_algs[i]); in ccp_register_aes_algs()
|
/openbmc/linux/arch/arm64/crypto/ |
H A D | aes-neonbs-glue.c | 392 static struct skcipher_alg aes_algs[] = { { variable 456 crypto_unregister_skciphers(aes_algs, ARRAY_SIZE(aes_algs)); in aes_exit() 464 return crypto_register_skciphers(aes_algs, ARRAY_SIZE(aes_algs)); in aes_init()
|
H A D | aes-glue.c | 686 static struct skcipher_alg aes_algs[] = { { variable 1027 crypto_unregister_skciphers(aes_algs, ARRAY_SIZE(aes_algs)); in aes_exit() 1034 err = crypto_register_skciphers(aes_algs, ARRAY_SIZE(aes_algs)); in aes_init() 1045 crypto_unregister_skciphers(aes_algs, ARRAY_SIZE(aes_algs)); in aes_init()
|
/openbmc/linux/drivers/crypto/ |
H A D | sahara.c | 1147 static struct skcipher_alg aes_algs[] = { variable 1269 for (i = 0; i < ARRAY_SIZE(aes_algs); i++) { in sahara_register_algs() 1270 err = crypto_register_skcipher(&aes_algs[i]); in sahara_register_algs() 1300 crypto_unregister_skcipher(&aes_algs[j]); in sahara_register_algs() 1309 for (i = 0; i < ARRAY_SIZE(aes_algs); i++) in sahara_unregister_algs() 1310 crypto_unregister_skcipher(&aes_algs[i]); in sahara_unregister_algs()
|
H A D | atmel-aes.c | 1293 static struct skcipher_alg aes_algs[] = { variable 2413 for (i = 0; i < ARRAY_SIZE(aes_algs); i++) in atmel_aes_unregister_algs() 2414 crypto_unregister_skcipher(&aes_algs[i]); in atmel_aes_unregister_algs() 2429 for (i = 0; i < ARRAY_SIZE(aes_algs); i++) { in atmel_aes_register_algs() 2430 atmel_aes_crypto_alg_init(&aes_algs[i].base); in atmel_aes_register_algs() 2432 err = crypto_register_skcipher(&aes_algs[i]); in atmel_aes_register_algs() 2487 i = ARRAY_SIZE(aes_algs); in atmel_aes_register_algs() 2490 crypto_unregister_skcipher(&aes_algs[j]); in atmel_aes_register_algs()
|