HomeFreeBSD

random(4): Abstract loader entropy injection

Description

random(4): Abstract loader entropy injection

Break random_harvestq_prime up into some logical subroutines. The goal
is that it becomes easier to add other early entropy sources.

While here, drop pre-12.0 compatibility logic. loader default configuration
should preload the file as expeced since 12.0.

Approved by: csprng(delphij, markm)
Differential Revision: https://reviews.freebsd.org/D22482

Details

Provenance
cemAuthored on Nov 22 2019, 8:20 PM
Parents
rG92ebf15da5c4: random(4): Remove unused definitions
Branches
Unknown
Tags
Unknown