Home
last modified time | relevance | path

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

12

/Linux-v5.15/arch/arm/crypto/
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()
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-v5.15/crypto/
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()
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()
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()
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()
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()
/Linux-v5.15/drivers/staging/rtl8192u/ieee80211/
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-v5.15/arch/arm64/crypto/
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()
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()
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()
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()
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()
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-v5.15/include/crypto/internal/
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,
Drng.h17 int crypto_register_rngs(struct rng_alg *algs, int count);
18 void crypto_unregister_rngs(struct rng_alg *algs, int count);
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);
Dacompress.h74 int crypto_register_acomps(struct acomp_alg *algs, int count);
75 void crypto_unregister_acomps(struct acomp_alg *algs, int count);
/Linux-v5.15/arch/mips/crypto/
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-v5.15/arch/powerpc/crypto/
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-v5.15/net/xfrm/
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-v5.15/arch/x86/crypto/
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()

12