Home
last modified time | relevance | path

Searched refs:rrng (Results 1 – 2 of 2) sorted by relevance

/linux-6.3-rc2/crypto/
A Drng.c72 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()
A Dcrypto_user_stat.c164 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()

Completed in 5 milliseconds