Searched refs:ctr_name (Results 1 – 3 of 3) sorted by relevance
/crypto/ |
D | ccm.c | 456 const char *ctr_name, in crypto_ccm_create_common() argument 499 err = crypto_grab_skcipher(&ictx->ctr, ctr_name, 0, in crypto_ccm_create_common() 567 char ctr_name[CRYPTO_MAX_ALG_NAME]; in crypto_ccm_create() local 574 if (snprintf(ctr_name, CRYPTO_MAX_ALG_NAME, "ctr(%s)", in crypto_ccm_create() 582 return crypto_ccm_create_common(tmpl, tb, ctr_name, mac_name); in crypto_ccm_create() 588 const char *ctr_name; in crypto_ccm_base_create() local 591 ctr_name = crypto_attr_alg_name(tb[1]); in crypto_ccm_base_create() 592 if (IS_ERR(ctr_name)) in crypto_ccm_base_create() 593 return PTR_ERR(ctr_name); in crypto_ccm_base_create() 599 return crypto_ccm_create_common(tmpl, tb, ctr_name, mac_name); in crypto_ccm_base_create()
|
D | gcm.c | 584 const char *ctr_name, in crypto_gcm_create_common() argument 629 err = crypto_grab_skcipher(&ctx->ctr, ctr_name, 0, in crypto_gcm_create_common() 695 char ctr_name[CRYPTO_MAX_ALG_NAME]; in crypto_gcm_create() local 701 if (snprintf(ctr_name, CRYPTO_MAX_ALG_NAME, "ctr(%s)", cipher_name) >= in crypto_gcm_create() 705 return crypto_gcm_create_common(tmpl, tb, ctr_name, "ghash"); in crypto_gcm_create() 711 const char *ctr_name; in crypto_gcm_base_create() local 714 ctr_name = crypto_attr_alg_name(tb[1]); in crypto_gcm_base_create() 715 if (IS_ERR(ctr_name)) in crypto_gcm_base_create() 716 return PTR_ERR(ctr_name); in crypto_gcm_base_create() 722 return crypto_gcm_create_common(tmpl, tb, ctr_name, ghash_name); in crypto_gcm_base_create()
|
D | drbg.c | 1737 char ctr_name[CRYPTO_MAX_ALG_NAME]; in drbg_init_sym_kernel() local 1748 if (snprintf(ctr_name, CRYPTO_MAX_ALG_NAME, "ctr(%s)", in drbg_init_sym_kernel() 1753 sk_tfm = crypto_alloc_skcipher(ctr_name, 0, 0); in drbg_init_sym_kernel() 1756 ctr_name); in drbg_init_sym_kernel()
|