/Linux-v5.4/arch/arm/crypto/ |
D | sha256_glue.c | 58 static struct shash_alg algs[] = { { variable 90 int res = crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_init() 100 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_init() 108 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_fini()
|
D | sha2-ce-glue.c | 68 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()
|
D | chacha-neon-glue.c | 126 static struct skcipher_alg algs[] = { variable 183 return crypto_register_skciphers(algs, ARRAY_SIZE(algs)); in chacha_simd_mod_init() 188 crypto_unregister_skciphers(algs, ARRAY_SIZE(algs)); in chacha_simd_mod_fini()
|
/Linux-v5.4/crypto/ |
D | simd.c | 232 int simd_register_skciphers_compat(struct skcipher_alg *algs, int count, in simd_register_skciphers_compat() argument 242 err = crypto_register_skciphers(algs, count); in simd_register_skciphers_compat() 247 WARN_ON(strncmp(algs[i].base.cra_name, "__", 2)); in simd_register_skciphers_compat() 248 WARN_ON(strncmp(algs[i].base.cra_driver_name, "__", 2)); in simd_register_skciphers_compat() 249 algname = algs[i].base.cra_name + 2; in simd_register_skciphers_compat() 250 drvname = algs[i].base.cra_driver_name + 2; in simd_register_skciphers_compat() 251 basename = algs[i].base.cra_driver_name; in simd_register_skciphers_compat() 261 simd_unregister_skciphers(algs, count, simd_algs); in simd_register_skciphers_compat() 266 void simd_unregister_skciphers(struct skcipher_alg *algs, int count, in simd_unregister_skciphers() argument 271 crypto_unregister_skciphers(algs, count); in simd_unregister_skciphers() [all …]
|
D | acompress.c | 160 int crypto_register_acomps(struct acomp_alg *algs, int count) in crypto_register_acomps() argument 165 ret = crypto_register_acomp(&algs[i]); in crypto_register_acomps() 174 crypto_unregister_acomp(&algs[i]); in crypto_register_acomps() 180 void crypto_unregister_acomps(struct acomp_alg *algs, int count) in crypto_unregister_acomps() argument 185 crypto_unregister_acomp(&algs[i]); in crypto_unregister_acomps()
|
D | rng.c | 198 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()
|
D | chacha_generic.c | 141 static struct skcipher_alg algs[] = { variable 192 return crypto_register_skciphers(algs, ARRAY_SIZE(algs)); in chacha_generic_mod_init() 197 crypto_unregister_skciphers(algs, ARRAY_SIZE(algs)); in chacha_generic_mod_fini()
|
D | scompress.c | 275 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()
|
D | sha3_generic.c | 240 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()
|
/Linux-v5.4/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt.c | 28 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.4/arch/arm64/crypto/ |
D | sha512-glue.c | 51 static struct shash_alg algs[] = { { variable 79 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha512_mod_init() 84 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha512_mod_fini()
|
D | sha256-glue.c | 57 static struct shash_alg algs[] = { { variable 168 int ret = crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_init() 175 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_init() 184 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_fini()
|
D | sha512-ce-glue.c | 81 static struct shash_alg algs[] = { { variable 109 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha512_ce_mod_init() 114 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha512_ce_mod_fini()
|
D | sha2-ce-glue.c | 104 static struct shash_alg algs[] = { { variable 136 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha2_ce_mod_init() 141 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha2_ce_mod_fini()
|
D | sha3-ce-glue.c | 101 static struct shash_alg algs[] = { { variable 149 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha3_neon_mod_init() 154 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha3_neon_mod_fini()
|
D | chacha-neon-glue.c | 123 static struct skcipher_alg algs[] = { variable 180 return crypto_register_skciphers(algs, ARRAY_SIZE(algs)); in chacha_simd_mod_init() 185 crypto_unregister_skciphers(algs, ARRAY_SIZE(algs)); in chacha_simd_mod_fini()
|
/Linux-v5.4/include/crypto/internal/ |
D | simd.h | 24 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,
|
D | rng.h | 17 int crypto_register_rngs(struct rng_alg *algs, int count); 18 void crypto_unregister_rngs(struct rng_alg *algs, int count);
|
D | acompress.h | 76 int crypto_register_acomps(struct acomp_alg *algs, int count); 77 void crypto_unregister_acomps(struct acomp_alg *algs, int count);
|
D | hash.h | 74 int crypto_register_ahashes(struct ahash_alg *algs, int count); 75 void crypto_unregister_ahashes(struct ahash_alg *algs, int count); 103 int crypto_register_shashes(struct shash_alg *algs, int count); 104 int crypto_unregister_shashes(struct shash_alg *algs, int count);
|
/Linux-v5.4/arch/powerpc/crypto/ |
D | sha256-spe-glue.c | 216 static struct shash_alg algs[2] = { { variable 252 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in ppc_spe_sha256_mod_init() 257 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in ppc_spe_sha256_mod_fini()
|
/Linux-v5.4/net/xfrm/ |
D | xfrm_algo.c | 606 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.4/arch/sparc/crypto/ |
D | camellia_glue.c | 227 static struct crypto_alg algs[] = { { variable 305 return crypto_register_algs(algs, ARRAY_SIZE(algs)); in camellia_sparc64_mod_init() 313 crypto_unregister_algs(algs, ARRAY_SIZE(algs)); in camellia_sparc64_mod_fini()
|
/Linux-v5.4/arch/x86/crypto/ |
D | chacha_glue.c | 217 static struct skcipher_alg algs[] = { variable 281 return crypto_register_skciphers(algs, ARRAY_SIZE(algs)); in chacha_simd_mod_init() 286 crypto_unregister_skciphers(algs, ARRAY_SIZE(algs)); in chacha_simd_mod_fini()
|
/Linux-v5.4/drivers/crypto/stm32/ |
D | stm32-crc32.c | 207 static struct shash_alg algs[] = { variable 297 ret = crypto_register_shashes(algs, ARRAY_SIZE(algs)); in stm32_crc_probe() 323 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in stm32_crc_remove()
|