Searched refs:rrng (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.1/crypto/ |
D | rng.c | 72 struct crypto_report_rng rrng; in crypto_rng_report() local 74 memset(&rrng, 0, sizeof(rrng)); in crypto_rng_report() 76 strscpy(rrng.type, "rng", sizeof(rrng.type)); in crypto_rng_report() 78 rrng.seedsize = seedsize(alg); in crypto_rng_report() 80 return nla_put(skb, CRYPTOCFGA_REPORT_RNG, sizeof(rrng), &rrng); in crypto_rng_report()
|
D | crypto_user_stat.c | 164 struct crypto_stat_rng rrng; in crypto_report_rng() local 166 memset(&rrng, 0, sizeof(rrng)); in crypto_report_rng() 168 strscpy(rrng.type, "rng", sizeof(rrng.type)); in crypto_report_rng() 170 rrng.stat_generate_cnt = atomic64_read(&alg->stats.rng.generate_cnt); in crypto_report_rng() 171 rrng.stat_generate_tlen = atomic64_read(&alg->stats.rng.generate_tlen); in crypto_report_rng() 172 rrng.stat_seed_cnt = atomic64_read(&alg->stats.rng.seed_cnt); in crypto_report_rng() 173 rrng.stat_err_cnt = atomic64_read(&alg->stats.rng.err_cnt); in crypto_report_rng() 175 return nla_put(skb, CRYPTOCFGA_STAT_RNG, sizeof(rrng), &rrng); in crypto_report_rng()
|