Searched refs:rkpp (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/crypto/ |
D | kpp.c | 26 struct crypto_report_kpp rkpp; in crypto_kpp_report() local 28 memset(&rkpp, 0, sizeof(rkpp)); in crypto_kpp_report() 30 strscpy(rkpp.type, "kpp", sizeof(rkpp.type)); in crypto_kpp_report() 32 return nla_put(skb, CRYPTOCFGA_REPORT_KPP, sizeof(rkpp), &rkpp); in crypto_kpp_report()
|
D | crypto_user_stat.c | 118 struct crypto_stat_kpp rkpp; in crypto_report_kpp() local 120 memset(&rkpp, 0, sizeof(rkpp)); in crypto_report_kpp() 122 strscpy(rkpp.type, "kpp", sizeof(rkpp.type)); in crypto_report_kpp() 124 rkpp.stat_setsecret_cnt = atomic64_read(&alg->stats.kpp.setsecret_cnt); in crypto_report_kpp() 125 rkpp.stat_generate_public_key_cnt = atomic64_read(&alg->stats.kpp.generate_public_key_cnt); in crypto_report_kpp() 126 rkpp.stat_compute_shared_secret_cnt = atomic64_read(&alg->stats.kpp.compute_shared_secret_cnt); in crypto_report_kpp() 127 rkpp.stat_err_cnt = atomic64_read(&alg->stats.kpp.err_cnt); in crypto_report_kpp() 129 return nla_put(skb, CRYPTOCFGA_STAT_KPP, sizeof(rkpp), &rkpp); in crypto_report_kpp()
|