Home
last modified time | relevance | path

Searched refs:algs (Results 1 – 13 of 13) sorted by relevance

/crypto/
Dfips140-alg-registration.c306 int fips140_crypto_register_algs(struct crypto_alg *algs, int count) in fips140_crypto_register_algs() argument
312 err = fips140_prepare_alg(&algs[i]); in fips140_crypto_register_algs()
317 return crypto_register_algs(algs, count); in fips140_crypto_register_algs()
320 int fips140_crypto_register_aeads(struct aead_alg *algs, int count) in fips140_crypto_register_aeads() argument
326 err = fips140_prepare_aead_alg(&algs[i]); in fips140_crypto_register_aeads()
331 return crypto_register_aeads(algs, count); in fips140_crypto_register_aeads()
334 int fips140_crypto_register_ahashes(struct ahash_alg *algs, int count) in fips140_crypto_register_ahashes() argument
340 err = fips140_prepare_ahash_alg(&algs[i]); in fips140_crypto_register_ahashes()
345 return crypto_register_ahashes(algs, count); in fips140_crypto_register_ahashes()
348 int fips140_crypto_register_rngs(struct rng_alg *algs, int count) in fips140_crypto_register_rngs() argument
[all …]
Dsimd.c229 int simd_register_skciphers_compat(struct skcipher_alg *algs, int count, in simd_register_skciphers_compat() argument
239 err = crypto_register_skciphers(algs, count); in simd_register_skciphers_compat()
244 WARN_ON(strncmp(algs[i].base.cra_name, "__", 2)); in simd_register_skciphers_compat()
245 WARN_ON(strncmp(algs[i].base.cra_driver_name, "__", 2)); in simd_register_skciphers_compat()
246 algname = algs[i].base.cra_name + 2; in simd_register_skciphers_compat()
247 drvname = algs[i].base.cra_driver_name + 2; in simd_register_skciphers_compat()
248 basename = algs[i].base.cra_driver_name; in simd_register_skciphers_compat()
258 simd_unregister_skciphers(algs, count, simd_algs); in simd_register_skciphers_compat()
263 void simd_unregister_skciphers(struct skcipher_alg *algs, int count, in simd_unregister_skciphers() argument
268 crypto_unregister_skciphers(algs, count); in simd_unregister_skciphers()
[all …]
Dchacha_generic.c69 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()
Drng.c198 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()
Dacompress.c168 int crypto_register_acomps(struct acomp_alg *algs, int count) in crypto_register_acomps() argument
173 ret = crypto_register_acomp(&algs[i]); in crypto_register_acomps()
182 crypto_unregister_acomp(&algs[i]); in crypto_register_acomps()
188 void crypto_unregister_acomps(struct acomp_alg *algs, int count) in crypto_unregister_acomps() argument
193 crypto_unregister_acomp(&algs[i]); in crypto_unregister_acomps()
Dscompress.c281 int crypto_register_scomps(struct scomp_alg *algs, int count) in crypto_register_scomps() argument
286 ret = crypto_register_scomp(&algs[i]); in crypto_register_scomps()
295 crypto_unregister_scomp(&algs[i]); in crypto_register_scomps()
301 void crypto_unregister_scomps(struct scomp_alg *algs, int count) in crypto_unregister_scomps() argument
306 crypto_unregister_scomp(&algs[i]); in crypto_unregister_scomps()
Daead.c257 int crypto_register_aeads(struct aead_alg *algs, int count) in crypto_register_aeads() argument
262 ret = crypto_register_aead(&algs[i]); in crypto_register_aeads()
271 crypto_unregister_aead(&algs[i]); in crypto_register_aeads()
277 void crypto_unregister_aeads(struct aead_alg *algs, int count) in crypto_unregister_aeads() argument
282 crypto_unregister_aead(&algs[i]); in crypto_unregister_aeads()
Dsha3_generic.c240 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()
Dstreebog_generic.c1049 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()
Dshash.c574 int crypto_register_shashes(struct shash_alg *algs, int count) in crypto_register_shashes() argument
579 ret = crypto_register_shash(&algs[i]); in crypto_register_shashes()
588 crypto_unregister_shash(&algs[i]); in crypto_register_shashes()
594 void crypto_unregister_shashes(struct shash_alg *algs, int count) in crypto_unregister_shashes() argument
599 crypto_unregister_shash(&algs[i]); in crypto_unregister_shashes()
Dahash.c603 int crypto_register_ahashes(struct ahash_alg *algs, int count) in crypto_register_ahashes() argument
608 ret = crypto_register_ahash(&algs[i]); in crypto_register_ahashes()
617 crypto_unregister_ahash(&algs[i]); in crypto_register_ahashes()
623 void crypto_unregister_ahashes(struct ahash_alg *algs, int count) in crypto_unregister_ahashes() argument
628 crypto_unregister_ahash(&algs[i]); in crypto_unregister_ahashes()
Dskcipher.c829 int crypto_register_skciphers(struct skcipher_alg *algs, int count) in crypto_register_skciphers() argument
834 ret = crypto_register_skcipher(&algs[i]); in crypto_register_skciphers()
843 crypto_unregister_skcipher(&algs[i]); in crypto_register_skciphers()
849 void crypto_unregister_skciphers(struct skcipher_alg *algs, int count) in crypto_unregister_skciphers() argument
854 crypto_unregister_skcipher(&algs[i]); in crypto_unregister_skciphers()
Dalgapi.c493 int crypto_register_algs(struct crypto_alg *algs, int count) in crypto_register_algs() argument
498 ret = crypto_register_alg(&algs[i]); in crypto_register_algs()
507 crypto_unregister_alg(&algs[i]); in crypto_register_algs()
513 void crypto_unregister_algs(struct crypto_alg *algs, int count) in crypto_unregister_algs() argument
518 crypto_unregister_alg(&algs[i]); in crypto_unregister_algs()