freebsd-dev/stand/efi
Colin Percival 5c73b3e0a3 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)
MFC after:	3 weeks
Differential Revision:	https://reviews.freebsd.org/D20780
2022-02-17 13:01:11 -08:00
..
boot1 stand/efi: Pass --no-dynamic-linker to ld.bfd >= 2.34. 2022-02-02 12:18:43 -08:00
fdt EFI secure boot VECTX related changes 2021-04-30 12:53:45 -05:00
gptboot gptboot.efi: Add man page 2021-04-05 23:57:57 -06:00
include Add support for getting early entropy from UEFI 2022-02-17 13:01:11 -08:00
libefi efi: switch boot_services_gone to boot_services_active 2021-11-04 10:07:54 -06:00
loader Add support for getting early entropy from UEFI 2022-02-17 13:01:11 -08:00
loader_4th Create a loader for each interpreter for x86 BIOS and all EFI 2018-08-14 18:44:41 +00:00
loader_lua Create a loader for each interpreter for x86 BIOS and all EFI 2018-08-14 18:44:41 +00:00
loader_simp Create a loader for each interpreter for x86 BIOS and all EFI 2018-08-14 18:44:41 +00:00
Makefile stand: properly declare subdir deps or .WAIT, do parallel build 2020-12-31 11:15:45 -06:00
Makefile.inc Hoist EFI_TARGET and SOURCE_DATE_EPOCH up into efi/Makefile.inc 2018-07-20 05:18:03 +00:00