Home
last modified time | relevance | path

Searched refs:brng_generation (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/dev/random/fenestrasX/
H A Dfx_brng.c95 ASSERT_DEBUG(rng->brng_generation > 0, "root RNG not seeded"); in fxrng_brng_src_reseed()
107 rng->brng_generation++; in fxrng_brng_src_reseed()
108 atomic_store_rel_64(&fxrng_root_generation, rng->brng_generation); in fxrng_brng_src_reseed()
110 fxrng_push_seed_generation(rng->brng_generation); in fxrng_brng_src_reseed()
127 fxrng_rng_reseed(&rng->brng_rng, (rng->brng_generation > 0), entr, sz); in fxrng_brng_reseed()
130 rng->brng_generation++; in fxrng_brng_reseed()
131 atomic_store_rel_64(&fxrng_root_generation, rng->brng_generation); in fxrng_brng_reseed()
133 fxrng_push_seed_generation(rng->brng_generation); in fxrng_brng_reseed()
147 fxrng_push_seed_generation(fxrng_root.brng_generation); in fxrng_vdso_sysinit()
240 *seed_generation = rng->brng_generation; in fxrng_brng_produce_seed_data_internal()
[all …]
H A Dfx_main.c215 sizeof(newkey), &rng->brng_generation); in _fxrng_alg_read()
250 *seed_version_out = rng->brng_generation; in _fxrng_alg_read()
H A Dfx_brng.h50 uint64_t brng_generation; member
H A Dfx_pool.c336 if (__predict_true(fxrng_root.brng_generation > 0)) { in fxrng_event_processor()