Home
last modified time | relevance | path

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

/freebsd/sys/dev/random/fenestrasX/
H A Dfx_brng.c64 fxrng_rng_init(&rng->brng_rng, rng == &fxrng_root); in fxrng_brng_init()
93 rng = &fxrng_root; in fxrng_brng_src_reseed()
124 rng = &fxrng_root; in fxrng_brng_reseed()
146 FXRNG_BRNG_LOCK(&fxrng_root); in fxrng_vdso_sysinit()
147 fxrng_push_seed_generation(fxrng_root.brng_generation); in fxrng_vdso_sysinit()
148 FXRNG_BRNG_UNLOCK(&fxrng_root); in fxrng_vdso_sysinit()
262 ASSERT(rng != &fxrng_root, "root rng inconsistent seed version"); in fxrng_brng_read()
271 FXRNG_BRNG_LOCK(&fxrng_root); in fxrng_brng_read()
280 FXRNG_BRNG_UNLOCK(&fxrng_root); in fxrng_brng_read()
284 fxrng_brng_produce_seed_data_internal(&fxrng_root, newkey, in fxrng_brng_read()
[all …]
H A Dfx_main.c128 struct fxrng_buffered_rng fxrng_root; variable
194 rng = &fxrng_root; in _fxrng_alg_read()
208 FXRNG_BRNG_LOCK(&fxrng_root); in _fxrng_alg_read()
214 fxrng_brng_produce_seed_data_internal(&fxrng_root, newkey, in _fxrng_alg_read()
216 FXRNG_BRNG_ASSERT_NOT(&fxrng_root); in _fxrng_alg_read()
279 fxrng_brng_init(&fxrng_root); in fxrng_init_alg()
H A Dfx_pool.c335 FXRNG_BRNG_LOCK(&fxrng_root); in fxrng_event_processor()
336 if (__predict_true(fxrng_root.brng_generation > 0)) { in fxrng_event_processor()
340 FXRNG_BRNG_ASSERT_NOT(&fxrng_root); in fxrng_event_processor()
349 FXRNG_BRNG_UNLOCK(&fxrng_root); in fxrng_event_processor()
H A Dfx_priv.h46 extern struct fxrng_buffered_rng fxrng_root;