Home
last modified time | relevance | path

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

/linux/arch/arm/crypto/
H A Daes-neonbs-glue.c376 static struct skcipher_alg aes_algs[] = { { variable
458 static struct simd_skcipher_alg *aes_simd_algs[ARRAY_SIZE(aes_algs)];
468 crypto_unregister_skciphers(aes_algs, ARRAY_SIZE(aes_algs)); in aes_exit()
483 err = crypto_register_skciphers(aes_algs, ARRAY_SIZE(aes_algs)); in aes_init()
487 for (i = 0; i < ARRAY_SIZE(aes_algs); i++) { in aes_init()
488 if (!(aes_algs[i].base.cra_flags & CRYPTO_ALG_INTERNAL)) in aes_init()
491 algname = aes_algs[i].base.cra_name + 2; in aes_init()
492 drvname = aes_algs[i].base.cra_driver_name + 2; in aes_init()
493 basename = aes_algs[i].base.cra_driver_name; in aes_init()
494 simd = simd_skcipher_create_compat(aes_algs + i, algname, drvname, basename); in aes_init()
H A 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()
714 simd = simd_skcipher_create_compat(aes_algs + i, algname, drvname, basename); in aes_init()
/linux/drivers/crypto/ccp/
H A Dccp-crypto-aes.c250 static struct ccp_aes_def aes_algs[] = { variable
331 for (i = 0; i < ARRAY_SIZE(aes_algs); i++) { in ccp_register_aes_algs()
332 if (aes_algs[i].version > ccpversion) in ccp_register_aes_algs()
334 ret = ccp_register_aes_alg(head, &aes_algs[i]); in ccp_register_aes_algs()
/linux/arch/arm64/crypto/
H A Daes-neonbs-glue.c393 static struct skcipher_alg aes_algs[] = { { variable
457 crypto_unregister_skciphers(aes_algs, ARRAY_SIZE(aes_algs)); in aes_exit()
465 return crypto_register_skciphers(aes_algs, ARRAY_SIZE(aes_algs)); in aes_init()
H A Daes-glue.c686 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()
/linux/drivers/crypto/
H A Dsahara.c1098 static struct skcipher_engine_alg aes_algs[] = { variable
1236 err = crypto_engine_register_skciphers(aes_algs, ARRAY_SIZE(aes_algs)); in sahara_register_algs()
1258 crypto_engine_unregister_skciphers(aes_algs, ARRAY_SIZE(aes_algs)); in sahara_register_algs()
1265 crypto_engine_unregister_skciphers(aes_algs, ARRAY_SIZE(aes_algs)); in sahara_unregister_algs()
H A Datmel-aes.c1185 static struct skcipher_alg aes_algs[] = { variable
2217 for (i = 0; i < ARRAY_SIZE(aes_algs); i++) in atmel_aes_unregister_algs()
2218 crypto_unregister_skcipher(&aes_algs[i]); in atmel_aes_unregister_algs()
2233 for (i = 0; i < ARRAY_SIZE(aes_algs); i++) { in atmel_aes_register_algs()
2234 atmel_aes_crypto_alg_init(&aes_algs[i].base); in atmel_aes_register_algs()
2236 err = crypto_register_skcipher(&aes_algs[i]); in atmel_aes_register_algs()
2281 i = ARRAY_SIZE(aes_algs); in atmel_aes_register_algs()
2284 crypto_unregister_skcipher(&aes_algs[j]); in atmel_aes_register_algs()