| /crypto/ |
| A D | simd.c | 217 err = crypto_register_skciphers(algs, count); in simd_register_skciphers_compat() 224 algname = algs[i].base.cra_name + 2; in simd_register_skciphers_compat() 225 drvname = algs[i].base.cra_driver_name + 2; in simd_register_skciphers_compat() 226 basename = algs[i].base.cra_driver_name; in simd_register_skciphers_compat() 246 crypto_unregister_skciphers(algs, count); in simd_unregister_skciphers() 440 err = crypto_register_aeads(algs, count); in simd_register_aeads_compat() 447 algname = algs[i].base.cra_name + 2; in simd_register_aeads_compat() 448 drvname = algs[i].base.cra_driver_name + 2; in simd_register_aeads_compat() 449 basename = algs[i].base.cra_driver_name; in simd_register_aeads_compat() 459 simd_unregister_aeads(algs, count, simd_algs); in simd_register_aeads_compat() [all …]
|
| A D | crypto_engine.c | 526 ret = crypto_engine_register_aead(&algs[i]); in crypto_engine_register_aeads() 534 crypto_engine_unregister_aeads(algs, i); in crypto_engine_register_aeads() 545 crypto_engine_unregister_aead(&algs[i]); in crypto_engine_unregister_aeads() 568 ret = crypto_engine_register_ahash(&algs[i]); in crypto_engine_register_ahashes() 576 crypto_engine_unregister_ahashes(algs, i); in crypto_engine_register_ahashes() 582 void crypto_engine_unregister_ahashes(struct ahash_engine_alg *algs, in crypto_engine_unregister_ahashes() argument 588 crypto_engine_unregister_ahash(&algs[i]); in crypto_engine_unregister_ahashes() 634 int crypto_engine_register_skciphers(struct skcipher_engine_alg *algs, in crypto_engine_register_skciphers() argument 640 ret = crypto_engine_register_skcipher(&algs[i]); in crypto_engine_register_skciphers() 648 crypto_engine_unregister_skciphers(algs, i); in crypto_engine_register_skciphers() [all …]
|
| A D | rng.c | 192 int crypto_register_rngs(struct rng_alg *algs, int count) in crypto_register_rngs() argument 197 ret = crypto_register_rng(algs + i); in crypto_register_rngs() 206 crypto_unregister_rng(algs + i); in crypto_register_rngs() 212 void crypto_unregister_rngs(struct rng_alg *algs, int count) in crypto_unregister_rngs() argument 217 crypto_unregister_rng(algs + i); in crypto_unregister_rngs()
|
| A D | sha1.c | 146 static struct shash_alg algs[] = { variable 185 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in crypto_sha1_mod_init() 191 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in crypto_sha1_mod_exit()
|
| A D | chacha.c | 129 static struct skcipher_alg algs[] = { variable 233 num_algs = ARRAY_SIZE(algs); in crypto_chacha_mod_init() 234 BUILD_BUG_ON(ARRAY_SIZE(algs) % 2 != 0); in crypto_chacha_mod_init() 238 return crypto_register_skciphers(algs, num_algs); in crypto_chacha_mod_init() 243 crypto_unregister_skciphers(algs, num_algs); in crypto_chacha_mod_fini()
|
| A D | aead.c | 250 int crypto_register_aeads(struct aead_alg *algs, int count) in crypto_register_aeads() argument 255 ret = crypto_register_aead(&algs[i]); in crypto_register_aeads() 264 crypto_unregister_aead(&algs[i]); in crypto_register_aeads() 270 void crypto_unregister_aeads(struct aead_alg *algs, int count) in crypto_unregister_aeads() argument 275 crypto_unregister_aead(&algs[i]); in crypto_unregister_aeads()
|
| A D | sha3_generic.c | 221 static struct shash_alg algs[] = { { variable 269 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha3_generic_mod_init() 274 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha3_generic_mod_fini()
|
| A D | sha512.c | 261 static struct shash_alg algs[] = { variable 334 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in crypto_sha512_mod_init() 340 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in crypto_sha512_mod_exit()
|
| A D | sha256.c | 255 static struct shash_alg algs[] = { variable 328 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in crypto_sha256_mod_init() 334 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in crypto_sha256_mod_exit()
|
| A D | streebog_generic.c | 1026 static struct shash_alg algs[2] = { { variable 1056 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in streebog_mod_init() 1061 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in streebog_mod_fini()
|
| A D | scompress.c | 380 int crypto_register_scomps(struct scomp_alg *algs, int count) in crypto_register_scomps() argument 385 ret = crypto_register_scomp(&algs[i]); in crypto_register_scomps() 394 crypto_unregister_scomp(&algs[i]); in crypto_register_scomps() 400 void crypto_unregister_scomps(struct scomp_alg *algs, int count) in crypto_unregister_scomps() argument 405 crypto_unregister_scomp(&algs[i]); in crypto_unregister_scomps()
|
| A D | shash.c | 539 int crypto_register_shashes(struct shash_alg *algs, int count) in crypto_register_shashes() argument 544 ret = crypto_register_shash(&algs[i]); in crypto_register_shashes() 553 crypto_unregister_shash(&algs[i]); in crypto_register_shashes() 559 void crypto_unregister_shashes(struct shash_alg *algs, int count) in crypto_unregister_shashes() argument 564 crypto_unregister_shash(&algs[i]); in crypto_unregister_shashes()
|
| A D | acompress.c | 334 int crypto_register_acomps(struct acomp_alg *algs, int count) in crypto_register_acomps() argument 339 ret = crypto_register_acomp(&algs[i]); in crypto_register_acomps() 348 crypto_unregister_acomp(&algs[i]); in crypto_register_acomps() 354 void crypto_unregister_acomps(struct acomp_alg *algs, int count) in crypto_unregister_acomps() argument 359 crypto_unregister_acomp(&algs[i]); in crypto_unregister_acomps()
|
| A D | lskcipher.c | 381 int crypto_register_lskciphers(struct lskcipher_alg *algs, int count) in crypto_register_lskciphers() argument 386 ret = crypto_register_lskcipher(&algs[i]); in crypto_register_lskciphers() 395 crypto_unregister_lskcipher(&algs[i]); in crypto_register_lskciphers() 401 void crypto_unregister_lskciphers(struct lskcipher_alg *algs, int count) in crypto_unregister_lskciphers() argument 406 crypto_unregister_lskcipher(&algs[i]); in crypto_unregister_lskciphers()
|
| A D | skcipher.c | 487 int crypto_register_skciphers(struct skcipher_alg *algs, int count) in crypto_register_skciphers() argument 492 ret = crypto_register_skcipher(&algs[i]); in crypto_register_skciphers() 501 crypto_unregister_skcipher(&algs[i]); in crypto_register_skciphers() 507 void crypto_unregister_skciphers(struct skcipher_alg *algs, int count) in crypto_unregister_skciphers() argument 512 crypto_unregister_skcipher(&algs[i]); in crypto_unregister_skciphers()
|
| A D | algapi.c | 508 int crypto_register_algs(struct crypto_alg *algs, int count) in crypto_register_algs() argument 513 ret = crypto_register_alg(&algs[i]); in crypto_register_algs() 522 crypto_unregister_alg(&algs[i]); in crypto_register_algs() 528 void crypto_unregister_algs(struct crypto_alg *algs, int count) in crypto_unregister_algs() argument 533 crypto_unregister_alg(&algs[i]); in crypto_unregister_algs()
|
| A D | ahash.c | 1003 int crypto_register_ahashes(struct ahash_alg *algs, int count) in crypto_register_ahashes() argument 1008 ret = crypto_register_ahash(&algs[i]); in crypto_register_ahashes() 1017 crypto_unregister_ahash(&algs[i]); in crypto_register_ahashes() 1023 void crypto_unregister_ahashes(struct ahash_alg *algs, int count) in crypto_unregister_ahashes() argument 1028 crypto_unregister_ahash(&algs[i]); in crypto_unregister_ahashes()
|