Home
last modified time | relevance | path

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

/Linux-v6.6/crypto/
Dcrypto_user_stat.c50 struct crypto_user_alg *ualg, in crypto_reportstat_one() argument
53 memset(ualg, 0, sizeof(*ualg)); in crypto_reportstat_one()
55 strscpy(ualg->cru_name, alg->cra_name, sizeof(ualg->cru_name)); in crypto_reportstat_one()
56 strscpy(ualg->cru_driver_name, alg->cra_driver_name, in crypto_reportstat_one()
57 sizeof(ualg->cru_driver_name)); in crypto_reportstat_one()
58 strscpy(ualg->cru_module_name, module_name(alg->cra_module), in crypto_reportstat_one()
59 sizeof(ualg->cru_module_name)); in crypto_reportstat_one()
61 ualg->cru_type = 0; in crypto_reportstat_one()
62 ualg->cru_mask = 0; in crypto_reportstat_one()
63 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 …]
/Linux-v6.6/net/xfrm/
Dxfrm_user.c371 struct xfrm_algo *p, *ualg; in attach_one_algo() local
377 ualg = nla_data(rta); in attach_one_algo()
379 algo = get_byname(ualg->alg_name, 1); in attach_one_algo()
386 p = kmemdup(ualg, xfrm_alg_len(ualg), GFP_KERNEL); in attach_one_algo()
398 struct xfrm_algo *p, *ualg; in attach_crypt() local
404 ualg = nla_data(rta); in attach_crypt()
406 algo = xfrm_ealg_get_byname(ualg->alg_name, 1); in attach_crypt()
413 p = kmemdup(ualg, xfrm_alg_len(ualg), GFP_KERNEL); in attach_crypt()
426 struct xfrm_algo *ualg; in attach_auth() local
433 ualg = nla_data(rta); in attach_auth()
[all …]