From 073f41085f0791593d96233ef617fcefe3cdacb9 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sun, 19 Feb 2012 22:14:06 +0000 Subject: [rng] Add ANS X9.82 Approved Source of Entropy Input ANS X9.82 specifies several Approved Sources of Entropy Input (SEI). One such SEI uses an entropy source as the Source of Entropy Input, condensing each entropy source output after each GetEntropy call. This can be implemented relatively cheaply in iPXE and avoids the need to allocate potentially very large buffers. (Note that the terms "entropy source" and "Source of Entropy Input" are not synonyms within the context of ANS X9.82.) Use the iPXE API mechanism to allow entropy sources to be selected at compilation time. Signed-off-by: Michael Brown --- src/config/defaults/efi.h | 1 + src/config/defaults/linux.h | 1 + src/config/defaults/pcbios.h | 1 + 3 files changed, 3 insertions(+) (limited to 'src/config/defaults') diff --git a/src/config/defaults/efi.h b/src/config/defaults/efi.h index 693f55ad9..c0bb78da9 100644 --- a/src/config/defaults/efi.h +++ b/src/config/defaults/efi.h @@ -17,6 +17,7 @@ #define SMBIOS_EFI #define SANBOOT_NULL #define BOFM_EFI +#define ENTROPY_NULL #define IMAGE_EFI /* EFI image support */ #define IMAGE_SCRIPT /* iPXE script image support */ diff --git a/src/config/defaults/linux.h b/src/config/defaults/linux.h index 647dc0a53..6b24da480 100644 --- a/src/config/defaults/linux.h +++ b/src/config/defaults/linux.h @@ -14,6 +14,7 @@ #define NAP_LINUX #define SMBIOS_LINUX #define SANBOOT_NULL +#define ENTROPY_NULL #define DRIVERS_LINUX diff --git a/src/config/defaults/pcbios.h b/src/config/defaults/pcbios.h index 59adbf785..fb44d0e16 100644 --- a/src/config/defaults/pcbios.h +++ b/src/config/defaults/pcbios.h @@ -18,6 +18,7 @@ FILE_LICENCE ( GPL2_OR_LATER ); #define UMALLOC_MEMTOP #define SMBIOS_PCBIOS #define SANBOOT_PCBIOS +#define ENTROPY_NULL #define IMAGE_ELF /* ELF image support */ #define IMAGE_MULTIBOOT /* MultiBoot image support */ -- cgit v1.2.3-55-g7522