/openbmc/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 | crypto_engine.c | 589 int crypto_engine_register_aeads(struct aead_engine_alg *algs, int count) in crypto_engine_register_aeads() argument 594 ret = crypto_engine_register_aead(&algs[i]); in crypto_engine_register_aeads() 602 crypto_engine_unregister_aeads(algs, i); in crypto_engine_register_aeads() 608 void crypto_engine_unregister_aeads(struct aead_engine_alg *algs, int count) in crypto_engine_unregister_aeads() argument 613 crypto_engine_unregister_aead(&algs[i]); in crypto_engine_unregister_aeads() 634 int crypto_engine_register_ahashes(struct ahash_engine_alg *algs, int count) in crypto_engine_register_ahashes() argument 639 ret = crypto_engine_register_ahash(&algs[i]); in crypto_engine_register_ahashes() 647 crypto_engine_unregister_ahashes(algs, i); in crypto_engine_register_ahashes() 653 void crypto_engine_unregister_ahashes(struct ahash_engine_alg *algs, in crypto_engine_unregister_ahashes() argument 659 crypto_engine_unregister_ahash(&algs[i]); in crypto_engine_unregister_ahashes() [all …]
|
H A D | chacha_generic.c | 69 static struct skcipher_alg algs[] = { variable 120 return crypto_register_skciphers(algs, ARRAY_SIZE(algs)); in chacha_generic_mod_init() 125 crypto_unregister_skciphers(algs, ARRAY_SIZE(algs)); in chacha_generic_mod_fini()
|
H A D | rng.c | 225 int crypto_register_rngs(struct rng_alg *algs, int count) in crypto_register_rngs() argument 230 ret = crypto_register_rng(algs + i); in crypto_register_rngs() 239 crypto_unregister_rng(algs + i); in crypto_register_rngs() 245 void crypto_unregister_rngs(struct rng_alg *algs, int count) in crypto_unregister_rngs() argument 250 crypto_unregister_rng(algs + i); in crypto_unregister_rngs()
|
H A D | acompress.c | 215 int crypto_register_acomps(struct acomp_alg *algs, int count) in crypto_register_acomps() argument 220 ret = crypto_register_acomp(&algs[i]); in crypto_register_acomps() 229 crypto_unregister_acomp(&algs[i]); in crypto_register_acomps() 235 void crypto_unregister_acomps(struct acomp_alg *algs, int count) in crypto_unregister_acomps() argument 240 crypto_unregister_acomp(&algs[i]); in crypto_unregister_acomps()
|
H A D | scompress.c | 280 int crypto_register_scomps(struct scomp_alg *algs, int count) in crypto_register_scomps() argument 285 ret = crypto_register_scomp(&algs[i]); in crypto_register_scomps() 294 crypto_unregister_scomp(&algs[i]); in crypto_register_scomps() 300 void crypto_unregister_scomps(struct scomp_alg *algs, int count) in crypto_unregister_scomps() argument 305 crypto_unregister_scomp(&algs[i]); in crypto_unregister_scomps()
|
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()
|
/openbmc/linux/arch/arm/crypto/ |
H A D | sha256_glue.c | 54 static struct shash_alg algs[] = { { variable 86 int res = crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_init() 96 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_init() 104 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_fini()
|
H A D | sha2-ce-glue.c | 68 static struct shash_alg algs[] = { { variable 100 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha2_ce_mod_init() 105 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha2_ce_mod_fini()
|
/openbmc/linux/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_crypt.c | 28 struct list_head algs; member 113 list_add(&alg->list, &hcrypt->algs); in ieee80211_register_crypto_ops() 132 for (ptr = hcrypt->algs.next; ptr != &hcrypt->algs; ptr = ptr->next) { in ieee80211_unregister_crypto_ops() 163 for (ptr = hcrypt->algs.next; ptr != &hcrypt->algs; ptr = ptr->next) { in ieee80211_get_crypto_ops() 205 INIT_LIST_HEAD(&hcrypt->algs); in ieee80211_crypto_init() 224 for (ptr = hcrypt->algs.next, n = ptr->next; ptr != &hcrypt->algs; in ieee80211_crypto_deinit()
|
/openbmc/linux/include/crypto/ |
H A D | engine.h | 85 int crypto_engine_register_aeads(struct aead_engine_alg *algs, int count); 86 void crypto_engine_unregister_aeads(struct aead_engine_alg *algs, int count); 90 int crypto_engine_register_ahashes(struct ahash_engine_alg *algs, int count); 91 void crypto_engine_unregister_ahashes(struct ahash_engine_alg *algs, 102 int crypto_engine_register_skciphers(struct skcipher_engine_alg *algs, 104 void crypto_engine_unregister_skciphers(struct skcipher_engine_alg *algs,
|
/openbmc/linux/include/crypto/internal/ |
H A D | simd.h | 23 int simd_register_skciphers_compat(struct skcipher_alg *algs, int count, 26 void simd_unregister_skciphers(struct skcipher_alg *algs, int count, 34 int simd_register_aeads_compat(struct aead_alg *algs, int count, 37 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 | hash.h | 73 int crypto_register_ahashes(struct ahash_alg *algs, int count); 74 void crypto_unregister_ahashes(struct ahash_alg *algs, int count); 111 int crypto_register_shashes(struct shash_alg *algs, int count); 112 void crypto_unregister_shashes(struct shash_alg *algs, int count);
|
/openbmc/linux/arch/arm64/crypto/ |
H A D | sha512-glue.c | 55 static struct shash_alg algs[] = { { variable 83 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha512_mod_init() 88 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha512_mod_fini()
|
H A D | sha256-glue.c | 68 static struct shash_alg algs[] = { { variable 176 int ret = crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_init() 183 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_init() 192 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha256_mod_fini()
|
H A D | sha512-ce-glue.c | 84 static struct shash_alg algs[] = { { variable 112 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha512_ce_mod_init() 117 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha512_ce_mod_fini()
|
H A D | sha2-ce-glue.c | 136 static struct shash_alg algs[] = { { variable 174 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha2_ce_mod_init() 179 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha2_ce_mod_fini()
|
H A D | sha3-ce-glue.c | 109 static struct shash_alg algs[] = { { variable 157 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in sha3_neon_mod_init() 162 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in sha3_neon_mod_fini()
|
H A D | chacha-neon-glue.c | 163 static struct skcipher_alg algs[] = { variable 223 crypto_register_skciphers(algs, ARRAY_SIZE(algs)) : 0; in chacha_simd_mod_init() 229 crypto_unregister_skciphers(algs, ARRAY_SIZE(algs)); in chacha_simd_mod_fini()
|
/openbmc/qemu/crypto/ |
H A D | hmac-gnutls.c | 41 const gnutls_digest_algorithm_t *algs; in qcrypto_hmac_supports() local 46 algs = gnutls_digest_list(); in qcrypto_hmac_supports() 47 for (i = 0; algs[i] != GNUTLS_DIG_UNKNOWN; i++) { in qcrypto_hmac_supports() 48 if (algs[i] == qcrypto_hmac_alg_map[alg]) { in qcrypto_hmac_supports()
|
H A D | hash-gnutls.c | 42 const gnutls_digest_algorithm_t *algs; in qcrypto_hash_supports() local 47 algs = gnutls_digest_list(); in qcrypto_hash_supports() 48 for (i = 0; algs[i] != GNUTLS_DIG_UNKNOWN; i++) { in qcrypto_hash_supports() 49 if (algs[i] == qcrypto_hash_alg_map[alg]) { in qcrypto_hash_supports()
|
/openbmc/linux/arch/mips/crypto/ |
H A D | chacha-glue.c | 80 static struct skcipher_alg algs[] = { variable 132 crypto_register_skciphers(algs, ARRAY_SIZE(algs)) : 0; in chacha_simd_mod_init() 138 crypto_unregister_skciphers(algs, ARRAY_SIZE(algs)); in chacha_simd_mod_fini()
|
/openbmc/linux/arch/powerpc/crypto/ |
H A D | sha256-spe-glue.c | 182 static struct shash_alg algs[2] = { { variable 218 return crypto_register_shashes(algs, ARRAY_SIZE(algs)); in ppc_spe_sha256_mod_init() 223 crypto_unregister_shashes(algs, ARRAY_SIZE(algs)); in ppc_spe_sha256_mod_fini()
|
H A D | chacha-p10-glue.c | 149 static struct skcipher_alg algs[] = { variable 205 return crypto_register_skciphers(algs, ARRAY_SIZE(algs)); in chacha_p10_init() 213 crypto_unregister_skciphers(algs, ARRAY_SIZE(algs)); in chacha_p10_exit()
|