Home
last modified time | relevance | path

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

12

/linux/crypto/
A Dsimd.c239 err = crypto_register_skciphers(algs, count); 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()
268 crypto_unregister_skciphers(algs, count); in simd_unregister_skciphers()
486 err = crypto_register_aeads(algs, count); in simd_register_aeads_compat()
493 algname = algs[i].base.cra_name + 2; in simd_register_aeads_compat()
494 drvname = algs[i].base.cra_driver_name + 2; in simd_register_aeads_compat()
495 basename = algs[i].base.cra_driver_name; in simd_register_aeads_compat()
505 simd_unregister_aeads(algs, count, simd_algs); in simd_register_aeads_compat()
[all …]
A 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()
A 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()
A 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()
A Dscompress.c275 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()
A 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()
A 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()
A 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()
/linux/arch/arm/crypto/
A Dsha256_glue.c57 static struct shash_alg algs[] = { { variable
89 int res = crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_init()
99 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_init()
107 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_fini()
A Dsha2-ce-glue.c68 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/drivers/staging/rtl8192u/ieee80211/
A Dieee80211_crypt.c28 struct list_head algs; member
113 list_add(&alg->list, &hcrypt->algs); in ieee80211_register_crypto_ops()
132 for (ptr = hcrypt->algs.next; ptr != &hcrypt->algs; ptr = ptr->next) { in ieee80211_unregister_crypto_ops()
163 for (ptr = hcrypt->algs.next; ptr != &hcrypt->algs; ptr = ptr->next) { in ieee80211_get_crypto_ops()
205 INIT_LIST_HEAD(&hcrypt->algs); in ieee80211_crypto_init()
224 for (ptr = hcrypt->algs.next, n = ptr->next; ptr != &hcrypt->algs; in ieee80211_crypto_deinit()
/linux/arch/arm64/crypto/
A Dsha256-glue.c67 static struct shash_alg algs[] = { { variable
175 int ret = crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_init()
182 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_init()
191 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_fini()
A Dsha512-glue.c55 static struct shash_alg algs[] = { { variable
83 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha512_mod_init()
88 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha512_mod_fini()
A Dsha512-ce-glue.c84 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()
A Dsha2-ce-glue.c136 static struct shash_alg algs[] = { { variable
174 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha2_ce_mod_init()
179 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha2_ce_mod_fini()
A Dsha3-ce-glue.c109 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()
A Dchacha-neon-glue.c163 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/include/crypto/internal/
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,
A Dhash.h73 int crypto_register_ahashes(struct ahash_alg *algs, int count);
74 void crypto_unregister_ahashes(struct ahash_alg *algs, int count);
105 int crypto_register_shashes(struct shash_alg *algs, int count);
106 void crypto_unregister_shashes(struct shash_alg *algs, int count);
A Drng.h17 int crypto_register_rngs(struct rng_alg *algs, int count);
18 void crypto_unregister_rngs(struct rng_alg *algs, int count);
A Dacompress.h74 int crypto_register_acomps(struct acomp_alg *algs, int count);
75 void crypto_unregister_acomps(struct acomp_alg *algs, int count);
/linux/arch/mips/crypto/
A Dchacha-glue.c80 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/arch/powerpc/crypto/
A Dsha256-spe-glue.c215 static struct shash_alg algs[2] = { { variable
251 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in ppc_spe_sha256_mod_init()
256 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in ppc_spe_sha256_mod_fini()
/linux/net/xfrm/
A Dxfrm_algo.c606 struct xfrm_algo_desc *algs; member
613 .algs = aead_list,
620 .algs = aalg_list,
627 .algs = ealg_list,
634 .algs = calg_list,
645 struct xfrm_algo_desc *list = algo_list->algs; in xfrm_find_algo()
/linux/arch/x86/crypto/
A Dchacha_glue.c230 static struct skcipher_alg algs[] = { variable
297 crypto_register_skciphers(algs, ARRAY_SIZE(algs)) : 0; in chacha_simd_mod_init()
303 crypto_unregister_skciphers(algs, ARRAY_SIZE(algs)); in chacha_simd_mod_fini()

Completed in 56 milliseconds

12