opnsense-src/sys/dev/random
Colin Percival de4045353b Add support for getting early entropy from UEFI
UEFI provides a protocol for accessing randomness. This is a good way
to gather early entropy, especially when there's no driver for the RNG
on the platform (as is the case on the Marvell Armada8k (MACCHIATObin)
for now).

If the entropy_efi_seed option is enabled in loader.conf (default: YES)
obtain 2048 bytes of entropy from UEFI and pass is to the kernel as a
"module" of name "efi_rng_seed" and type "boot_entropy_platform"; if
present, ingest it into the kernel RNG.

Submitted by:	Greg V
Reviewed by:	markm, kevans
Approved by:	csprng (markm), re (delphij)
Differential Revision:	https://reviews.freebsd.org/D20780
2022-03-14 14:26:33 -07:00
..
fenestrasX random(4) FenestrasX: Push root seed version to arc4random(3) 2020-10-10 21:52:00 +00:00
build.sh
darn.c
fortuna.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (18 of many) 2020-02-27 13:12:14 +00:00
fortuna.h
hash.c random(4): Flip default Fortuna generator over to Chacha20 2019-12-20 21:11:00 +00:00
hash.h
ivy.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (18 of many) 2020-02-27 13:12:14 +00:00
nehemiah.c nehemiah: manually assemble xstore(-rng) 2021-10-28 03:35:54 +03:00
other_algorithm.c random(4): Simplify RANDOM_LOADABLE 2019-12-26 19:32:11 +00:00
other_algorithm.h
random_harvestq.c Add support for getting early entropy from UEFI 2022-03-14 14:26:33 -07:00
random_harvestq.h
random_infra.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (18 of many) 2020-02-27 13:12:14 +00:00
randomdev.c randomdev: Remove 100 ms sleep from write routine 2021-12-05 10:27:01 -08:00
randomdev.h random(4): Simplify RANDOM_LOADABLE 2019-12-26 19:32:11 +00:00
uint128.h
unit_test.c
unit_test.h