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.

(cherry picked from commit f19de0a945386bb941d3c0fd0e24790570d145ca)

Details

Provenance
cemAuthored on Nov 22 2019, 8:20 PM
obrienCommitted on Feb 15 2022, 2:49 AM
Parents
rG1cd2ce04ea5d: random(4): Remove unused definitions
Branches
Unknown
Tags
Unknown