/linux-4.4.14/arch/arm/crypto/ |
D | sha256_glue.c | 63 static struct shash_alg algs[] = { { variable 97 int res = crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_init() 107 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_init() 115 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_fini()
|
D | sha2-ce-glue.c | 69 static struct shash_alg algs[] = { { variable 105 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha2_ce_mod_init() 110 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha2_ce_mod_fini()
|
/linux-4.4.14/drivers/crypto/vmx/ |
D | vmx.c | 34 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-4.4.14/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt.c | 33 struct list_head algs; member 117 list_add(&alg->list, &hcrypt->algs); in ieee80211_register_crypto_ops() 136 for (ptr = hcrypt->algs.next; ptr != &hcrypt->algs; ptr = ptr->next) { in ieee80211_unregister_crypto_ops() 167 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-4.4.14/arch/arm64/crypto/ |
D | sha2-ce-glue.c | 87 static struct shash_alg algs[] = { { variable 121 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha2_ce_mod_init() 126 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha2_ce_mod_fini()
|
/linux-4.4.14/crypto/ |
D | rng.c | 206 int crypto_register_rngs(struct rng_alg *algs, int count) in crypto_register_rngs() argument 211 ret = crypto_register_rng(algs + i); in crypto_register_rngs() 220 crypto_unregister_rng(algs + i); in crypto_register_rngs() 226 void crypto_unregister_rngs(struct rng_alg *algs, int count) in crypto_unregister_rngs() argument 231 crypto_unregister_rng(algs + i); in crypto_unregister_rngs()
|
D | aead.c | 378 int crypto_register_aeads(struct aead_alg *algs, int count) in crypto_register_aeads() argument 383 ret = crypto_register_aead(&algs[i]); in crypto_register_aeads() 392 crypto_unregister_aead(&algs[i]); in crypto_register_aeads() 398 void crypto_unregister_aeads(struct aead_alg *algs, int count) in crypto_unregister_aeads() argument 403 crypto_unregister_aead(&algs[i]); in crypto_unregister_aeads()
|
D | shash.c | 630 int crypto_register_shashes(struct shash_alg *algs, int count) in crypto_register_shashes() argument 635 ret = crypto_register_shash(&algs[i]); in crypto_register_shashes() 644 crypto_unregister_shash(&algs[i]); in crypto_register_shashes() 650 int crypto_unregister_shashes(struct shash_alg *algs, int count) in crypto_unregister_shashes() argument 655 ret = crypto_unregister_shash(&algs[i]); in crypto_unregister_shashes() 658 algs[i].base.cra_driver_name, in crypto_unregister_shashes() 659 algs[i].base.cra_name, ret); in crypto_unregister_shashes()
|
D | algapi.c | 411 int crypto_register_algs(struct crypto_alg *algs, int count) in crypto_register_algs() argument 416 ret = crypto_register_alg(&algs[i]); in crypto_register_algs() 425 crypto_unregister_alg(&algs[i]); in crypto_register_algs() 431 int crypto_unregister_algs(struct crypto_alg *algs, int count) in crypto_unregister_algs() argument 436 ret = crypto_unregister_alg(&algs[i]); in crypto_unregister_algs() 439 algs[i].cra_driver_name, algs[i].cra_name, ret); in crypto_unregister_algs()
|
/linux-4.4.14/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 | 385 static struct crypto_alg algs[] = { { variable 482 for (i = 0; i < ARRAY_SIZE(algs); i++) in aes_sparc64_mod_init() 483 INIT_LIST_HEAD(&algs[i].cra_list); in aes_sparc64_mod_init() 487 return crypto_register_algs(algs, ARRAY_SIZE(algs)); in aes_sparc64_mod_init() 495 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-4.4.14/arch/powerpc/crypto/ |
D | sha256-spe-glue.c | 220 static struct shash_alg algs[2] = { { variable 258 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in ppc_spe_sha256_mod_init() 263 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in ppc_spe_sha256_mod_fini()
|
/linux-4.4.14/include/crypto/internal/ |
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 | aead.h | 158 int crypto_register_aeads(struct aead_alg *algs, int count); 159 void crypto_unregister_aeads(struct aead_alg *algs, int count);
|
D | hash.h | 99 int crypto_register_shashes(struct shash_alg *algs, int count); 100 int crypto_unregister_shashes(struct shash_alg *algs, int count);
|
/linux-4.4.14/net/xfrm/ |
D | xfrm_algo.c | 608 struct xfrm_algo_desc *algs; member 615 .algs = aead_list, 622 .algs = aalg_list, 629 .algs = ealg_list, 636 .algs = calg_list, 647 struct xfrm_algo_desc *list = algo_list->algs; in xfrm_find_algo()
|
/linux-4.4.14/drivers/crypto/ |
D | s5p-sss.c | 577 static struct crypto_alg algs[] = { variable 698 for (i = 0; i < ARRAY_SIZE(algs); i++) { in s5p_aes_probe() 699 err = crypto_register_alg(&algs[i]); in s5p_aes_probe() 709 dev_err(dev, "can't register '%s': %d\n", algs[i].cra_name, err); in s5p_aes_probe() 712 crypto_unregister_alg(&algs[j]); in s5p_aes_probe() 732 for (i = 0; i < ARRAY_SIZE(algs); i++) in s5p_aes_remove() 733 crypto_unregister_alg(&algs[i]); in s5p_aes_remove()
|
D | picoxcell_crypto.c | 126 struct spacc_alg *algs; member 1627 engine->algs = ipsec_engine_algs; in spacc_probe() 1636 engine->algs = l2_engine_algs; in spacc_probe() 1724 engine->algs[i].engine = engine; in spacc_probe() 1725 err = crypto_register_alg(&engine->algs[i].alg); in spacc_probe() 1727 list_add_tail(&engine->algs[i].entry, in spacc_probe() 1733 engine->algs[i].alg.cra_name); in spacc_probe() 1736 engine->algs[i].alg.cra_name); in spacc_probe()
|
D | bfin_crc.c | 484 static struct ahash_alg algs = { variable 658 ret = crypto_register_ahash(&algs); in bfin_crypto_crc_probe() 693 crypto_unregister_ahash(&algs); in bfin_crypto_crc_remove()
|
/linux-4.4.14/tools/testing/selftests/zram/ |
D | zram_lib.sh | 117 local algs=$(cat /sys/block/zram0/comp_algorithm) 118 echo "supported algs: $algs"
|
/linux-4.4.14/include/linux/ |
D | crypto.h | 477 int crypto_register_algs(struct crypto_alg *algs, int count); 478 int crypto_unregister_algs(struct crypto_alg *algs, int count);
|