| /linux/crypto/ |
| H A D | simd.c | 207 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 D | blake2b.c | 82 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 D | sha3.c | 90 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 D | chacha.c | 103 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 D | md5.c | 177 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 D | sha1.c | 181 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 D | sha256.c | 318 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 D | sha512.c | 324 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 D | simd.h | 24 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 D | rng.h | 17 int crypto_register_rngs(struct rng_alg *algs, int count); 18 void crypto_unregister_rngs(struct rng_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);
|
| /linux/net/xfrm/ |
| H A D | xfrm_algo.c | 649 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 D | cptvf_algs.c | 335 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 D | zram_lib.sh | 153 local algs=$(cat /sys/block/zram${i}/comp_algorithm) 154 echo "supported algs: $algs"
|
| /linux/include/crypto/ |
| H A D | algapi.h | 136 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 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);
|
| /linux/include/linux/ |
| H A D | uacce.h | 121 const char *algs; member
|
| /linux/drivers/crypto/ |
| H A D | s5p-sss.c | 2072 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 D | drbd_protocol.h | 286 struct_group(algs,
|
| H A D | drbd_main.c | 716 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 D | drbd_receiver.c | 3701 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 D | uacce.c | 371 return sysfs_emit(buf, "%s\n", uacce->algs); in algorithms_show()
|
| /linux/drivers/crypto/hisilicon/ |
| H A D | qm.c | 922 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()
|