Searched refs:algs (Results 1 - 27 of 27) sorted by relevance

/linux-4.1.27/arch/arm/crypto/
H A Dsha256_glue.c63 static struct shash_alg algs[] = { { variable in typeref:struct:shash_alg
97 int res = crypto_register_shashes(algs, ARRAY_SIZE(algs)); sha256_mod_init()
107 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); sha256_mod_init()
115 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); sha256_mod_fini()
H A Dsha2-ce-glue.c69 static struct shash_alg algs[] = { { variable in typeref:struct:shash_alg
105 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); sha2_ce_mod_init()
110 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); sha2_ce_mod_fini()
H A Dsha512_neon_glue.c249 static struct shash_alg algs[] = { { variable in typeref:struct:shash_alg
290 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); sha512_neon_mod_init()
295 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); sha512_neon_mod_fini()
/linux-4.1.27/drivers/crypto/vmx/
H A Dvmx.c34 static struct crypto_alg *algs[] = { variable in typeref:struct:crypto_alg
49 for (alg_it = algs; *alg_it; alg_it++) { p8_init()
54 for (alg_it--; alg_it >= algs; alg_it--) p8_init()
64 for (alg_it = algs; *alg_it; alg_it++) p8_init()
74 for (alg_it = algs; *alg_it; alg_it++) { p8_exit()
/linux-4.1.27/drivers/staging/rtl8192e/
H A Drtllib_crypt.c29 struct list_head algs; member in struct:rtllib_crypto
118 list_add(&alg->list, &hcrypt->algs); rtllib_register_crypto_ops()
138 for (ptr = hcrypt->algs.next; ptr != &hcrypt->algs; ptr = ptr->next) { rtllib_unregister_crypto_ops()
170 for (ptr = hcrypt->algs.next; ptr != &hcrypt->algs; ptr = ptr->next) { rtllib_get_crypto_ops()
217 INIT_LIST_HEAD(&hcrypt->algs); rtllib_crypto_init()
237 for (ptr = hcrypt->algs.next, n = ptr->next; ptr != &hcrypt->algs; rtllib_crypto_deinit()
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_crypt.c33 struct list_head algs; member in struct:ieee80211_crypto
117 list_add(&alg->list, &hcrypt->algs); ieee80211_register_crypto_ops()
136 for (ptr = hcrypt->algs.next; ptr != &hcrypt->algs; ptr = ptr->next) { ieee80211_unregister_crypto_ops()
167 for (ptr = hcrypt->algs.next; ptr != &hcrypt->algs; ptr = ptr->next) { ieee80211_get_crypto_ops()
210 INIT_LIST_HEAD(&hcrypt->algs); ieee80211_crypto_init()
229 for (ptr = hcrypt->algs.next, n = ptr->next; ptr != &hcrypt->algs; ieee80211_crypto_deinit()
/linux-4.1.27/arch/arm64/crypto/
H A Dsha2-ce-glue.c87 static struct shash_alg algs[] = { { variable in typeref:struct:shash_alg
121 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); sha2_ce_mod_init()
126 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); sha2_ce_mod_fini()
/linux-4.1.27/sound/soc/codecs/
H A Dwmfw.h64 __be32 algs; member in struct:wmfw_adsp1_id_hdr
72 __be32 algs; member in struct:wmfw_adsp2_id_hdr
H A Dwm_adsp.c890 size_t algs, buf_size; wm_adsp_setup_algs() local
922 algs = be32_to_cpu(adsp1_id.algs); wm_adsp_setup_algs()
929 algs); wm_adsp_setup_algs()
948 term = pos + ((sizeof(*adsp1_alg) * algs) / 2); wm_adsp_setup_algs()
963 algs = be32_to_cpu(adsp2_id.algs); wm_adsp_setup_algs()
970 algs); wm_adsp_setup_algs()
997 term = pos + ((sizeof(*adsp2_alg) * algs) / 2); wm_adsp_setup_algs()
1005 if (algs == 0) { wm_adsp_setup_algs()
1010 if (algs > 1024) { wm_adsp_setup_algs()
1011 adsp_err(dsp, "Algorithm count %zx excessive\n", algs); wm_adsp_setup_algs()
1043 for (i = 0; i < algs; i++) { wm_adsp_setup_algs()
1064 if (i + 1 < algs) { wm_adsp_setup_algs()
1084 if (i + 1 < algs) { wm_adsp_setup_algs()
1116 if (i + 1 < algs) { wm_adsp_setup_algs()
1136 if (i + 1 < algs) { wm_adsp_setup_algs()
1156 if (i + 1 < algs) { wm_adsp_setup_algs()
/linux-4.1.27/arch/x86/crypto/
H A Dsha256_ssse3_glue.c100 static struct shash_alg algs[] = { { variable in typeref:struct:shash_alg
180 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); sha256_ssse3_mod_init()
189 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); sha256_ssse3_mod_fini()
H A Dsha512_ssse3_glue.c99 static struct shash_alg algs[] = { { variable in typeref:struct:shash_alg
179 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); sha512_ssse3_mod_init()
188 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); sha512_ssse3_mod_fini()
/linux-4.1.27/arch/sparc/crypto/
H A Dcamellia_glue.c226 static struct crypto_alg algs[] = { { variable in typeref:struct:crypto_alg
304 for (i = 0; i < ARRAY_SIZE(algs); i++) camellia_sparc64_mod_init()
305 INIT_LIST_HEAD(&algs[i].cra_list); camellia_sparc64_mod_init()
309 return crypto_register_algs(algs, ARRAY_SIZE(algs)); camellia_sparc64_mod_init()
317 crypto_unregister_algs(algs, ARRAY_SIZE(algs)); camellia_sparc64_mod_fini()
H A Daes_glue.c385 static struct crypto_alg algs[] = { { variable in typeref:struct:crypto_alg
482 for (i = 0; i < ARRAY_SIZE(algs); i++) aes_sparc64_mod_init()
483 INIT_LIST_HEAD(&algs[i].cra_list); aes_sparc64_mod_init()
487 return crypto_register_algs(algs, ARRAY_SIZE(algs)); aes_sparc64_mod_init()
495 crypto_unregister_algs(algs, ARRAY_SIZE(algs)); aes_sparc64_mod_fini()
H A Ddes_glue.c381 static struct crypto_alg algs[] = { { variable in typeref:struct:crypto_alg
515 for (i = 0; i < ARRAY_SIZE(algs); i++) des_sparc64_mod_init()
516 INIT_LIST_HEAD(&algs[i].cra_list); des_sparc64_mod_init()
520 return crypto_register_algs(algs, ARRAY_SIZE(algs)); des_sparc64_mod_init()
528 crypto_unregister_algs(algs, ARRAY_SIZE(algs)); des_sparc64_mod_fini()
/linux-4.1.27/arch/powerpc/crypto/
H A Dsha256-spe-glue.c220 static struct shash_alg algs[2] = { { variable in typeref:struct:shash_alg
258 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); ppc_spe_sha256_mod_init()
263 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); ppc_spe_sha256_mod_fini()
/linux-4.1.27/net/xfrm/
H A Dxfrm_algo.c580 struct xfrm_algo_desc *algs; member in struct:xfrm_algo_list
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; xfrm_find_algo()
/linux-4.1.27/drivers/crypto/
H A Ds5p-sss.c595 static struct crypto_alg algs[] = { variable in typeref:struct:crypto_alg
701 for (i = 0; i < ARRAY_SIZE(algs); i++) { s5p_aes_probe()
702 err = crypto_register_alg(&algs[i]); s5p_aes_probe()
712 dev_err(dev, "can't register '%s': %d\n", algs[i].cra_name, err); s5p_aes_probe()
715 crypto_unregister_alg(&algs[j]); s5p_aes_probe()
735 for (i = 0; i < ARRAY_SIZE(algs); i++) s5p_aes_remove()
736 crypto_unregister_alg(&algs[i]); s5p_aes_remove()
H A Dpicoxcell_crypto.c120 struct spacc_alg *algs; member in struct:spacc_engine
1707 engine->algs = ipsec_engine_algs; spacc_probe()
1714 engine->algs = l2_engine_algs; spacc_probe()
1802 engine->algs[i].engine = engine; spacc_probe()
1803 err = crypto_register_alg(&engine->algs[i].alg); spacc_probe()
1805 list_add_tail(&engine->algs[i].entry, spacc_probe()
1811 engine->algs[i].alg.cra_name); spacc_probe()
1814 engine->algs[i].alg.cra_name); spacc_probe()
H A Dbfin_crc.c504 static struct ahash_alg algs = { variable in typeref:struct:ahash_alg
678 ret = crypto_register_ahash(&algs); bfin_crypto_crc_probe()
713 crypto_unregister_ahash(&algs); bfin_crypto_crc_remove()
H A Domap-sham.c1415 /* OMAP4 has some algs in addition to what OMAP2 has */
/linux-4.1.27/include/crypto/internal/
H A Dhash.h99 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/crypto/
H A Dalgapi.c403 int crypto_register_algs(struct crypto_alg *algs, int count) crypto_register_algs() argument
408 ret = crypto_register_alg(&algs[i]); crypto_register_algs()
417 crypto_unregister_alg(&algs[i]); crypto_register_algs()
423 int crypto_unregister_algs(struct crypto_alg *algs, int count) crypto_unregister_algs() argument
428 ret = crypto_unregister_alg(&algs[i]); crypto_unregister_algs()
431 algs[i].cra_driver_name, algs[i].cra_name, ret); crypto_unregister_algs()
H A Dshash.c635 int crypto_register_shashes(struct shash_alg *algs, int count) crypto_register_shashes() argument
640 ret = crypto_register_shash(&algs[i]); crypto_register_shashes()
649 crypto_unregister_shash(&algs[i]); crypto_register_shashes()
655 int crypto_unregister_shashes(struct shash_alg *algs, int count) crypto_unregister_shashes() argument
660 ret = crypto_unregister_shash(&algs[i]); crypto_unregister_shashes()
663 algs[i].base.cra_driver_name, crypto_unregister_shashes()
664 algs[i].base.cra_name, ret); crypto_unregister_shashes()
H A Dtcrypt.c1225 /* non-fips algs return -EINVAL in fips mode */ tcrypt_test()
/linux-4.1.27/drivers/crypto/nx/
H A Dnx.h133 struct nx_csbcpb *csbcpb_aead; /* secondary csbcpb used by AEAD algs */
/linux-4.1.27/drivers/crypto/qat/qat_common/
H A Dadf_init.c262 "Failed to register crypto algs\n"); adf_dev_start()
297 "Failed to unregister crypto algs\n"); adf_dev_stop()
/linux-4.1.27/include/linux/
H A Dcrypto.h577 int crypto_register_algs(struct crypto_alg *algs, int count);
578 int crypto_unregister_algs(struct crypto_alg *algs, int count);

Completed in 551 milliseconds