Searched refs:ualg (Results 1 – 3 of 3) sorted by relevance
/linux/crypto/ |
A D | crypto_user_stat.c | 179 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() 186 sizeof(ualg->cru_driver_name)); 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() 271 struct crypto_user_alg *ualg; in crypto_reportstat_alg() local 281 ualg = nlmsg_data(nlh); in crypto_reportstat_alg() [all …]
|
A D | crypto_user_base.c | 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() 106 sizeof(ualg->cru_driver_name)); 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() 113 ualg->cru_refcnt = refcount_read(&alg->cra_refcnt); in crypto_report_one() 160 struct crypto_user_alg *ualg; in crypto_report_alg() local 170 ualg = nlmsg_data(nlh); in crypto_report_alg() [all …]
|
/linux/net/xfrm/ |
A D | xfrm_user.c | 299 ualg = nla_data(rta); in attach_one_algo() 306 p = kmemdup(ualg, xfrm_alg_len(ualg), GFP_KERNEL); in attach_one_algo() 323 ualg = nla_data(rta); in attach_crypt() 330 p = kmemdup(ualg, xfrm_alg_len(ualg), GFP_KERNEL); in attach_crypt() 350 ualg = nla_data(rta); in attach_auth() 364 memcpy(p->alg_key, ualg->alg_key, (ualg->alg_key_len + 7) / 8); in attach_auth() 379 ualg = nla_data(rta); in attach_auth_trunc() 388 p = kmemdup(ualg, xfrm_alg_auth_len(ualg), GFP_KERNEL); in attach_auth_trunc() 408 ualg = nla_data(rta); in attach_aead() 410 algo = xfrm_aead_get_byname(ualg->alg_name, ualg->alg_icv_len, 1); in attach_aead() [all …]
|
Completed in 13 milliseconds