/crypto/ |
D | simd.c | 232 int simd_register_skciphers_compat(struct skcipher_alg *algs, int count, in simd_register_skciphers_compat() argument 242 err = crypto_register_skciphers(algs, count); in simd_register_skciphers_compat() 247 WARN_ON(strncmp(algs[i].base.cra_name, "__", 2)); in simd_register_skciphers_compat() 248 WARN_ON(strncmp(algs[i].base.cra_driver_name, "__", 2)); in simd_register_skciphers_compat() 249 algname = algs[i].base.cra_name + 2; in simd_register_skciphers_compat() 250 drvname = algs[i].base.cra_driver_name + 2; in simd_register_skciphers_compat() 251 basename = algs[i].base.cra_driver_name; in simd_register_skciphers_compat() 261 simd_unregister_skciphers(algs, count, simd_algs); in simd_register_skciphers_compat() 266 void simd_unregister_skciphers(struct skcipher_alg *algs, int count, in simd_unregister_skciphers() argument 271 crypto_unregister_skciphers(algs, count); in simd_unregister_skciphers() [all …]
|
D | acompress.c | 160 int crypto_register_acomps(struct acomp_alg *algs, int count) in crypto_register_acomps() argument 165 ret = crypto_register_acomp(&algs[i]); in crypto_register_acomps() 174 crypto_unregister_acomp(&algs[i]); in crypto_register_acomps() 180 void crypto_unregister_acomps(struct acomp_alg *algs, int count) in crypto_unregister_acomps() argument 185 crypto_unregister_acomp(&algs[i]); in crypto_unregister_acomps()
|
D | rng.c | 198 int crypto_register_rngs(struct rng_alg *algs, int count) in crypto_register_rngs() argument 203 ret = crypto_register_rng(algs + i); in crypto_register_rngs() 212 crypto_unregister_rng(algs + i); in crypto_register_rngs() 218 void crypto_unregister_rngs(struct rng_alg *algs, int count) in crypto_unregister_rngs() argument 223 crypto_unregister_rng(algs + i); in crypto_unregister_rngs()
|
D | chacha_generic.c | 141 static struct skcipher_alg algs[] = { variable 192 return crypto_register_skciphers(algs, ARRAY_SIZE(algs)); in chacha_generic_mod_init() 197 crypto_unregister_skciphers(algs, ARRAY_SIZE(algs)); in chacha_generic_mod_fini()
|
D | scompress.c | 275 int crypto_register_scomps(struct scomp_alg *algs, int count) in crypto_register_scomps() argument 280 ret = crypto_register_scomp(&algs[i]); in crypto_register_scomps() 289 crypto_unregister_scomp(&algs[i]); in crypto_register_scomps() 295 void crypto_unregister_scomps(struct scomp_alg *algs, int count) in crypto_unregister_scomps() argument 300 crypto_unregister_scomp(&algs[i]); in crypto_unregister_scomps()
|
D | sha3_generic.c | 240 static struct shash_alg algs[] = { { variable 284 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha3_generic_mod_init() 289 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha3_generic_mod_fini()
|
D | streebog_generic.c | 1049 static struct shash_alg algs[2] = { { variable 1077 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in streebog_mod_init() 1082 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in streebog_mod_fini()
|
D | shash.c | 504 int crypto_register_shashes(struct shash_alg *algs, int count) in crypto_register_shashes() argument 509 ret = crypto_register_shash(&algs[i]); in crypto_register_shashes() 518 crypto_unregister_shash(&algs[i]); in crypto_register_shashes() 524 int crypto_unregister_shashes(struct shash_alg *algs, int count) in crypto_unregister_shashes() argument 529 ret = crypto_unregister_shash(&algs[i]); in crypto_unregister_shashes() 532 algs[i].base.cra_driver_name, in crypto_unregister_shashes() 533 algs[i].base.cra_name, ret); in crypto_unregister_shashes()
|
D | aead.c | 422 int crypto_register_aeads(struct aead_alg *algs, int count) in crypto_register_aeads() argument 427 ret = crypto_register_aead(&algs[i]); in crypto_register_aeads() 436 crypto_unregister_aead(&algs[i]); in crypto_register_aeads() 442 void crypto_unregister_aeads(struct aead_alg *algs, int count) in crypto_unregister_aeads() argument 447 crypto_unregister_aead(&algs[i]); in crypto_unregister_aeads()
|
D | ahash.c | 607 int crypto_register_ahashes(struct ahash_alg *algs, int count) in crypto_register_ahashes() argument 612 ret = crypto_register_ahash(&algs[i]); in crypto_register_ahashes() 621 crypto_unregister_ahash(&algs[i]); in crypto_register_ahashes() 627 void crypto_unregister_ahashes(struct ahash_alg *algs, int count) in crypto_unregister_ahashes() argument 632 crypto_unregister_ahash(&algs[i]); in crypto_unregister_ahashes()
|
D | algapi.c | 421 int crypto_register_algs(struct crypto_alg *algs, int count) in crypto_register_algs() argument 426 ret = crypto_register_alg(&algs[i]); in crypto_register_algs() 435 crypto_unregister_alg(&algs[i]); in crypto_register_algs() 441 int crypto_unregister_algs(struct crypto_alg *algs, int count) in crypto_unregister_algs() argument 446 ret = crypto_unregister_alg(&algs[i]); in crypto_unregister_algs() 449 algs[i].cra_driver_name, algs[i].cra_name, ret); in crypto_unregister_algs()
|
D | skcipher.c | 1066 int crypto_register_skciphers(struct skcipher_alg *algs, int count) in crypto_register_skciphers() argument 1071 ret = crypto_register_skcipher(&algs[i]); in crypto_register_skciphers() 1080 crypto_unregister_skcipher(&algs[i]); in crypto_register_skciphers() 1086 void crypto_unregister_skciphers(struct skcipher_alg *algs, int count) in crypto_unregister_skciphers() argument 1091 crypto_unregister_skcipher(&algs[i]); in crypto_unregister_skciphers()
|