/linux-master/include/crypto/ |
H A D | cryptd.h | 26 /* alg_name should be algorithm to be cryptd-ed */ 27 struct cryptd_skcipher *cryptd_alloc_skcipher(const char *alg_name, 44 /* alg_name should be algorithm to be cryptd-ed */ 45 struct cryptd_ahash *cryptd_alloc_ahash(const char *alg_name, 63 struct cryptd_aead *cryptd_alloc_aead(const char *alg_name,
|
H A D | sig.h | 31 * @alg_name: is the cra_name / name or cra_driver_name / driver name of the 43 struct crypto_sig *crypto_alloc_sig(const char *alg_name, u32 type, u32 mask);
|
H A D | acompress.h | 97 * @alg_name: is the cra_name / name or cra_driver_name / driver name of the 109 struct crypto_acomp *crypto_alloc_acomp(const char *alg_name, u32 type, 113 * @alg_name: is the cra_name / name or cra_driver_name / driver name of the 127 struct crypto_acomp *crypto_alloc_acomp_node(const char *alg_name, u32 type, 186 static inline int crypto_has_acomp(const char *alg_name, u32 type, u32 mask) argument 192 return crypto_has_alg(alg_name, type, mask);
|
H A D | aead.h | 190 * @alg_name: is the cra_name / name or cra_driver_name / driver name of the 202 struct crypto_aead *crypto_alloc_aead(const char *alg_name, u32 type, u32 mask); 222 * @alg_name: is the cra_name / name or cra_driver_name / driver name of the 230 int crypto_has_aead(const char *alg_name, u32 type, u32 mask);
|
H A D | hash.h | 277 * @alg_name: is the cra_name / name or cra_driver_name / driver name of the 289 struct crypto_ahash *crypto_alloc_ahash(const char *alg_name, u32 type, 312 * @alg_name: is the cra_name / name or cra_driver_name / driver name of the 320 int crypto_has_ahash(const char *alg_name, u32 type, u32 mask); 688 * @alg_name: is the cra_name / name or cra_driver_name / driver name of the 700 struct crypto_shash *crypto_alloc_shash(const char *alg_name, u32 type, 705 int crypto_has_shash(const char *alg_name, u32 type, u32 mask);
|
H A D | skcipher.h | 291 * @alg_name: is the cra_name / name or cra_driver_name / driver name of the 303 struct crypto_skcipher *crypto_alloc_skcipher(const char *alg_name, 306 struct crypto_sync_skcipher *crypto_alloc_sync_skcipher(const char *alg_name, 312 * @alg_name: is the cra_name / name or cra_driver_name / driver name of the 324 struct crypto_lskcipher *crypto_alloc_lskcipher(const char *alg_name, 368 * @alg_name: is the cra_name / name or cra_driver_name / driver name of the 376 int crypto_has_skcipher(const char *alg_name, u32 type, u32 mask);
|
H A D | rng.h | 93 * @alg_name: is the cra_name / name or cra_driver_name / driver name of the 111 struct crypto_rng *crypto_alloc_rng(const char *alg_name, u32 type, u32 mask);
|
H A D | kpp.h | 119 * @alg_name: is the name of the kpp algorithm (e.g. "dh", "ecdh") 129 struct crypto_kpp *crypto_alloc_kpp(const char *alg_name, u32 type, u32 mask); 131 int crypto_has_kpp(const char *alg_name, u32 type, u32 mask);
|
/linux-master/include/crypto/internal/ |
H A D | cipher.h | 44 * @alg_name: is the cra_name / name or cra_driver_name / driver name of the 56 static inline struct crypto_cipher *crypto_alloc_cipher(const char *alg_name, argument 63 return __crypto_cipher_cast(crypto_alloc_base(alg_name, type, mask)); 82 * @alg_name: is the cra_name / name or cra_driver_name / driver name of the 90 static inline int crypto_has_cipher(const char *alg_name, u32 type, u32 mask) argument 96 return crypto_has_alg(alg_name, type, mask);
|
/linux-master/crypto/asymmetric_keys/ |
H A D | public_key.c | 69 char alg_name[CRYPTO_MAX_ALG_NAME], bool *sig, 87 n = snprintf(alg_name, CRYPTO_MAX_ALG_NAME, 91 n = snprintf(alg_name, CRYPTO_MAX_ALG_NAME, 146 if (strscpy(alg_name, pkey->pkey_algo, CRYPTO_MAX_ALG_NAME) < 0) 165 char alg_name[CRYPTO_MAX_ALG_NAME]; local 172 params->hash_algo, alg_name, 189 sig = crypto_alloc_sig(alg_name, 0, 0); 214 tfm = crypto_alloc_akcipher(alg_name, 0, 0); 280 char alg_name[CRYPTO_MAX_ALG_NAME]; local 291 params->hash_algo, alg_name, 67 software_key_determine_akcipher(const struct public_key *pkey, const char *encoding, const char *hash_algo, char alg_name[CRYPTO_MAX_ALG_NAME], bool *sig, enum kernel_pkey_operation op) argument 385 char alg_name[CRYPTO_MAX_ALG_NAME]; local [all...] |
/linux-master/crypto/ |
H A D | kpp.c | 111 struct crypto_kpp *crypto_alloc_kpp(const char *alg_name, u32 type, u32 mask) argument 113 return crypto_alloc_tfm(alg_name, &crypto_kpp_type, type, mask); 126 int crypto_has_kpp(const char *alg_name, u32 type, u32 mask) argument 128 return crypto_type_has_alg(alg_name, &crypto_kpp_type, type, mask);
|
H A D | acompress.c | 140 struct crypto_acomp *crypto_alloc_acomp(const char *alg_name, u32 type, argument 143 return crypto_alloc_tfm(alg_name, &crypto_acomp_type, type, mask); 147 struct crypto_acomp *crypto_alloc_acomp_node(const char *alg_name, u32 type, argument 150 return crypto_alloc_tfm_node(alg_name, &crypto_acomp_type, type, mask,
|
H A D | internal.h | 140 struct crypto_alg *crypto_find_alg(const char *alg_name, 144 void *crypto_alloc_tfm_node(const char *alg_name, 148 static inline void *crypto_alloc_tfm(const char *alg_name, argument 151 return crypto_alloc_tfm_node(alg_name, frontend, type, mask, NUMA_NO_NODE);
|
H A D | sig.c | 76 struct crypto_sig *crypto_alloc_sig(const char *alg_name, u32 type, u32 mask) argument 78 return crypto_alloc_tfm(alg_name, &crypto_sig_type, type, mask);
|
H A D | aead.c | 266 struct crypto_aead *crypto_alloc_aead(const char *alg_name, u32 type, u32 mask) argument 268 return crypto_alloc_tfm(alg_name, &crypto_aead_type, type, mask); 272 int crypto_has_aead(const char *alg_name, u32 type, u32 mask) argument 274 return crypto_type_has_alg(alg_name, &crypto_aead_type, type, mask);
|
H A D | api.c | 430 * @alg_name: Name of algorithm 450 struct crypto_tfm *crypto_alloc_base(const char *alg_name, u32 type, u32 mask) argument 458 alg = crypto_alg_mod_lookup(alg_name, type, mask); 569 struct crypto_alg *crypto_find_alg(const char *alg_name, argument 580 return crypto_alg_mod_lookup(alg_name, type, mask); 586 * @alg_name: Name of algorithm 607 void *crypto_alloc_tfm_node(const char *alg_name, argument 617 alg = crypto_find_alg(alg_name, frontend, type, mask);
|
H A D | shash.c | 302 struct crypto_shash *crypto_alloc_shash(const char *alg_name, u32 type, argument 305 return crypto_alloc_tfm(alg_name, &crypto_shash_type, type, mask); 309 int crypto_has_shash(const char *alg_name, u32 type, u32 mask) argument 311 return crypto_type_has_alg(alg_name, &crypto_shash_type, type, mask);
|
/linux-master/include/linux/ |
H A D | crypto.h | 444 struct crypto_tfm *crypto_alloc_base(const char *alg_name, u32 type, u32 mask); 501 static inline struct crypto_comp *crypto_alloc_comp(const char *alg_name, argument 508 return __crypto_comp_cast(crypto_alloc_base(alg_name, type, mask)); 521 static inline int crypto_has_comp(const char *alg_name, u32 type, u32 mask) argument 527 return crypto_has_alg(alg_name, type, mask);
|
/linux-master/net/xfrm/ |
H A D | xfrm_ipcomp.c | 260 static struct crypto_comp * __percpu *ipcomp_alloc_tfms(const char *alg_name) argument 273 if (!strcmp(crypto_comp_name(tfm), alg_name)) { 292 struct crypto_comp *tfm = crypto_alloc_comp(alg_name, 0, 352 ipcd->tfms = ipcomp_alloc_tfms(x->calg->alg_name); 357 calg_desc = xfrm_calg_get_byname(x->calg->alg_name, 0);
|
/linux-master/tools/testing/selftests/net/tcp_ao/lib/ |
H A D | sock.c | 160 strncpy(ao->alg_name, alg, 64); 235 if (!strcmp("cmac(aes128)", a->alg_name)) { 277 if (!is_cmac_aes && strcmp(b->alg_name, a->alg_name)) { 278 test_fail("getsockopt(): returned algorithm %s is different than %s", b->alg_name, a->alg_name); 281 if (is_cmac_aes && strcmp(b->alg_name, "cmac(aes)")) { 282 test_fail("getsockopt(): returned algorithm %s is different than cmac(aes)", b->alg_name);
|
H A D | kconfig.c | 61 strcpy(tmp.alg_name, "hmac(sha1)");
|
/linux-master/drivers/net/netdevsim/ |
H A D | ipsec.c | 90 char *alg_name = NULL; local 106 alg_name = xs->aead->alg_name; 108 if (strcmp(alg_name, aes_gcm_name)) {
|
/linux-master/drivers/crypto/starfive/ |
H A D | jh7110-hash.c | 408 const char *alg_name, 418 ctx->ahash_fbk = crypto_alloc_ahash(alg_name, 0, 444 const char *alg_name) 453 ahash_tfm = crypto_alloc_ahash(alg_name, 0, 0); 494 const char *alg_name; local 508 alg_name = "sha224-starfive"; 512 alg_name = "sm3-starfive"; 514 alg_name = "sha256-starfive"; 517 alg_name = "sha384-starfive"; 520 alg_name 407 starfive_hash_init_tfm(struct crypto_ahash *hash, const char *alg_name, unsigned int mode) argument 442 starfive_hash_long_setkey(struct starfive_cryp_ctx *ctx, const u8 *key, unsigned int keylen, const char *alg_name) argument [all...] |
/linux-master/include/uapi/linux/ |
H A D | xfrm.h | 104 char alg_name[64]; member in struct:xfrm_algo 110 char alg_name[64]; member in struct:xfrm_algo_auth 117 char alg_name[64]; member in struct:xfrm_algo_aead
|
/linux-master/drivers/md/ |
H A D | dm-verity.h | 41 char *alg_name; member in struct:dm_verity
|