Home
last modified time | relevance | path

Searched refs:algs (Results 26 – 50 of 52) sorted by relevance

123

/openbmc/linux/crypto/
H A Dsha3_generic.c240 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 Dstreebog_generic.c1049 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 Daead.c313 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 Dahash.c631 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 Dshash.c692 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 Dalgapi.c517 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 Dskcipher.c880 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 Dxfrm_algo.c647 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 Dchacha_glue.c230 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 Dscompress.h124 int crypto_register_scomps(struct scomp_alg *algs, int count);
125 void crypto_unregister_scomps(struct scomp_alg *algs, int count);
H A Daead.h162 int crypto_register_aeads(struct aead_alg *algs, int count);
163 void crypto_unregister_aeads(struct aead_alg *algs, int count);
H A Dskcipher.h142 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 Dstm32-crc32.c269 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 Ddecompressor.c398 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 Dcptvf_algs.c341 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 Dzram_lib.sh153 local algs=$(cat /sys/block/zram${i}/comp_algorithm)
154 echo "supported algs: $algs"
/openbmc/linux/include/crypto/
H A Dalgapi.h143 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 Ddevel-algos.rst27 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 Duacce.h121 const char *algs; member
/openbmc/linux/drivers/crypto/
H A Ds5p-sss.c2096 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 Dkeembay-ocs-aes-core.c1258 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 Ddrbd_protocol.h286 struct_group(algs,
/openbmc/openbmc/poky/meta/recipes-support/libssh2/libssh2/
H A DCVE-2023-48795.patch306 + 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 Duacce.c348 return sysfs_emit(buf, "%s\n", uacce->algs); in algorithms_show()
/openbmc/linux/drivers/crypto/hisilicon/
H A Dqm.c810 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()

123