Home
last modified time | relevance | path

Searched refs:algs (Results 1 – 23 of 23) sorted by relevance

/linux/crypto/
H A Dsimd.c207 int simd_register_skciphers_compat(struct skcipher_alg *algs, int count, in simd_register_skciphers_compat() argument
217 err = crypto_register_skciphers(algs, count); in simd_register_skciphers_compat()
222 WARN_ON(strncmp(algs[i].base.cra_name, "__", 2)); in simd_register_skciphers_compat()
223 WARN_ON(strncmp(algs[i].base.cra_driver_name, "__", 2)); in simd_register_skciphers_compat()
224 algname = algs[i].base.cra_name + 2; in simd_register_skciphers_compat()
225 drvname = algs[i].base.cra_driver_name + 2; in simd_register_skciphers_compat()
226 basename = algs[i].base.cra_driver_name; in simd_register_skciphers_compat()
227 simd = simd_skcipher_create_compat(algs + i, algname, drvname, basename); in simd_register_skciphers_compat()
236 simd_unregister_skciphers(algs, count, simd_algs); in simd_register_skciphers_compat()
241 void simd_unregister_skciphers(struct skcipher_alg *algs, int count, in simd_unregister_skciphers() argument
[all …]
H A Dblake2b.c82 static struct shash_alg algs[] = { variable
91 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in crypto_blake2b_mod_init()
97 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in crypto_blake2b_mod_exit()
H A Dsha3.c90 static struct shash_alg algs[] = { { variable
146 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in crypto_sha3_mod_init()
152 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in crypto_sha3_mod_exit()
H A Dchacha.c103 static struct skcipher_alg algs[] = { variable
156 return crypto_register_skciphers(algs, ARRAY_SIZE(algs)); in crypto_chacha_mod_init()
161 crypto_unregister_skciphers(algs, ARRAY_SIZE(algs)); in crypto_chacha_mod_fini()
H A Dmd5.c177 static struct shash_alg algs[] = { variable
220 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in crypto_md5_mod_init()
226 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in crypto_md5_mod_exit()
H A Dsha1.c181 static struct shash_alg algs[] = { variable
224 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in crypto_sha1_mod_init()
230 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in crypto_sha1_mod_exit()
H A Dsha256.c318 static struct shash_alg algs[] = { variable
399 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in crypto_sha256_mod_init()
405 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in crypto_sha256_mod_exit()
H A Dsha512.c324 static struct shash_alg algs[] = { variable
405 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in crypto_sha512_mod_init()
411 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in crypto_sha512_mod_exit()
/linux/include/crypto/internal/
H A Dsimd.h24 int simd_register_skciphers_compat(struct skcipher_alg *algs, int count,
27 void simd_unregister_skciphers(struct skcipher_alg *algs, int count,
35 int simd_register_aeads_compat(struct aead_alg *algs, int count,
38 void simd_unregister_aeads(struct aead_alg *algs, int count,
H A Drng.h17 int crypto_register_rngs(struct rng_alg *algs, int count);
18 void crypto_unregister_rngs(struct rng_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);
/linux/net/xfrm/
H A Dxfrm_algo.c649 struct xfrm_algo_desc *algs; member
655 .algs = aead_list,
661 .algs = aalg_list,
667 .algs = ealg_list,
673 .algs = calg_list,
682 struct xfrm_algo_desc *list = algo_list->algs; in xfrm_find_algo()
/linux/drivers/crypto/cavium/cpt/
H A Dcptvf_algs.c335 static struct skcipher_alg algs[] = { { variable
428 return crypto_register_skciphers(algs, ARRAY_SIZE(algs)); in cav_register_algs()
433 crypto_unregister_skciphers(algs, ARRAY_SIZE(algs)); in cav_unregister_algs()
/linux/tools/testing/selftests/zram/
H A Dzram_lib.sh153 local algs=$(cat /sys/block/zram${i}/comp_algorithm)
154 echo "supported algs: $algs"
/linux/include/crypto/
H A Dalgapi.h136 int crypto_register_algs(struct crypto_alg *algs, int count);
137 void crypto_unregister_algs(struct crypto_alg *algs, int count);
/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);
/linux/include/linux/
H A Duacce.h121 const char *algs; member
/linux/drivers/crypto/
H A Ds5p-sss.c2072 static struct skcipher_alg algs[] = { variable
2238 for (i = 0; i < ARRAY_SIZE(algs); i++) { in s5p_aes_probe()
2239 err = crypto_register_skcipher(&algs[i]); in s5p_aes_probe()
2275 if (i < ARRAY_SIZE(algs)) in s5p_aes_probe()
2276 dev_err(dev, "can't register '%s': %d\n", algs[i].base.cra_name, in s5p_aes_probe()
2280 crypto_unregister_skcipher(&algs[j]); in s5p_aes_probe()
2299 for (i = 0; i < ARRAY_SIZE(algs); i++) in s5p_aes_remove()
2300 crypto_unregister_skcipher(&algs[i]); in s5p_aes_remove()
/linux/drivers/block/drbd/
H A Ddrbd_protocol.h286 struct_group(algs,
H A Ddrbd_main.c716 BUILD_BUG_ON(sizeof(p->algs) != 2 * SHARED_SECRET_MAX); in drbd_send_sync_param()
717 memset(&p->algs, 0, sizeof(p->algs)); in drbd_send_sync_param()
H A Ddrbd_receiver.c3701 BUILD_BUG_ON(sizeof(p->algs) != 2 * SHARED_SECRET_MAX); in receive_SyncParam()
3702 memset(&p->algs, 0, sizeof(p->algs)); in receive_SyncParam()
/linux/drivers/misc/uacce/
H A Duacce.c371 return sysfs_emit(buf, "%s\n", uacce->algs); in algorithms_show()
/linux/drivers/crypto/hisilicon/
H A Dqm.c922 char *algs, *ptr; in hisi_qm_set_algs() local
934 algs = devm_kzalloc(dev, QM_DEV_ALG_MAX_LEN, GFP_KERNEL); in hisi_qm_set_algs()
935 if (!algs) in hisi_qm_set_algs()
940 strcat(algs, dev_algs[i].alg); in hisi_qm_set_algs()
942 ptr = strrchr(algs, '\n'); in hisi_qm_set_algs()
946 qm->uacce->algs = algs; in hisi_qm_set_algs()