/openbmc/linux/crypto/ |
H 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()
|
H 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()
|
H A D | aead.c | 313 int crypto_register_aeads(struct aead_alg *algs, int count) in crypto_register_aeads() argument 318 ret = crypto_register_aead(&algs[i]); in crypto_register_aeads() 327 crypto_unregister_aead(&algs[i]); in crypto_register_aeads() 333 void crypto_unregister_aeads(struct aead_alg *algs, int count) in crypto_unregister_aeads() argument 338 crypto_unregister_aead(&algs[i]); in crypto_unregister_aeads()
|
H A D | ahash.c | 631 int crypto_register_ahashes(struct ahash_alg *algs, int count) in crypto_register_ahashes() argument 636 ret = crypto_register_ahash(&algs[i]); in crypto_register_ahashes() 645 crypto_unregister_ahash(&algs[i]); in crypto_register_ahashes() 651 void crypto_unregister_ahashes(struct ahash_alg *algs, int count) in crypto_unregister_ahashes() argument 656 crypto_unregister_ahash(&algs[i]); in crypto_unregister_ahashes()
|
H A D | shash.c | 692 int crypto_register_shashes(struct shash_alg *algs, int count) in crypto_register_shashes() argument 697 ret = crypto_register_shash(&algs[i]); in crypto_register_shashes() 706 crypto_unregister_shash(&algs[i]); in crypto_register_shashes() 712 void crypto_unregister_shashes(struct shash_alg *algs, int count) in crypto_unregister_shashes() argument 717 crypto_unregister_shash(&algs[i]); in crypto_unregister_shashes()
|
H A D | algapi.c | 517 int crypto_register_algs(struct crypto_alg *algs, int count) in crypto_register_algs() argument 522 ret = crypto_register_alg(&algs[i]); in crypto_register_algs() 531 crypto_unregister_alg(&algs[i]); in crypto_register_algs() 537 void crypto_unregister_algs(struct crypto_alg *algs, int count) in crypto_unregister_algs() argument 542 crypto_unregister_alg(&algs[i]); in crypto_unregister_algs()
|
H A D | skcipher.c | 880 int crypto_register_skciphers(struct skcipher_alg *algs, int count) in crypto_register_skciphers() argument 885 ret = crypto_register_skcipher(&algs[i]); in crypto_register_skciphers() 894 crypto_unregister_skcipher(&algs[i]); in crypto_register_skciphers() 900 void crypto_unregister_skciphers(struct skcipher_alg *algs, int count) in crypto_unregister_skciphers() argument 905 crypto_unregister_skcipher(&algs[i]); in crypto_unregister_skciphers()
|
/openbmc/linux/net/xfrm/ |
H A D | xfrm_algo.c | 647 struct xfrm_algo_desc *algs; member 654 .algs = aead_list, 661 .algs = aalg_list, 668 .algs = ealg_list, 675 .algs = calg_list, 686 struct xfrm_algo_desc *list = algo_list->algs; in xfrm_find_algo()
|
/openbmc/linux/arch/x86/crypto/ |
H 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()
|
/openbmc/linux/include/crypto/internal/ |
H A D | scompress.h | 124 int crypto_register_scomps(struct scomp_alg *algs, int count); 125 void crypto_unregister_scomps(struct scomp_alg *algs, int count);
|
H A D | aead.h | 162 int crypto_register_aeads(struct aead_alg *algs, int count); 163 void crypto_unregister_aeads(struct aead_alg *algs, int count);
|
H A D | skcipher.h | 142 int crypto_register_skciphers(struct skcipher_alg *algs, int count); 143 void crypto_unregister_skciphers(struct skcipher_alg *algs, int count);
|
/openbmc/linux/drivers/crypto/stm32/ |
H A D | stm32-crc32.c | 269 static struct shash_alg algs[] = { variable 364 ret = crypto_register_shashes(algs, ARRAY_SIZE(algs)); in stm32_crc_probe() 398 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in stm32_crc_remove()
|
/openbmc/linux/fs/erofs/ |
H A D | decompressor.c | 398 unsigned int algs, alg; in z_erofs_parse_cfgs() local 417 for (algs = sbi->available_compr_algs; algs; algs >>= 1, ++alg) { in z_erofs_parse_cfgs() 420 if (!(algs & 1)) in z_erofs_parse_cfgs()
|
/openbmc/linux/drivers/crypto/cavium/cpt/ |
H A D | cptvf_algs.c | 341 static struct skcipher_alg algs[] = { { variable 452 return crypto_register_skciphers(algs, ARRAY_SIZE(algs)); in cav_register_algs() 457 crypto_unregister_skciphers(algs, ARRAY_SIZE(algs)); in cav_unregister_algs()
|
/openbmc/linux/tools/testing/selftests/zram/ |
H A D | zram_lib.sh | 153 local algs=$(cat /sys/block/zram${i}/comp_algorithm) 154 echo "supported algs: $algs"
|
/openbmc/linux/include/crypto/ |
H A D | algapi.h | 143 int crypto_register_algs(struct crypto_alg *algs, int count); 144 void crypto_unregister_algs(struct crypto_alg *algs, int count);
|
/openbmc/linux/Documentation/crypto/ |
H A D | devel-algos.rst | 27 int crypto_register_algs(struct crypto_alg *algs, int count); 35 void crypto_unregister_algs(struct crypto_alg *algs, int count); 154 int crypto_register_shashes(struct shash_alg *algs, int count); 165 void crypto_unregister_shashes(struct shash_alg *algs, int count);
|
/openbmc/linux/include/linux/ |
H A D | uacce.h | 121 const char *algs; member
|
/openbmc/linux/drivers/crypto/ |
H A D | s5p-sss.c | 2096 static struct skcipher_alg algs[] = { variable 2262 for (i = 0; i < ARRAY_SIZE(algs); i++) { in s5p_aes_probe() 2263 err = crypto_register_skcipher(&algs[i]); in s5p_aes_probe() 2299 if (i < ARRAY_SIZE(algs)) in s5p_aes_probe() 2300 dev_err(dev, "can't register '%s': %d\n", algs[i].base.cra_name, in s5p_aes_probe() 2304 crypto_unregister_skcipher(&algs[j]); in s5p_aes_probe() 2323 for (i = 0; i < ARRAY_SIZE(algs); i++) in s5p_aes_remove() 2324 crypto_unregister_skcipher(&algs[i]); in s5p_aes_remove()
|
/openbmc/linux/drivers/crypto/intel/keembay/ |
H A D | keembay-ocs-aes-core.c | 1258 static struct skcipher_engine_alg algs[] = { variable 1535 crypto_engine_unregister_skciphers(algs, ARRAY_SIZE(algs)); in unregister_aes_algs() 1550 ret = crypto_engine_register_skciphers(algs, ARRAY_SIZE(algs)); in register_aes_algs() 1552 crypto_engine_unregister_aeads(algs_aead, ARRAY_SIZE(algs)); in register_aes_algs()
|
/openbmc/linux/drivers/block/drbd/ |
H A D | drbd_protocol.h | 286 struct_group(algs,
|
/openbmc/openbmc/poky/meta/recipes-support/libssh2/libssh2/ |
H A D | CVE-2023-48795.patch | 306 + unsigned char *algs = NULL; 314 + if(_libssh2_get_string(&buf, &algs, &algs_len)) { 323 + _libssh2_kex_agree_instr(algs, algs_len, strict, 28)) {
|
/openbmc/linux/drivers/misc/uacce/ |
H A D | uacce.c | 348 return sysfs_emit(buf, "%s\n", uacce->algs); in algorithms_show()
|
/openbmc/linux/drivers/crypto/hisilicon/ |
H A D | qm.c | 810 char *algs, *ptr; in hisi_qm_set_algs() local 822 algs = devm_kzalloc(dev, QM_DEV_ALG_MAX_LEN * sizeof(char), GFP_KERNEL); in hisi_qm_set_algs() 823 if (!algs) in hisi_qm_set_algs() 828 strcat(algs, dev_algs[i].alg); in hisi_qm_set_algs() 830 ptr = strrchr(algs, '\n'); in hisi_qm_set_algs() 833 qm->uacce->algs = algs; in hisi_qm_set_algs()
|