Searched refs:brng_rng (Results 1 - 3 of 3) sorted by relevance
/freebsd-13-stable/sys/dev/random/fenestrasX/ |
H A D | fx_brng.h | 44 struct fxrng_basic_rng brng_rng; member in struct:fxrng_buffered_rng 45 #define FXRNG_BRNG_LOCK(brng) mtx_lock(&(brng)->brng_rng.rng_lk) 46 #define FXRNG_BRNG_UNLOCK(brng) mtx_unlock(&(brng)->brng_rng.rng_lk) 47 #define FXRNG_BRNG_ASSERT(brng) mtx_assert(&(brng)->brng_rng.rng_lk, MA_OWNED) 49 mtx_assert(&(brng)->brng_rng.rng_lk, MA_NOTOWNED)
|
H A D | fx_brng.c | 67 fxrng_rng_init(&rng->brng_rng, rng == &fxrng_root); 100 fxrng_rng_src_reseed(&rng->brng_rng, event); 130 fxrng_rng_reseed(&rng->brng_rng, (rng->brng_generation > 0), entr, sz); 206 fxrng_rng_genrandom_internal(&rng->brng_rng, rng->brng_buffer, 219 fxrng_rng_genrandom_internal(&rng->brng_rng, buf, nbytes, true); 293 fxrng_rng_setkey(&rng->brng_rng, newkey, sizeof(newkey));
|
H A D | fx_main.c | 221 fxrng_rng_setkey(&rng->brng_rng, newkey, sizeof(newkey));
|
Completed in 53 milliseconds