david/ipxe
Archived
1
0
This repository has been archived on 2020-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
ipxe/src
Michael Brown 7ca801d637 [efi] Use the EFI_RNG_PROTOCOL as an entropy source if available
Entropy gathering via timer ticks is slow under UEFI (of the order of
20-30 seconds on some machines).  Use the EFI_RNG_PROTOCOL if
available, to speed up the process of entropy gathering.

Note that some implementations (including EDK2) will fail if we
request fewer than 32 random bytes at a time, and that the RNG
protocol provides no guarantees about the amount of entropy provided
by a call to GetRNG().  We take the (hopefully pessimistic) view that
a 32-byte block returned by GetRNG() will contain at least the 1.3
bits of entropy claimed by min_entropy_per_sample().

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2015-04-14 17:53:13 +01:00
..
arch [efi] Use the EFI_RNG_PROTOCOL as an entropy source if available 2015-04-14 17:53:13 +01:00
bin Rename .cvsignore files to .gitignore 2007-06-09 22:57:00 +01:00
config [efi] Add EFI time source 2015-04-14 11:55:08 +01:00
core [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-05 11:40:13 +00:00
crypto [crypto] Add SHA-512/224 algorithm 2015-04-12 17:02:11 +01:00
doc [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
drivers [efi] Poll for TX completions only when there is an outstanding TX buffer 2015-04-14 17:02:00 +01:00
hci [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-05 11:40:13 +00:00
image [legal] Relicense files under GPL2_OR_LATER_OR_UBDL 2015-03-02 16:35:29 +00:00
include [efi] Use the EFI_RNG_PROTOCOL as an entropy source if available 2015-04-14 17:53:13 +01:00
interface [efi] Add EFI time source 2015-04-14 11:55:08 +01:00
libgcc [build] Mark __intel_new_proc_init with __libgcc rather than cdecl 2009-08-03 15:56:10 +01:00
net [peerdist] Add support for decoding PeerDist Content Information 2015-04-13 12:26:05 +01:00
tests [peerdist] Add support for decoding PeerDist Content Information 2015-04-13 12:26:05 +01:00
usr [autoboot] Match against parent devices when matching by bus type and location 2015-03-17 02:30:06 +00:00
util [util] Add ability to dump PCI device ID list 2015-04-13 16:22:35 +01:00
.gitignore [build] Add support for local configuration files 2010-03-26 19:07:22 +00:00
doxygen.cfg [build] Remove PACKED macro 2010-05-29 23:49:47 +01:00
Makefile [usb] Add basic support for USB hubs 2015-02-03 12:19:52 +00:00
Makefile.housekeeping [build] Remove obsolete and unused portions of config.c 2015-03-04 14:49:43 +00:00