/linux-6.12.1/crypto/ |
D | simd.c | 207 int simd_register_skciphers_compat(struct skcipher_alg *algs, int count, in simd_register_skciphers_compat() argument 217 err = crypto_register_skciphers(algs, count); in simd_register_skciphers_compat() 222 WARN_ON(strncmp(algs[i].base.cra_name, "__", 2)); in simd_register_skciphers_compat() 223 WARN_ON(strncmp(algs[i].base.cra_driver_name, "__", 2)); 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() 227 simd = simd_skcipher_create_compat(algs + i, algname, drvname, basename); in simd_register_skciphers_compat() 236 simd_unregister_skciphers(algs, count, simd_algs); in simd_register_skciphers_compat() 241 void simd_unregister_skciphers(struct skcipher_alg *algs, int count, in simd_unregister_skciphers() argument [all …]
|
D | crypto_engine.c | 585 int crypto_engine_register_aeads(struct aead_engine_alg *algs, int count) in crypto_engine_register_aeads() argument 590 ret = crypto_engine_register_aead(&algs[i]); in crypto_engine_register_aeads() 598 crypto_engine_unregister_aeads(algs, i); in crypto_engine_register_aeads() 604 void crypto_engine_unregister_aeads(struct aead_engine_alg *algs, int count) in crypto_engine_unregister_aeads() argument 609 crypto_engine_unregister_aead(&algs[i]); in crypto_engine_unregister_aeads() 630 int crypto_engine_register_ahashes(struct ahash_engine_alg *algs, int count) in crypto_engine_register_ahashes() argument 635 ret = crypto_engine_register_ahash(&algs[i]); in crypto_engine_register_ahashes() 643 crypto_engine_unregister_ahashes(algs, i); in crypto_engine_register_ahashes() 649 void crypto_engine_unregister_ahashes(struct ahash_engine_alg *algs, in crypto_engine_unregister_ahashes() argument 655 crypto_engine_unregister_ahash(&algs[i]); in crypto_engine_unregister_ahashes() [all …]
|
D | chacha_generic.c | 69 static struct skcipher_alg algs[] = { variable 120 return crypto_register_skciphers(algs, ARRAY_SIZE(algs)); in chacha_generic_mod_init() 125 crypto_unregister_skciphers(algs, ARRAY_SIZE(algs)); in chacha_generic_mod_fini()
|
D | rng.c | 191 int crypto_register_rngs(struct rng_alg *algs, int count) in crypto_register_rngs() argument 196 ret = crypto_register_rng(algs + i); in crypto_register_rngs() 205 crypto_unregister_rng(algs + i); in crypto_register_rngs() 211 void crypto_unregister_rngs(struct rng_alg *algs, int count) in crypto_unregister_rngs() argument 216 crypto_unregister_rng(algs + i); in crypto_unregister_rngs()
|
D | acompress.c | 182 int crypto_register_acomps(struct acomp_alg *algs, int count) in crypto_register_acomps() argument 187 ret = crypto_register_acomp(&algs[i]); in crypto_register_acomps() 196 crypto_unregister_acomp(&algs[i]); in crypto_register_acomps() 202 void crypto_unregister_acomps(struct acomp_alg *algs, int count) in crypto_unregister_acomps() argument 207 crypto_unregister_acomp(&algs[i]); in crypto_unregister_acomps()
|
D | aead.c | 248 int crypto_register_aeads(struct aead_alg *algs, int count) in crypto_register_aeads() argument 253 ret = crypto_register_aead(&algs[i]); in crypto_register_aeads() 262 crypto_unregister_aead(&algs[i]); in crypto_register_aeads() 268 void crypto_unregister_aeads(struct aead_alg *algs, int count) in crypto_unregister_aeads() argument 273 crypto_unregister_aead(&algs[i]); in crypto_unregister_aeads()
|
D | scompress.c | 299 int crypto_register_scomps(struct scomp_alg *algs, int count) in crypto_register_scomps() argument 304 ret = crypto_register_scomp(&algs[i]); in crypto_register_scomps() 313 crypto_unregister_scomp(&algs[i]); in crypto_register_scomps() 319 void crypto_unregister_scomps(struct scomp_alg *algs, int count) in crypto_unregister_scomps() argument 324 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()
|
/linux-6.12.1/arch/arm/crypto/ |
D | sha256_glue.c | 54 static struct shash_alg algs[] = { { variable 86 int res = crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_init() 96 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_init() 104 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_fini()
|
D | sha2-ce-glue.c | 68 static struct shash_alg algs[] = { { variable 100 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha2_ce_mod_init() 105 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha2_ce_mod_fini()
|
/linux-6.12.1/include/crypto/ |
D | engine.h | 85 int crypto_engine_register_aeads(struct aead_engine_alg *algs, int count); 86 void crypto_engine_unregister_aeads(struct aead_engine_alg *algs, int count); 90 int crypto_engine_register_ahashes(struct ahash_engine_alg *algs, int count); 91 void crypto_engine_unregister_ahashes(struct ahash_engine_alg *algs, 102 int crypto_engine_register_skciphers(struct skcipher_engine_alg *algs, 104 void crypto_engine_unregister_skciphers(struct skcipher_engine_alg *algs,
|
/linux-6.12.1/include/crypto/internal/ |
D | simd.h | 23 int simd_register_skciphers_compat(struct skcipher_alg *algs, int count, 26 void simd_unregister_skciphers(struct skcipher_alg *algs, int count, 34 int simd_register_aeads_compat(struct aead_alg *algs, int count, 37 void simd_unregister_aeads(struct aead_alg *algs, int count,
|
D | rng.h | 17 int crypto_register_rngs(struct rng_alg *algs, int count); 18 void crypto_unregister_rngs(struct rng_alg *algs, int count);
|
D | hash.h | 71 int crypto_register_ahashes(struct ahash_alg *algs, int count); 72 void crypto_unregister_ahashes(struct ahash_alg *algs, int count); 107 int crypto_register_shashes(struct shash_alg *algs, int count); 108 void crypto_unregister_shashes(struct shash_alg *algs, int count);
|
D | skcipher.h | 196 int crypto_register_skciphers(struct skcipher_alg *algs, int count); 197 void crypto_unregister_skciphers(struct skcipher_alg *algs, int count); 203 int crypto_register_lskciphers(struct lskcipher_alg *algs, int count); 204 void crypto_unregister_lskciphers(struct lskcipher_alg *algs, int count);
|
D | acompress.h | 109 int crypto_register_acomps(struct acomp_alg *algs, int count); 110 void crypto_unregister_acomps(struct acomp_alg *algs, int count);
|
/linux-6.12.1/arch/arm64/crypto/ |
D | sha512-glue.c | 53 static struct shash_alg algs[] = { { variable 81 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha512_mod_init() 86 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha512_mod_fini()
|
D | sha256-glue.c | 66 static struct shash_alg algs[] = { { variable 174 int ret = crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_init() 181 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_init() 190 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_fini()
|
D | sha512-ce-glue.c | 84 static struct shash_alg algs[] = { { variable 112 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha512_ce_mod_init() 117 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha512_ce_mod_fini()
|
D | sha3-ce-glue.c | 109 static struct shash_alg algs[] = { { variable 157 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha3_neon_mod_init() 162 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha3_neon_mod_fini()
|
D | sha2-ce-glue.c | 144 static struct shash_alg algs[] = { { variable 183 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha2_ce_mod_init() 188 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha2_ce_mod_fini()
|
D | chacha-neon-glue.c | 163 static struct skcipher_alg algs[] = { variable 223 crypto_register_skciphers(algs, ARRAY_SIZE(algs)) : 0; in chacha_simd_mod_init() 229 crypto_unregister_skciphers(algs, ARRAY_SIZE(algs)); in chacha_simd_mod_fini()
|
/linux-6.12.1/arch/mips/crypto/ |
D | chacha-glue.c | 80 static struct skcipher_alg algs[] = { variable 132 crypto_register_skciphers(algs, ARRAY_SIZE(algs)) : 0; in chacha_simd_mod_init() 138 crypto_unregister_skciphers(algs, ARRAY_SIZE(algs)); in chacha_simd_mod_fini()
|
/linux-6.12.1/arch/powerpc/crypto/ |
D | sha256-spe-glue.c | 182 static struct shash_alg algs[2] = { { variable 218 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in ppc_spe_sha256_mod_init() 223 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in ppc_spe_sha256_mod_fini()
|
D | chacha-p10-glue.c | 149 static struct skcipher_alg algs[] = { variable 205 return crypto_register_skciphers(algs, ARRAY_SIZE(algs)); in chacha_p10_init() 213 crypto_unregister_skciphers(algs, ARRAY_SIZE(algs)); in chacha_p10_exit()
|