/linux-4.1.27/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()
|
D | sha512_neon_glue.c | 249 static struct shash_alg algs[] = { { variable 290 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha512_neon_mod_init() 295 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha512_neon_mod_fini()
|
/linux-4.1.27/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.1.27/drivers/staging/rtl8192e/ |
D | rtllib_crypt.c | 29 struct list_head algs; member 118 list_add(&alg->list, &hcrypt->algs); in rtllib_register_crypto_ops() 138 for (ptr = hcrypt->algs.next; ptr != &hcrypt->algs; ptr = ptr->next) { in rtllib_unregister_crypto_ops() 170 for (ptr = hcrypt->algs.next; ptr != &hcrypt->algs; ptr = ptr->next) { in rtllib_get_crypto_ops() 217 INIT_LIST_HEAD(&hcrypt->algs); in rtllib_crypto_init() 237 for (ptr = hcrypt->algs.next, n = ptr->next; ptr != &hcrypt->algs; in rtllib_crypto_deinit()
|
/linux-4.1.27/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.1.27/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.1.27/arch/x86/crypto/ |
D | sha256_ssse3_glue.c | 100 static struct shash_alg algs[] = { { variable 180 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha256_ssse3_mod_init() 189 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha256_ssse3_mod_fini()
|
D | sha512_ssse3_glue.c | 99 static struct shash_alg algs[] = { { variable 179 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha512_ssse3_mod_init() 188 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha512_ssse3_mod_fini()
|
/linux-4.1.27/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.1.27/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.1.27/net/xfrm/ |
D | xfrm_algo.c | 580 struct xfrm_algo_desc *algs; member 587 .algs = aead_list, 594 .algs = aalg_list, 601 .algs = ealg_list, 608 .algs = calg_list, 619 struct xfrm_algo_desc *list = algo_list->algs; in xfrm_find_algo()
|
/linux-4.1.27/sound/soc/codecs/ |
D | wm_adsp.c | 890 size_t algs, buf_size; in wm_adsp_setup_algs() local 922 algs = be32_to_cpu(adsp1_id.algs); in wm_adsp_setup_algs() 929 algs); in wm_adsp_setup_algs() 948 term = pos + ((sizeof(*adsp1_alg) * algs) / 2); in wm_adsp_setup_algs() 963 algs = be32_to_cpu(adsp2_id.algs); in wm_adsp_setup_algs() 970 algs); in wm_adsp_setup_algs() 997 term = pos + ((sizeof(*adsp2_alg) * algs) / 2); in wm_adsp_setup_algs() 1005 if (algs == 0) { in wm_adsp_setup_algs() 1010 if (algs > 1024) { in wm_adsp_setup_algs() 1011 adsp_err(dsp, "Algorithm count %zx excessive\n", algs); in wm_adsp_setup_algs() [all …]
|
D | wmfw.h | 64 __be32 algs; member 72 __be32 algs; member
|
/linux-4.1.27/drivers/crypto/ |
D | s5p-sss.c | 595 static struct crypto_alg algs[] = { variable 701 for (i = 0; i < ARRAY_SIZE(algs); i++) { in s5p_aes_probe() 702 err = crypto_register_alg(&algs[i]); in s5p_aes_probe() 712 dev_err(dev, "can't register '%s': %d\n", algs[i].cra_name, err); in s5p_aes_probe() 715 crypto_unregister_alg(&algs[j]); in s5p_aes_probe() 735 for (i = 0; i < ARRAY_SIZE(algs); i++) in s5p_aes_remove() 736 crypto_unregister_alg(&algs[i]); in s5p_aes_remove()
|
D | picoxcell_crypto.c | 120 struct spacc_alg *algs; member 1707 engine->algs = ipsec_engine_algs; in spacc_probe() 1714 engine->algs = l2_engine_algs; in spacc_probe() 1802 engine->algs[i].engine = engine; in spacc_probe() 1803 err = crypto_register_alg(&engine->algs[i].alg); in spacc_probe() 1805 list_add_tail(&engine->algs[i].entry, in spacc_probe() 1811 engine->algs[i].alg.cra_name); in spacc_probe() 1814 engine->algs[i].alg.cra_name); in spacc_probe()
|
D | bfin_crc.c | 504 static struct ahash_alg algs = { variable 678 ret = crypto_register_ahash(&algs); in bfin_crypto_crc_probe() 713 crypto_unregister_ahash(&algs); in bfin_crypto_crc_remove()
|
/linux-4.1.27/crypto/ |
D | shash.c | 635 int crypto_register_shashes(struct shash_alg *algs, int count) in crypto_register_shashes() argument 640 ret = crypto_register_shash(&algs[i]); in crypto_register_shashes() 649 crypto_unregister_shash(&algs[i]); in crypto_register_shashes() 655 int crypto_unregister_shashes(struct shash_alg *algs, int count) in crypto_unregister_shashes() argument 660 ret = crypto_unregister_shash(&algs[i]); in crypto_unregister_shashes() 663 algs[i].base.cra_driver_name, in crypto_unregister_shashes() 664 algs[i].base.cra_name, ret); in crypto_unregister_shashes()
|
D | algapi.c | 403 int crypto_register_algs(struct crypto_alg *algs, int count) in crypto_register_algs() argument 408 ret = crypto_register_alg(&algs[i]); in crypto_register_algs() 417 crypto_unregister_alg(&algs[i]); in crypto_register_algs() 423 int crypto_unregister_algs(struct crypto_alg *algs, int count) in crypto_unregister_algs() argument 428 ret = crypto_unregister_alg(&algs[i]); in crypto_unregister_algs() 431 algs[i].cra_driver_name, algs[i].cra_name, ret); in crypto_unregister_algs()
|
/linux-4.1.27/include/crypto/internal/ |
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.1.27/include/linux/ |
D | crypto.h | 577 int crypto_register_algs(struct crypto_alg *algs, int count); 578 int crypto_unregister_algs(struct crypto_alg *algs, int count);
|