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
Differential Revision
D22482: random(4): Abstract loader entropy injection
Parents
rS355017: random(4): Remove unused definitions
Branches
Unknown
Tags
Unknown