Searched refs:rrng (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/crypto/ |
H A D | rng.c | 75 struct crypto_report_rng rrng; in crypto_rng_report() local 77 memset(&rrng, 0, sizeof(rrng)); in crypto_rng_report() 79 strscpy(rrng.type, "rng", sizeof(rrng.type)); in crypto_rng_report() 81 rrng.seedsize = seedsize(alg); in crypto_rng_report() 83 return nla_put(skb, CRYPTOCFGA_REPORT_RNG, sizeof(rrng), &rrng); in crypto_rng_report() 99 struct crypto_stat_rng rrng; in crypto_rng_report_stat() local 103 memset(&rrng, 0, sizeof(rrng)); in crypto_rng_report_stat() 105 strscpy(rrng.type, "rng", sizeof(rrng.type)); in crypto_rng_report_stat() 109 rrng.stat_seed_cnt = atomic64_read(&istat->seed_cnt); in crypto_rng_report_stat() 110 rrng.stat_err_cnt = atomic64_read(&istat->err_cnt); in crypto_rng_report_stat() [all …]
|