Home | History | Annotate | Download | only in include
History log of /src/sys/arch/x86/include/cpu_rng.h
RevisionDateAuthorComments
 1.4  10-May-2020  maxv Reintroduce cpu_rng_early_sample(), but this time with embedded detection
for RDRAND/RDSEED, because TSC is not very strong.
 1.3  30-Apr-2020  riastradh Simplify Intel RDRAND/RDSEED and VIA C3 RNG API.

Push it all into MD x86 code to keep it simpler, until we have other
examples on other CPUs. Simplify RDSEED-to-RDRAND fallback.
Eliminate cpu_earlyrng in favour of just using entropy_extract, which
is available early now.
 1.2  21-Jul-2018  maxv More ASLR. Randomize the location of the direct map at boot time on amd64.
This doesn't need "options KASLR" and works on GENERIC. Will soon be
enabled by default.

The location of the areas is abstracted in a slotspace structure. Ideally
we should always use this structure when touching the L4 slots, instead of
the current cocktail of global variables and constants.

machdep initializes the structure with the default values, and we then
randomize its dmap entry. Ideally machdep should randomize everything at
once, but in the case of the direct map its size is determined a little
later in the boot procedure, so we're forced to randomize its location
later too.
 1.1  27-Feb-2016  tls branches: 1.1.2; 1.1.18; 1.1.20; 1.1.22;
Add cpu_rng, a framework for simple on-CPU random number generators.
 1.1.22.1  10-Jun-2019  christos Sync with HEAD
 1.1.20.1  28-Jul-2018  pgoyette Sync with HEAD
 1.1.18.2  03-Dec-2017  jdolecek update from HEAD
 1.1.18.1  27-Feb-2016  jdolecek file cpu_rng.h was added on branch tls-maxphys on 2017-12-03 11:36:50 +0000
 1.1.2.2  19-Mar-2016  skrll Sync with HEAD
 1.1.2.1  27-Feb-2016  skrll file cpu_rng.h was added on branch nick-nhusb on 2016-03-19 11:30:07 +0000

RSS XML Feed