Home
last modified time | relevance | path

Searched refs:ualg (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/crypto/
Dcrypto_user_stat.c179 struct crypto_user_alg *ualg, in crypto_reportstat_one() argument
182 memset(ualg, 0, sizeof(*ualg)); in crypto_reportstat_one()
184 strscpy(ualg->cru_name, alg->cra_name, sizeof(ualg->cru_name)); in crypto_reportstat_one()
185 strscpy(ualg->cru_driver_name, alg->cra_driver_name, in crypto_reportstat_one()
186 sizeof(ualg->cru_driver_name)); in crypto_reportstat_one()
187 strscpy(ualg->cru_module_name, module_name(alg->cra_module), in crypto_reportstat_one()
188 sizeof(ualg->cru_module_name)); in crypto_reportstat_one()
190 ualg->cru_type = 0; in crypto_reportstat_one()
191 ualg->cru_mask = 0; in crypto_reportstat_one()
192 ualg->cru_flags = alg->cra_flags; in crypto_reportstat_one()
[all …]
Dcrypto_user_base.c100 struct crypto_user_alg *ualg, struct sk_buff *skb) in crypto_report_one() argument
102 memset(ualg, 0, sizeof(*ualg)); in crypto_report_one()
104 strscpy(ualg->cru_name, alg->cra_name, sizeof(ualg->cru_name)); in crypto_report_one()
105 strscpy(ualg->cru_driver_name, alg->cra_driver_name, in crypto_report_one()
106 sizeof(ualg->cru_driver_name)); in crypto_report_one()
107 strscpy(ualg->cru_module_name, module_name(alg->cra_module), in crypto_report_one()
108 sizeof(ualg->cru_module_name)); in crypto_report_one()
110 ualg->cru_type = 0; in crypto_report_one()
111 ualg->cru_mask = 0; in crypto_report_one()
112 ualg->cru_flags = alg->cra_flags; in crypto_report_one()
[all …]
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_user.c297 struct xfrm_algo *p, *ualg; in attach_one_algo() local
303 ualg = nla_data(rta); in attach_one_algo()
305 algo = get_byname(ualg->alg_name, 1); in attach_one_algo()
310 p = kmemdup(ualg, xfrm_alg_len(ualg), GFP_KERNEL); in attach_one_algo()
321 struct xfrm_algo *p, *ualg; in attach_crypt() local
327 ualg = nla_data(rta); in attach_crypt()
329 algo = xfrm_ealg_get_byname(ualg->alg_name, 1); in attach_crypt()
334 p = kmemdup(ualg, xfrm_alg_len(ualg), GFP_KERNEL); in attach_crypt()
347 struct xfrm_algo *ualg; in attach_auth() local
354 ualg = nla_data(rta); in attach_auth()
[all …]