Home
last modified time | relevance | path

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

12

/Linux-v4.19/arch/arm/crypto/
Dsha256_glue.c63 static struct shash_alg algs[] = { { variable
95 int res = crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_init()
105 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_init()
113 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_fini()
Dsha2-ce-glue.c70 static struct shash_alg algs[] = { { variable
102 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha2_ce_mod_init()
107 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha2_ce_mod_fini()
/Linux-v4.19/drivers/crypto/vmx/
Dvmx.c36 static struct crypto_alg *algs[] = { variable
49 for (alg_it = algs; *alg_it; alg_it++) { in p8_init()
54 for (alg_it--; alg_it >= algs; alg_it--) in p8_init()
64 for (alg_it = algs; *alg_it; alg_it++) in p8_init()
74 for (alg_it = algs; *alg_it; alg_it++) { in p8_exit()
/Linux-v4.19/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt.c33 struct list_head algs; member
118 list_add(&alg->list, &hcrypt->algs); in ieee80211_register_crypto_ops()
137 for (ptr = hcrypt->algs.next; ptr != &hcrypt->algs; ptr = ptr->next) { in ieee80211_unregister_crypto_ops()
168 for (ptr = hcrypt->algs.next; ptr != &hcrypt->algs; ptr = ptr->next) { in ieee80211_get_crypto_ops()
210 INIT_LIST_HEAD(&hcrypt->algs); in ieee80211_crypto_init()
229 for (ptr = hcrypt->algs.next, n = ptr->next; ptr != &hcrypt->algs; in ieee80211_crypto_deinit()
/Linux-v4.19/crypto/
Dsimd.c224 int simd_register_skciphers_compat(struct skcipher_alg *algs, int count, in simd_register_skciphers_compat() argument
234 err = crypto_register_skciphers(algs, count); in simd_register_skciphers_compat()
239 WARN_ON(strncmp(algs[i].base.cra_name, "__", 2)); in simd_register_skciphers_compat()
240 WARN_ON(strncmp(algs[i].base.cra_driver_name, "__", 2)); in simd_register_skciphers_compat()
241 algname = algs[i].base.cra_name + 2; in simd_register_skciphers_compat()
242 drvname = algs[i].base.cra_driver_name + 2; in simd_register_skciphers_compat()
243 basename = algs[i].base.cra_driver_name; in simd_register_skciphers_compat()
253 simd_unregister_skciphers(algs, count, simd_algs); in simd_register_skciphers_compat()
258 void simd_unregister_skciphers(struct skcipher_alg *algs, int count, in simd_unregister_skciphers() argument
263 crypto_unregister_skciphers(algs, count); in simd_unregister_skciphers()
Dacompress.c169 int crypto_register_acomps(struct acomp_alg *algs, int count) in crypto_register_acomps() argument
174 ret = crypto_register_acomp(&algs[i]); in crypto_register_acomps()
183 crypto_unregister_acomp(&algs[i]); in crypto_register_acomps()
189 void crypto_unregister_acomps(struct acomp_alg *algs, int count) in crypto_unregister_acomps() argument
194 crypto_unregister_acomp(&algs[i]); in crypto_unregister_acomps()
Drng.c204 int crypto_register_rngs(struct rng_alg *algs, int count) in crypto_register_rngs() argument
209 ret = crypto_register_rng(algs + i); in crypto_register_rngs()
218 crypto_unregister_rng(algs + i); in crypto_register_rngs()
224 void crypto_unregister_rngs(struct rng_alg *algs, int count) in crypto_unregister_rngs() argument
229 crypto_unregister_rng(algs + i); in crypto_unregister_rngs()
Dscompress.c298 int crypto_register_scomps(struct scomp_alg *algs, int count) in crypto_register_scomps() argument
303 ret = crypto_register_scomp(&algs[i]); in crypto_register_scomps()
312 crypto_unregister_scomp(&algs[i]); in crypto_register_scomps()
318 void crypto_unregister_scomps(struct scomp_alg *algs, int count) in crypto_unregister_scomps() argument
323 crypto_unregister_scomp(&algs[i]); in crypto_unregister_scomps()
Dsha3_generic.c245 static struct shash_alg algs[] = { { variable
289 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha3_generic_mod_init()
294 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha3_generic_mod_fini()
Daead.c392 int crypto_register_aeads(struct aead_alg *algs, int count) in crypto_register_aeads() argument
397 ret = crypto_register_aead(&algs[i]); in crypto_register_aeads()
406 crypto_unregister_aead(&algs[i]); in crypto_register_aeads()
412 void crypto_unregister_aeads(struct aead_alg *algs, int count) in crypto_unregister_aeads() argument
417 crypto_unregister_aead(&algs[i]); in crypto_unregister_aeads()
/Linux-v4.19/arch/arm64/crypto/
Dsha512-glue.c56 static struct shash_alg algs[] = { { variable
84 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha512_mod_init()
89 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha512_mod_fini()
Dsha256-glue.c61 static struct shash_alg algs[] = { { variable
172 int ret = crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_init()
179 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_init()
188 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_fini()
Dsha512-ce-glue.c80 static struct shash_alg algs[] = { { variable
108 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha512_ce_mod_init()
113 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha512_ce_mod_fini()
Dsha2-ce-glue.c106 static struct shash_alg algs[] = { { variable
138 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha2_ce_mod_init()
143 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha2_ce_mod_fini()
Dsha3-ce-glue.c100 static struct shash_alg algs[] = { { variable
148 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha3_neon_mod_init()
153 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha3_neon_mod_fini()
/Linux-v4.19/arch/sparc/crypto/
Dcamellia_glue.c226 static struct crypto_alg algs[] = { { variable
304 for (i = 0; i < ARRAY_SIZE(algs); i++) in camellia_sparc64_mod_init()
305 INIT_LIST_HEAD(&algs[i].cra_list); in camellia_sparc64_mod_init()
309 return crypto_register_algs(algs, ARRAY_SIZE(algs)); in camellia_sparc64_mod_init()
317 crypto_unregister_algs(algs, ARRAY_SIZE(algs)); in camellia_sparc64_mod_fini()
Daes_glue.c384 static struct crypto_alg algs[] = { { variable
481 for (i = 0; i < ARRAY_SIZE(algs); i++) in aes_sparc64_mod_init()
482 INIT_LIST_HEAD(&algs[i].cra_list); in aes_sparc64_mod_init()
486 return crypto_register_algs(algs, ARRAY_SIZE(algs)); in aes_sparc64_mod_init()
494 crypto_unregister_algs(algs, ARRAY_SIZE(algs)); in aes_sparc64_mod_fini()
Ddes_glue.c381 static struct crypto_alg algs[] = { { variable
515 for (i = 0; i < ARRAY_SIZE(algs); i++) in des_sparc64_mod_init()
516 INIT_LIST_HEAD(&algs[i].cra_list); in des_sparc64_mod_init()
520 return crypto_register_algs(algs, ARRAY_SIZE(algs)); in des_sparc64_mod_init()
528 crypto_unregister_algs(algs, ARRAY_SIZE(algs)); in des_sparc64_mod_fini()
/Linux-v4.19/arch/powerpc/crypto/
Dsha256-spe-glue.c221 static struct shash_alg algs[2] = { { variable
257 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in ppc_spe_sha256_mod_init()
262 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in ppc_spe_sha256_mod_fini()
/Linux-v4.19/include/crypto/internal/
Dsimd.h19 int simd_register_skciphers_compat(struct skcipher_alg *algs, int count,
22 void simd_unregister_skciphers(struct skcipher_alg *algs, int count,
Drng.h22 int crypto_register_rngs(struct rng_alg *algs, int count);
23 void crypto_unregister_rngs(struct rng_alg *algs, int count);
Dacompress.h81 int crypto_register_acomps(struct acomp_alg *algs, int count);
82 void crypto_unregister_acomps(struct acomp_alg *algs, int count);
Dhash.h79 int crypto_register_ahashes(struct ahash_alg *algs, int count);
80 void crypto_unregister_ahashes(struct ahash_alg *algs, int count);
108 int crypto_register_shashes(struct shash_alg *algs, int count);
109 int crypto_unregister_shashes(struct shash_alg *algs, int count);
/Linux-v4.19/net/xfrm/
Dxfrm_algo.c610 struct xfrm_algo_desc *algs; member
617 .algs = aead_list,
624 .algs = aalg_list,
631 .algs = ealg_list,
638 .algs = calg_list,
649 struct xfrm_algo_desc *list = algo_list->algs; in xfrm_find_algo()
/Linux-v4.19/drivers/crypto/stm32/
Dstm32_crc32.c207 static struct shash_alg algs[] = { variable
299 ret = crypto_register_shashes(algs, ARRAY_SIZE(algs)); in stm32_crc_probe()
325 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in stm32_crc_remove()

12