Home
last modified time | relevance | path

Searched refs:cipher_name (Results 1 – 7 of 7) sorted by relevance

/linux/crypto/
H A Dlrw.c304 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()
H A Dxts.c346 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()
H A Dlskcipher.c490 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()
H A Dccm.c531 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()
H A Dgcm.c656 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/net/tls/
H A Dtls_device_fallback.c470 crypto_alloc_aead(cipher_desc->cipher_name, 0, CRYPTO_ALG_ASYNC); in tls_sw_fallback_init()
H A Dtls_sw.c2791 *aead = crypto_alloc_aead(cipher_desc->cipher_name, 0, 0); in tls_set_sw_offload()