Searched refs:algs (Results 1 - 25 of 48) sorted by path

12

/linux-master/include/crypto/internal/
H A Drng.h17 int crypto_register_rngs(struct rng_alg *algs, int count);
18 void crypto_unregister_rngs(struct rng_alg *algs, int count);
H A Dsimd.h24 int simd_register_skciphers_compat(struct skcipher_alg *algs, int count,
27 void simd_unregister_skciphers(struct skcipher_alg *algs, int count,
42 int simd_register_aeads_compat(struct aead_alg *algs, int count,
45 void simd_unregister_aeads(struct aead_alg *algs, int count,
/linux-master/arch/arm/crypto/
H A Dsha2-ce-glue.c68 static struct shash_alg algs[] = { { variable in typeref:struct:shash_alg
100 return crypto_register_shashes(algs, ARRAY_SIZE(algs));
105 crypto_unregister_shashes(algs, ARRAY_SIZE(algs));
H A Dsha256_glue.c54 static struct shash_alg algs[] = { { variable in typeref:struct:shash_alg
86 int res = crypto_register_shashes(algs, ARRAY_SIZE(algs));
96 crypto_unregister_shashes(algs, ARRAY_SIZE(algs));
104 crypto_unregister_shashes(algs, ARRAY_SIZE(algs));
/linux-master/arch/arm64/crypto/
H A Dchacha-neon-glue.c163 static struct skcipher_alg algs[] = { variable in typeref:struct:skcipher_alg
223 crypto_register_skciphers(algs, ARRAY_SIZE(algs)) : 0;
229 crypto_unregister_skciphers(algs, ARRAY_SIZE(algs));
H A Dsha2-ce-glue.c144 static struct shash_alg algs[] = { { variable in typeref:struct:shash_alg
183 return crypto_register_shashes(algs, ARRAY_SIZE(algs));
188 crypto_unregister_shashes(algs, ARRAY_SIZE(algs));
H A Dsha256-glue.c66 static struct shash_alg algs[] = { { variable in typeref:struct:shash_alg
174 int ret = crypto_register_shashes(algs, ARRAY_SIZE(algs));
181 crypto_unregister_shashes(algs, ARRAY_SIZE(algs));
190 crypto_unregister_shashes(algs, ARRAY_SIZE(algs));
H A Dsha3-ce-glue.c109 static struct shash_alg algs[] = { { variable in typeref:struct:shash_alg
157 return crypto_register_shashes(algs, ARRAY_SIZE(algs));
162 crypto_unregister_shashes(algs, ARRAY_SIZE(algs));
H A Dsha512-ce-glue.c84 static struct shash_alg algs[] = { { variable in typeref:struct:shash_alg
112 return crypto_register_shashes(algs, ARRAY_SIZE(algs));
117 crypto_unregister_shashes(algs, ARRAY_SIZE(algs));
H A Dsha512-glue.c53 static struct shash_alg algs[] = { { variable in typeref:struct:shash_alg
81 return crypto_register_shashes(algs, ARRAY_SIZE(algs));
86 crypto_unregister_shashes(algs, ARRAY_SIZE(algs));
/linux-master/arch/mips/crypto/
H A Dchacha-glue.c80 static struct skcipher_alg algs[] = { variable in typeref:struct:skcipher_alg
132 crypto_register_skciphers(algs, ARRAY_SIZE(algs)) : 0;
138 crypto_unregister_skciphers(algs, ARRAY_SIZE(algs));
/linux-master/arch/powerpc/crypto/
H A Dchacha-p10-glue.c149 static struct skcipher_alg algs[] = { variable in typeref:struct:skcipher_alg
205 return crypto_register_skciphers(algs, ARRAY_SIZE(algs));
213 crypto_unregister_skciphers(algs, ARRAY_SIZE(algs));
H A Dsha256-spe-glue.c182 static struct shash_alg algs[2] = { { variable in typeref:struct:shash_alg
218 return crypto_register_shashes(algs, ARRAY_SIZE(algs));
223 crypto_unregister_shashes(algs, ARRAY_SIZE(algs));
/linux-master/arch/x86/crypto/
H A Dchacha_glue.c230 static struct skcipher_alg algs[] = { variable in typeref:struct:skcipher_alg
297 crypto_register_skciphers(algs, ARRAY_SIZE(algs)) : 0;
303 crypto_unregister_skciphers(algs, ARRAY_SIZE(algs));
/linux-master/crypto/
H A Dacompress.c215 int crypto_register_acomps(struct acomp_alg *algs, int count) argument
220 ret = crypto_register_acomp(&algs[i]);
229 crypto_unregister_acomp(&algs[i]);
235 void crypto_unregister_acomps(struct acomp_alg *algs, int count) argument
240 crypto_unregister_acomp(&algs[i]);
H A Daead.c319 int crypto_register_aeads(struct aead_alg *algs, int count) argument
324 ret = crypto_register_aead(&algs[i]);
333 crypto_unregister_aead(&algs[i]);
339 void crypto_unregister_aeads(struct aead_alg *algs, int count) argument
344 crypto_unregister_aead(&algs[i]);
H A Dahash.c728 int crypto_register_ahashes(struct ahash_alg *algs, int count) argument
733 ret = crypto_register_ahash(&algs[i]);
742 crypto_unregister_ahash(&algs[i]);
748 void crypto_unregister_ahashes(struct ahash_alg *algs, int count) argument
753 crypto_unregister_ahash(&algs[i]);
H A Dalgapi.c48 /* General maximums for all algs. */
517 int crypto_register_algs(struct crypto_alg *algs, int count) argument
522 ret = crypto_register_alg(&algs[i]);
531 crypto_unregister_alg(&algs[i]);
537 void crypto_unregister_algs(struct crypto_alg *algs, int count) argument
542 crypto_unregister_alg(&algs[i]);
H A Dchacha_generic.c69 static struct skcipher_alg algs[] = { variable in typeref:struct:skcipher_alg
120 return crypto_register_skciphers(algs, ARRAY_SIZE(algs));
125 crypto_unregister_skciphers(algs, ARRAY_SIZE(algs));
H A Dcrypto_engine.c585 int crypto_engine_register_aeads(struct aead_engine_alg *algs, int count) argument
590 ret = crypto_engine_register_aead(&algs[i]);
598 crypto_engine_unregister_aeads(algs, i);
604 void crypto_engine_unregister_aeads(struct aead_engine_alg *algs, int count) argument
609 crypto_engine_unregister_aead(&algs[i]);
630 int crypto_engine_register_ahashes(struct ahash_engine_alg *algs, int count) argument
635 ret = crypto_engine_register_ahash(&algs[i]);
643 crypto_engine_unregister_ahashes(algs, i);
649 void crypto_engine_unregister_ahashes(struct ahash_engine_alg *algs, argument
655 crypto_engine_unregister_ahash(&algs[
710 crypto_engine_register_skciphers(struct skcipher_engine_alg *algs, int count) argument
730 crypto_engine_unregister_skciphers(struct skcipher_engine_alg *algs, int count) argument
[all...]
H A Dlskcipher.c445 int crypto_register_lskciphers(struct lskcipher_alg *algs, int count) argument
450 ret = crypto_register_lskcipher(&algs[i]);
459 crypto_unregister_lskcipher(&algs[i]);
465 void crypto_unregister_lskciphers(struct lskcipher_alg *algs, int count) argument
470 crypto_unregister_lskcipher(&algs[i]);
H A Drng.c225 int crypto_register_rngs(struct rng_alg *algs, int count) argument
230 ret = crypto_register_rng(algs + i);
239 crypto_unregister_rng(algs + i);
245 void crypto_unregister_rngs(struct rng_alg *algs, int count) argument
250 crypto_unregister_rng(algs + i);
H A Dscompress.c302 int crypto_register_scomps(struct scomp_alg *algs, int count) argument
307 ret = crypto_register_scomp(&algs[i]);
316 crypto_unregister_scomp(&algs[i]);
322 void crypto_unregister_scomps(struct scomp_alg *algs, int count) argument
327 crypto_unregister_scomp(&algs[i]);
H A Dsha3_generic.c240 static struct shash_alg algs[] = { { variable in typeref:struct:shash_alg
284 return crypto_register_shashes(algs, ARRAY_SIZE(algs));
289 crypto_unregister_shashes(algs, ARRAY_SIZE(algs));
H A Dshash.c431 int crypto_register_shashes(struct shash_alg *algs, int count) argument
436 ret = crypto_register_shash(&algs[i]);
445 crypto_unregister_shash(&algs[i]);
451 void crypto_unregister_shashes(struct shash_alg *algs, int count) argument
456 crypto_unregister_shash(&algs[i]);

Completed in 660 milliseconds

12