Searched refs:cipher_name (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/crypto/ |
D | lrw.c | 304 const char *cipher_name; in lrw_create() local 313 cipher_name = crypto_attr_alg_name(tb[1]); in lrw_create() 314 if (IS_ERR(cipher_name)) in lrw_create() 315 return PTR_ERR(cipher_name); in lrw_create() 324 cipher_name, 0, mask); in lrw_create() 328 cipher_name) >= CRYPTO_MAX_ALG_NAME) in lrw_create() 354 cipher_name = alg->base.cra_name; in lrw_create() 359 if (!strncmp(cipher_name, "ecb(", 4)) { in lrw_create() 362 len = strscpy(ecb_name, cipher_name + 4, sizeof(ecb_name)); in lrw_create()
|
D | xts.c | 346 const char *cipher_name; in xts_create() local 354 cipher_name = crypto_attr_alg_name(tb[1]); in xts_create() 355 if (IS_ERR(cipher_name)) in xts_create() 356 return PTR_ERR(cipher_name); in xts_create() 365 cipher_name, 0, mask); in xts_create() 369 cipher_name) >= CRYPTO_MAX_ALG_NAME) in xts_create() 395 cipher_name = alg->base.cra_name; in xts_create() 400 if (!strncmp(cipher_name, "ecb(", 4)) { in xts_create() 403 len = strscpy(name, cipher_name + 4, sizeof(name)); in xts_create()
|
D | lskcipher.c | 490 const char *cipher_name; in lskcipher_alloc_instance_simple() local 497 cipher_name = crypto_attr_alg_name(tb[1]); in lskcipher_alloc_instance_simple() 498 if (IS_ERR(cipher_name)) in lskcipher_alloc_instance_simple() 499 return ERR_CAST(cipher_name); in lskcipher_alloc_instance_simple() 508 cipher_name, 0, mask); in lskcipher_alloc_instance_simple() 514 cipher_name) >= CRYPTO_MAX_ALG_NAME) in lskcipher_alloc_instance_simple() 552 if (strcmp(ecb_name, cipher_name) && in lskcipher_alloc_instance_simple() 555 "%s(%s)", tmpl->name, cipher_name) >= in lskcipher_alloc_instance_simple()
|
D | ccm.c | 531 const char *cipher_name; in crypto_ccm_create() local 535 cipher_name = crypto_attr_alg_name(tb[1]); in crypto_ccm_create() 536 if (IS_ERR(cipher_name)) in crypto_ccm_create() 537 return PTR_ERR(cipher_name); in crypto_ccm_create() 540 cipher_name) >= CRYPTO_MAX_ALG_NAME) in crypto_ccm_create() 544 cipher_name) >= CRYPTO_MAX_ALG_NAME) in crypto_ccm_create()
|
D | gcm.c | 656 const char *cipher_name; in crypto_gcm_create() local 659 cipher_name = crypto_attr_alg_name(tb[1]); in crypto_gcm_create() 660 if (IS_ERR(cipher_name)) in crypto_gcm_create() 661 return PTR_ERR(cipher_name); in crypto_gcm_create() 663 if (snprintf(ctr_name, CRYPTO_MAX_ALG_NAME, "ctr(%s)", cipher_name) >= in crypto_gcm_create()
|
/linux-6.12.1/fs/ecryptfs/ |
D | crypto.c | 78 char *cipher_name, in ecryptfs_crypto_api_algify_cipher_name() argument 81 int cipher_name_len = strlen(cipher_name); in ecryptfs_crypto_api_algify_cipher_name() 93 chaining_modifier, cipher_name); in ecryptfs_crypto_api_algify_cipher_name() 902 u8 ecryptfs_code_for_cipher_string(char *cipher_name, size_t key_bytes) in ecryptfs_code_for_cipher_string() argument 909 if (strcmp(cipher_name, "aes") == 0) { in ecryptfs_code_for_cipher_string() 922 if (strcmp(cipher_name, map[i].cipher_str) == 0) { in ecryptfs_code_for_cipher_string() 1521 char *cipher_name, size_t *key_size) in ecryptfs_process_key_cipher() argument 1534 rc = ecryptfs_crypto_api_algify_cipher_name(&full_alg_name, cipher_name, in ecryptfs_process_key_cipher() 1593 ecryptfs_add_new_key_tfm(struct ecryptfs_key_tfm **key_tfm, char *cipher_name, in ecryptfs_add_new_key_tfm() argument 1609 strscpy(tmp_tfm->cipher_name, cipher_name); in ecryptfs_add_new_key_tfm() [all …]
|
D | ecryptfs_kernel.h | 315 unsigned char cipher_name[ECRYPTFS_MAX_CIPHER_NAME_SIZE + 1]; member 584 u8 ecryptfs_code_for_cipher_string(char *cipher_name, size_t key_bytes); 642 ecryptfs_add_new_key_tfm(struct ecryptfs_key_tfm **key_tfm, char *cipher_name, 646 int ecryptfs_tfm_exists(char *cipher_name, struct ecryptfs_key_tfm **key_tfm); 649 char *cipher_name);
|
/linux-6.12.1/net/tls/ |
D | tls.h | 65 char *cipher_name; member
|
D | tls_device_fallback.c | 470 crypto_alloc_aead(cipher_desc->cipher_name, 0, CRYPTO_ALG_ASYNC); in tls_sw_fallback_init()
|
D | tls_main.c | 85 .cipher_name = algname, \ 97 .cipher_name = algname, \
|
D | tls_sw.c | 2744 *aead = crypto_alloc_aead(cipher_desc->cipher_name, 0, 0); in tls_set_sw_offload()
|