Home
last modified time | relevance | path

Searched refs:alg_name (Results 1 – 9 of 9) sorted by relevance

/net/xfrm/
Dxfrm_ipcomp.c260 static struct crypto_comp * __percpu *ipcomp_alloc_tfms(const char *alg_name) in ipcomp_alloc_tfms() argument
273 if (!strcmp(crypto_comp_name(tfm), alg_name)) { in ipcomp_alloc_tfms()
292 struct crypto_comp *tfm = crypto_alloc_comp(alg_name, 0, in ipcomp_alloc_tfms()
352 ipcd->tfms = ipcomp_alloc_tfms(x->calg->alg_name); in ipcomp_init_state()
357 calg_desc = xfrm_calg_get_byname(x->calg->alg_name, 0); in ipcomp_init_state()
Dxfrm_user.c64 algp->alg_name[sizeof(algp->alg_name) - 1] = '\0'; in verify_one_alg()
83 algp->alg_name[sizeof(algp->alg_name) - 1] = '\0'; in verify_auth_trunc()
101 algp->alg_name[sizeof(algp->alg_name) - 1] = '\0'; in verify_aead()
379 algo = get_byname(ualg->alg_name, 1); in attach_one_algo()
390 strcpy(p->alg_name, algo->name); in attach_one_algo()
406 algo = xfrm_ealg_get_byname(ualg->alg_name, 1); in attach_crypt()
417 strcpy(p->alg_name, algo->name); in attach_crypt()
435 algo = xfrm_aalg_get_byname(ualg->alg_name, 1); in attach_auth()
446 strcpy(p->alg_name, algo->name); in attach_auth()
466 algo = xfrm_aalg_get_byname(ualg->alg_name, 1); in attach_auth_trunc()
[all …]
/net/ipv4/
Desp4.c1019 x->geniv, x->aead->alg_name) >= CRYPTO_MAX_ALG_NAME) { in esp_init_aead()
1065 x->aalg ? x->aalg->alg_name : "digest_null", in esp_init_authenc()
1066 x->ealg->alg_name, in esp_init_authenc()
1075 x->aalg ? x->aalg->alg_name : "digest_null", in esp_init_authenc()
1076 x->ealg->alg_name, in esp_init_authenc()
1112 aalg_desc = xfrm_aalg_get_byname(x->aalg->alg_name, 0); in esp_init_authenc()
Dah4.c494 ahash = crypto_alloc_ahash(x->aalg->alg_name, 0, 0); in ah_init_state()
513 aalg_desc = xfrm_aalg_get_byname(x->aalg->alg_name, 0); in ah_init_state()
/net/ipv6/
Desp6.c1062 x->geniv, x->aead->alg_name) >= CRYPTO_MAX_ALG_NAME) { in esp_init_aead()
1108 x->aalg ? x->aalg->alg_name : "digest_null", in esp_init_authenc()
1109 x->ealg->alg_name, in esp_init_authenc()
1118 x->aalg ? x->aalg->alg_name : "digest_null", in esp_init_authenc()
1119 x->ealg->alg_name, in esp_init_authenc()
1155 aalg_desc = xfrm_aalg_get_byname(x->aalg->alg_name, 0); in esp_init_authenc()
Dah6.c689 ahash = crypto_alloc_ahash(x->aalg->alg_name, 0, 0); in ah6_init_state()
708 aalg_desc = xfrm_aalg_get_byname(x->aalg->alg_name, 0); in ah6_init_state()
/net/mac80211/
Drate.c198 const char *alg_name; in ieee80211_rate_control_ops_get() local
202 alg_name = ieee80211_default_rc_algo; in ieee80211_rate_control_ops_get()
204 alg_name = name; in ieee80211_rate_control_ops_get()
206 ops = ieee80211_try_rate_control_ops_get(alg_name); in ieee80211_rate_control_ops_get()
/net/tipc/
Dcrypto.c339 if (unlikely(!crypto_has_alg(ukey->alg_name, 0, 0))) { in tipc_aead_key_validate()
345 if (strcmp(ukey->alg_name, "gcm(aes)")) { in tipc_aead_key_validate()
543 tfm = crypto_alloc_aead(ukey->alg_name, 0, 0); in tipc_aead_init()
2253 memcpy(data, skey->alg_name, TIPC_AEAD_ALG_NAME); in tipc_crypto_key_xmit()
2318 memcpy(skey->alg_name, data, TIPC_AEAD_ALG_NAME); in tipc_crypto_key_rcv()
/net/key/
Daf_key.c854 struct xfrm_algo_desc *a = xfrm_aalg_get_byname(x->aalg->alg_name, 0); in __pfkey_xfrm_state2msg()
861 struct xfrm_algo_desc *a = xfrm_ealg_get_byname(x->ealg->alg_name, 0); in __pfkey_xfrm_state2msg()
867 struct xfrm_algo_desc *a = xfrm_calg_get_byname(x->calg->alg_name, 0); in __pfkey_xfrm_state2msg()
1182 strcpy(x->aalg->alg_name, a->name); in pfkey_msg2xfrm_state()
1204 strcpy(x->calg->alg_name, a->name); in pfkey_msg2xfrm_state()
1221 strcpy(x->ealg->alg_name, a->name); in pfkey_msg2xfrm_state()