summaryrefslogtreecommitdiffstats
path: root/src/config/defaults
diff options
context:
space:
mode:
authorMichael Brown2012-02-19 23:14:06 +0100
committerMichael Brown2012-02-21 13:42:38 +0100
commit073f41085f0791593d96233ef617fcefe3cdacb9 (patch)
treeba9794f51055b9d1b82f34d1fa204cc9af2b1957 /src/config/defaults
parent[rng] Record validity within DRBG state (diff)
downloadipxe-073f41085f0791593d96233ef617fcefe3cdacb9.tar.gz
ipxe-073f41085f0791593d96233ef617fcefe3cdacb9.tar.xz
ipxe-073f41085f0791593d96233ef617fcefe3cdacb9.zip
[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 <mcb30@ipxe.org>
Diffstat (limited to 'src/config/defaults')
-rw-r--r--src/config/defaults/efi.h1
-rw-r--r--src/config/defaults/linux.h1
-rw-r--r--src/config/defaults/pcbios.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/config/defaults/efi.h b/src/config/defaults/efi.h
index 693f55ad..c0bb78da 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 647dc0a5..6b24da48 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 59adbf78..fb44d0e1 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 */