/linux/crypto/ |
A D | simd.c | 239 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 D | chacha_generic.c | 69 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 D | acompress.c | 168 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 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()
|
A 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()
|
A D | aead.c | 257 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 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()
|
A D | streebog_generic.c | 1049 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 D | sha256_glue.c | 57 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 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()
|
/linux/drivers/staging/rtl8192u/ieee80211/ |
A 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/arch/arm64/crypto/ |
A D | sha256-glue.c | 67 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 D | sha512-glue.c | 55 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 D | sha512-ce-glue.c | 84 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 D | sha2-ce-glue.c | 136 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 D | sha3-ce-glue.c | 109 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 D | chacha-neon-glue.c | 163 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 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,
|
A D | hash.h | 73 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 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);
|
A D | acompress.h | 74 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 D | chacha-glue.c | 80 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 D | sha256-spe-glue.c | 215 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 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/arch/x86/crypto/ |
A D | chacha_glue.c | 230 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()
|