algs              126 arch/arm/crypto/chacha-neon-glue.c static struct skcipher_alg algs[] = {
algs              183 arch/arm/crypto/chacha-neon-glue.c 	return crypto_register_skciphers(algs, ARRAY_SIZE(algs));
algs              188 arch/arm/crypto/chacha-neon-glue.c 	crypto_unregister_skciphers(algs, ARRAY_SIZE(algs));
algs               68 arch/arm/crypto/sha2-ce-glue.c static struct shash_alg algs[] = { {
algs              100 arch/arm/crypto/sha2-ce-glue.c 	return crypto_register_shashes(algs, ARRAY_SIZE(algs));
algs              105 arch/arm/crypto/sha2-ce-glue.c 	crypto_unregister_shashes(algs, ARRAY_SIZE(algs));
algs               58 arch/arm/crypto/sha256_glue.c static struct shash_alg algs[] = { {
algs               90 arch/arm/crypto/sha256_glue.c 	int res = crypto_register_shashes(algs, ARRAY_SIZE(algs));
algs              100 arch/arm/crypto/sha256_glue.c 			crypto_unregister_shashes(algs, ARRAY_SIZE(algs));
algs              108 arch/arm/crypto/sha256_glue.c 	crypto_unregister_shashes(algs, ARRAY_SIZE(algs));
algs              123 arch/arm64/crypto/chacha-neon-glue.c static struct skcipher_alg algs[] = {
algs              180 arch/arm64/crypto/chacha-neon-glue.c 	return crypto_register_skciphers(algs, ARRAY_SIZE(algs));
algs              185 arch/arm64/crypto/chacha-neon-glue.c 	crypto_unregister_skciphers(algs, ARRAY_SIZE(algs));
algs              104 arch/arm64/crypto/sha2-ce-glue.c static struct shash_alg algs[] = { {
algs              136 arch/arm64/crypto/sha2-ce-glue.c 	return crypto_register_shashes(algs, ARRAY_SIZE(algs));
algs              141 arch/arm64/crypto/sha2-ce-glue.c 	crypto_unregister_shashes(algs, ARRAY_SIZE(algs));
algs               57 arch/arm64/crypto/sha256-glue.c static struct shash_alg algs[] = { {
algs              168 arch/arm64/crypto/sha256-glue.c 	int ret = crypto_register_shashes(algs, ARRAY_SIZE(algs));
algs              175 arch/arm64/crypto/sha256-glue.c 			crypto_unregister_shashes(algs, ARRAY_SIZE(algs));
algs              184 arch/arm64/crypto/sha256-glue.c 	crypto_unregister_shashes(algs, ARRAY_SIZE(algs));
algs              101 arch/arm64/crypto/sha3-ce-glue.c static struct shash_alg algs[] = { {
algs              149 arch/arm64/crypto/sha3-ce-glue.c 	return crypto_register_shashes(algs, ARRAY_SIZE(algs));
algs              154 arch/arm64/crypto/sha3-ce-glue.c 	crypto_unregister_shashes(algs, ARRAY_SIZE(algs));
algs               81 arch/arm64/crypto/sha512-ce-glue.c static struct shash_alg algs[] = { {
algs              109 arch/arm64/crypto/sha512-ce-glue.c 	return crypto_register_shashes(algs, ARRAY_SIZE(algs));
algs              114 arch/arm64/crypto/sha512-ce-glue.c 	crypto_unregister_shashes(algs, ARRAY_SIZE(algs));
algs               51 arch/arm64/crypto/sha512-glue.c static struct shash_alg algs[] = { {
algs               79 arch/arm64/crypto/sha512-glue.c 	return crypto_register_shashes(algs, ARRAY_SIZE(algs));
algs               84 arch/arm64/crypto/sha512-glue.c 	crypto_unregister_shashes(algs, ARRAY_SIZE(algs));
algs              216 arch/powerpc/crypto/sha256-spe-glue.c static struct shash_alg algs[2] = { {
algs              252 arch/powerpc/crypto/sha256-spe-glue.c 	return crypto_register_shashes(algs, ARRAY_SIZE(algs));
algs              257 arch/powerpc/crypto/sha256-spe-glue.c 	crypto_unregister_shashes(algs, ARRAY_SIZE(algs));
algs              385 arch/sparc/crypto/aes_glue.c static struct crypto_alg algs[] = { {
algs              482 arch/sparc/crypto/aes_glue.c 		return crypto_register_algs(algs, ARRAY_SIZE(algs));
algs              490 arch/sparc/crypto/aes_glue.c 	crypto_unregister_algs(algs, ARRAY_SIZE(algs));
algs              227 arch/sparc/crypto/camellia_glue.c static struct crypto_alg algs[] = { {
algs              305 arch/sparc/crypto/camellia_glue.c 		return crypto_register_algs(algs, ARRAY_SIZE(algs));
algs              313 arch/sparc/crypto/camellia_glue.c 	crypto_unregister_algs(algs, ARRAY_SIZE(algs));
algs              374 arch/sparc/crypto/des_glue.c static struct crypto_alg algs[] = { {
algs              508 arch/sparc/crypto/des_glue.c 		return crypto_register_algs(algs, ARRAY_SIZE(algs));
algs              516 arch/sparc/crypto/des_glue.c 	crypto_unregister_algs(algs, ARRAY_SIZE(algs));
algs              217 arch/x86/crypto/chacha_glue.c static struct skcipher_alg algs[] = {
algs              281 arch/x86/crypto/chacha_glue.c 	return crypto_register_skciphers(algs, ARRAY_SIZE(algs));
algs              286 arch/x86/crypto/chacha_glue.c 	crypto_unregister_skciphers(algs, ARRAY_SIZE(algs));
algs              160 crypto/acompress.c int crypto_register_acomps(struct acomp_alg *algs, int count)
algs              165 crypto/acompress.c 		ret = crypto_register_acomp(&algs[i]);
algs              174 crypto/acompress.c 		crypto_unregister_acomp(&algs[i]);
algs              180 crypto/acompress.c void crypto_unregister_acomps(struct acomp_alg *algs, int count)
algs              185 crypto/acompress.c 		crypto_unregister_acomp(&algs[i]);
algs              422 crypto/aead.c  int crypto_register_aeads(struct aead_alg *algs, int count)
algs              427 crypto/aead.c  		ret = crypto_register_aead(&algs[i]);
algs              436 crypto/aead.c  		crypto_unregister_aead(&algs[i]);
algs              442 crypto/aead.c  void crypto_unregister_aeads(struct aead_alg *algs, int count)
algs              447 crypto/aead.c  		crypto_unregister_aead(&algs[i]);
algs              607 crypto/ahash.c int crypto_register_ahashes(struct ahash_alg *algs, int count)
algs              612 crypto/ahash.c 		ret = crypto_register_ahash(&algs[i]);
algs              621 crypto/ahash.c 		crypto_unregister_ahash(&algs[i]);
algs              627 crypto/ahash.c void crypto_unregister_ahashes(struct ahash_alg *algs, int count)
algs              632 crypto/ahash.c 		crypto_unregister_ahash(&algs[i]);
algs              439 crypto/algapi.c int crypto_register_algs(struct crypto_alg *algs, int count)
algs              444 crypto/algapi.c 		ret = crypto_register_alg(&algs[i]);
algs              453 crypto/algapi.c 		crypto_unregister_alg(&algs[i]);
algs              459 crypto/algapi.c int crypto_unregister_algs(struct crypto_alg *algs, int count)
algs              464 crypto/algapi.c 		ret = crypto_unregister_alg(&algs[i]);
algs              467 crypto/algapi.c 			       algs[i].cra_driver_name, algs[i].cra_name, ret);
algs              141 crypto/chacha_generic.c static struct skcipher_alg algs[] = {
algs              192 crypto/chacha_generic.c 	return crypto_register_skciphers(algs, ARRAY_SIZE(algs));
algs              197 crypto/chacha_generic.c 	crypto_unregister_skciphers(algs, ARRAY_SIZE(algs));
algs              202 crypto/rng.c   int crypto_register_rngs(struct rng_alg *algs, int count)
algs              207 crypto/rng.c   		ret = crypto_register_rng(algs + i);
algs              216 crypto/rng.c   		crypto_unregister_rng(algs + i);
algs              222 crypto/rng.c   void crypto_unregister_rngs(struct rng_alg *algs, int count)
algs              227 crypto/rng.c   		crypto_unregister_rng(algs + i);
algs              275 crypto/scompress.c int crypto_register_scomps(struct scomp_alg *algs, int count)
algs              280 crypto/scompress.c 		ret = crypto_register_scomp(&algs[i]);
algs              289 crypto/scompress.c 		crypto_unregister_scomp(&algs[i]);
algs              295 crypto/scompress.c void crypto_unregister_scomps(struct scomp_alg *algs, int count)
algs              300 crypto/scompress.c 		crypto_unregister_scomp(&algs[i]);
algs              240 crypto/sha3_generic.c static struct shash_alg algs[] = { {
algs              284 crypto/sha3_generic.c 	return crypto_register_shashes(algs, ARRAY_SIZE(algs));
algs              289 crypto/sha3_generic.c 	crypto_unregister_shashes(algs, ARRAY_SIZE(algs));
algs              504 crypto/shash.c int crypto_register_shashes(struct shash_alg *algs, int count)
algs              509 crypto/shash.c 		ret = crypto_register_shash(&algs[i]);
algs              518 crypto/shash.c 		crypto_unregister_shash(&algs[i]);
algs              524 crypto/shash.c int crypto_unregister_shashes(struct shash_alg *algs, int count)
algs              529 crypto/shash.c 		ret = crypto_unregister_shash(&algs[i]);
algs              532 crypto/shash.c 			       algs[i].base.cra_driver_name,
algs              533 crypto/shash.c 			       algs[i].base.cra_name, ret);
algs              232 crypto/simd.c  int simd_register_skciphers_compat(struct skcipher_alg *algs, int count,
algs              242 crypto/simd.c  	err = crypto_register_skciphers(algs, count);
algs              247 crypto/simd.c  		WARN_ON(strncmp(algs[i].base.cra_name, "__", 2));
algs              248 crypto/simd.c  		WARN_ON(strncmp(algs[i].base.cra_driver_name, "__", 2));
algs              249 crypto/simd.c  		algname = algs[i].base.cra_name + 2;
algs              250 crypto/simd.c  		drvname = algs[i].base.cra_driver_name + 2;
algs              251 crypto/simd.c  		basename = algs[i].base.cra_driver_name;
algs              261 crypto/simd.c  	simd_unregister_skciphers(algs, count, simd_algs);
algs              266 crypto/simd.c  void simd_unregister_skciphers(struct skcipher_alg *algs, int count,
algs              271 crypto/simd.c  	crypto_unregister_skciphers(algs, count);
algs              482 crypto/simd.c  int simd_register_aeads_compat(struct aead_alg *algs, int count,
algs              492 crypto/simd.c  	err = crypto_register_aeads(algs, count);
algs              497 crypto/simd.c  		WARN_ON(strncmp(algs[i].base.cra_name, "__", 2));
algs              498 crypto/simd.c  		WARN_ON(strncmp(algs[i].base.cra_driver_name, "__", 2));
algs              499 crypto/simd.c  		algname = algs[i].base.cra_name + 2;
algs              500 crypto/simd.c  		drvname = algs[i].base.cra_driver_name + 2;
algs              501 crypto/simd.c  		basename = algs[i].base.cra_driver_name;
algs              511 crypto/simd.c  	simd_unregister_aeads(algs, count, simd_algs);
algs              516 crypto/simd.c  void simd_unregister_aeads(struct aead_alg *algs, int count,
algs              521 crypto/simd.c  	crypto_unregister_aeads(algs, count);
algs             1066 crypto/skcipher.c int crypto_register_skciphers(struct skcipher_alg *algs, int count)
algs             1071 crypto/skcipher.c 		ret = crypto_register_skcipher(&algs[i]);
algs             1080 crypto/skcipher.c 		crypto_unregister_skcipher(&algs[i]);
algs             1086 crypto/skcipher.c void crypto_unregister_skciphers(struct skcipher_alg *algs, int count)
algs             1091 crypto/skcipher.c 		crypto_unregister_skcipher(&algs[i]);
algs             1049 crypto/streebog_generic.c static struct shash_alg algs[2] = { {
algs             1077 crypto/streebog_generic.c 	return crypto_register_shashes(algs, ARRAY_SIZE(algs));
algs             1082 crypto/streebog_generic.c 	crypto_unregister_shashes(algs, ARRAY_SIZE(algs));
algs              342 drivers/crypto/cavium/cpt/cptvf_algs.c static struct crypto_alg algs[] = { {
algs              474 drivers/crypto/cavium/cpt/cptvf_algs.c 	err = crypto_register_algs(algs, ARRAY_SIZE(algs));
algs              483 drivers/crypto/cavium/cpt/cptvf_algs.c 	crypto_unregister_algs(algs, ARRAY_SIZE(algs));
algs              113 drivers/crypto/picoxcell_crypto.c 	struct spacc_alg		*algs;
algs             1636 drivers/crypto/picoxcell_crypto.c 		engine->algs		= ipsec_engine_algs;
algs             1645 drivers/crypto/picoxcell_crypto.c 		engine->algs		= l2_engine_algs;
algs             1734 drivers/crypto/picoxcell_crypto.c 		engine->algs[i].engine = engine;
algs             1735 drivers/crypto/picoxcell_crypto.c 		err = crypto_register_alg(&engine->algs[i].alg);
algs             1737 drivers/crypto/picoxcell_crypto.c 			list_add_tail(&engine->algs[i].entry,
algs             1743 drivers/crypto/picoxcell_crypto.c 				engine->algs[i].alg.cra_name);
algs             1746 drivers/crypto/picoxcell_crypto.c 				engine->algs[i].alg.cra_name);
algs             2125 drivers/crypto/s5p-sss.c static struct crypto_alg algs[] = {
algs             2299 drivers/crypto/s5p-sss.c 	for (i = 0; i < ARRAY_SIZE(algs); i++) {
algs             2300 drivers/crypto/s5p-sss.c 		err = crypto_register_alg(&algs[i]);
algs             2336 drivers/crypto/s5p-sss.c 	if (i < ARRAY_SIZE(algs))
algs             2337 drivers/crypto/s5p-sss.c 		dev_err(dev, "can't register '%s': %d\n", algs[i].cra_name,
algs             2341 drivers/crypto/s5p-sss.c 		crypto_unregister_alg(&algs[j]);
algs             2364 drivers/crypto/s5p-sss.c 	for (i = 0; i < ARRAY_SIZE(algs); i++)
algs             2365 drivers/crypto/s5p-sss.c 		crypto_unregister_alg(&algs[i]);
algs              207 drivers/crypto/stm32/stm32-crc32.c static struct shash_alg algs[] = {
algs              297 drivers/crypto/stm32/stm32-crc32.c 	ret = crypto_register_shashes(algs, ARRAY_SIZE(algs));
algs              323 drivers/crypto/stm32/stm32-crc32.c 	crypto_unregister_shashes(algs, ARRAY_SIZE(algs));
algs               28 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c 	struct list_head algs;
algs              113 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c 	list_add(&alg->list, &hcrypt->algs);
algs              132 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c 	for (ptr = hcrypt->algs.next; ptr != &hcrypt->algs; ptr = ptr->next) {
algs              163 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c 	for (ptr = hcrypt->algs.next; ptr != &hcrypt->algs; ptr = ptr->next) {
algs              205 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c 	INIT_LIST_HEAD(&hcrypt->algs);
algs              224 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c 	for (ptr = hcrypt->algs.next, n = ptr->next; ptr != &hcrypt->algs;
algs               76 include/crypto/internal/acompress.h int crypto_register_acomps(struct acomp_alg *algs, int count);
algs               77 include/crypto/internal/acompress.h void crypto_unregister_acomps(struct acomp_alg *algs, int count);
algs              180 include/crypto/internal/aead.h int crypto_register_aeads(struct aead_alg *algs, int count);
algs              181 include/crypto/internal/aead.h void crypto_unregister_aeads(struct aead_alg *algs, int count);
algs               74 include/crypto/internal/hash.h int crypto_register_ahashes(struct ahash_alg *algs, int count);
algs               75 include/crypto/internal/hash.h void crypto_unregister_ahashes(struct ahash_alg *algs, int count);
algs              103 include/crypto/internal/hash.h int crypto_register_shashes(struct shash_alg *algs, int count);
algs              104 include/crypto/internal/hash.h int crypto_unregister_shashes(struct shash_alg *algs, int count);
algs               17 include/crypto/internal/rng.h int crypto_register_rngs(struct rng_alg *algs, int count);
algs               18 include/crypto/internal/rng.h void crypto_unregister_rngs(struct rng_alg *algs, int count);
algs              120 include/crypto/internal/scompress.h int crypto_register_scomps(struct scomp_alg *algs, int count);
algs              121 include/crypto/internal/scompress.h void crypto_unregister_scomps(struct scomp_alg *algs, int count);
algs               24 include/crypto/internal/simd.h int simd_register_skciphers_compat(struct skcipher_alg *algs, int count,
algs               27 include/crypto/internal/simd.h void simd_unregister_skciphers(struct skcipher_alg *algs, int count,
algs               42 include/crypto/internal/simd.h int simd_register_aeads_compat(struct aead_alg *algs, int count,
algs               45 include/crypto/internal/simd.h void simd_unregister_aeads(struct aead_alg *algs, int count,
algs              131 include/crypto/internal/skcipher.h int crypto_register_skciphers(struct skcipher_alg *algs, int count);
algs              132 include/crypto/internal/skcipher.h void crypto_unregister_skciphers(struct skcipher_alg *algs, int count);
algs              704 include/linux/crypto.h int crypto_register_algs(struct crypto_alg *algs, int count);
algs              705 include/linux/crypto.h int crypto_unregister_algs(struct crypto_alg *algs, int count);
algs              606 net/xfrm/xfrm_algo.c 	struct xfrm_algo_desc *algs;
algs              613 net/xfrm/xfrm_algo.c 	.algs = aead_list,
algs              620 net/xfrm/xfrm_algo.c 	.algs = aalg_list,
algs              627 net/xfrm/xfrm_algo.c 	.algs = ealg_list,
algs              634 net/xfrm/xfrm_algo.c 	.algs = calg_list,
algs              645 net/xfrm/xfrm_algo.c 	struct xfrm_algo_desc *list = algo_list->algs;