/Linux-v4.19/arch/arm/crypto/ |
D | sha256_glue.c | 63 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()
|
D | sha2-ce-glue.c | 70 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/ |
D | vmx.c | 36 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/ |
D | ieee80211_crypt.c | 33 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/ |
D | simd.c | 224 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()
|
D | acompress.c | 169 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()
|
D | rng.c | 204 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()
|
D | scompress.c | 298 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()
|
D | sha3_generic.c | 245 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()
|
D | aead.c | 392 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/ |
D | sha512-glue.c | 56 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()
|
D | sha256-glue.c | 61 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()
|
D | sha512-ce-glue.c | 80 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()
|
D | sha2-ce-glue.c | 106 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()
|
D | sha3-ce-glue.c | 100 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/ |
D | camellia_glue.c | 226 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()
|
D | aes_glue.c | 384 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()
|
D | des_glue.c | 381 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/ |
D | sha256-spe-glue.c | 221 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/ |
D | simd.h | 19 int simd_register_skciphers_compat(struct skcipher_alg *algs, int count, 22 void simd_unregister_skciphers(struct skcipher_alg *algs, int count,
|
D | rng.h | 22 int crypto_register_rngs(struct rng_alg *algs, int count); 23 void crypto_unregister_rngs(struct rng_alg *algs, int count);
|
D | acompress.h | 81 int crypto_register_acomps(struct acomp_alg *algs, int count); 82 void crypto_unregister_acomps(struct acomp_alg *algs, int count);
|
D | hash.h | 79 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/ |
D | xfrm_algo.c | 610 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/ |
D | stm32_crc32.c | 207 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()
|