Searched refs:ctr_name (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/crypto/ |
D | ccm.c | 447 const char *ctr_name, in crypto_ccm_create_common() argument 478 ctr_name, 0, mask); in crypto_ccm_create_common() 533 char ctr_name[CRYPTO_MAX_ALG_NAME]; in crypto_ccm_create() local 540 if (snprintf(ctr_name, CRYPTO_MAX_ALG_NAME, "ctr(%s)", in crypto_ccm_create() 548 return crypto_ccm_create_common(tmpl, tb, ctr_name, mac_name); in crypto_ccm_create() 554 const char *ctr_name; in crypto_ccm_base_create() local 557 ctr_name = crypto_attr_alg_name(tb[1]); in crypto_ccm_base_create() 558 if (IS_ERR(ctr_name)) in crypto_ccm_base_create() 559 return PTR_ERR(ctr_name); in crypto_ccm_base_create() 565 return crypto_ccm_create_common(tmpl, tb, ctr_name, mac_name); in crypto_ccm_base_create()
|
D | gcm.c | 576 const char *ctr_name, in crypto_gcm_create_common() argument 607 ctr_name, 0, mask); in crypto_gcm_create_common() 659 char ctr_name[CRYPTO_MAX_ALG_NAME]; in crypto_gcm_create() local 665 if (snprintf(ctr_name, CRYPTO_MAX_ALG_NAME, "ctr(%s)", cipher_name) >= in crypto_gcm_create() 669 return crypto_gcm_create_common(tmpl, tb, ctr_name, "ghash"); in crypto_gcm_create() 675 const char *ctr_name; in crypto_gcm_base_create() local 678 ctr_name = crypto_attr_alg_name(tb[1]); in crypto_gcm_base_create() 679 if (IS_ERR(ctr_name)) in crypto_gcm_base_create() 680 return PTR_ERR(ctr_name); in crypto_gcm_base_create() 686 return crypto_gcm_create_common(tmpl, tb, ctr_name, ghash_name); in crypto_gcm_base_create()
|
D | drbg.c | 1765 char ctr_name[CRYPTO_MAX_ALG_NAME]; in drbg_init_sym_kernel() local 1776 if (snprintf(ctr_name, CRYPTO_MAX_ALG_NAME, "ctr(%s)", in drbg_init_sym_kernel() 1781 sk_tfm = crypto_alloc_skcipher(ctr_name, 0, 0); in drbg_init_sym_kernel() 1784 ctr_name); in drbg_init_sym_kernel()
|