Files
ipxe/src/include
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
..
2014-07-29 15:20:49 +01:00
2015-03-02 16:35:37 +00:00
2005-03-08 18:53:11 +00:00
2005-03-08 18:53:11 +00:00
2015-03-02 19:42:48 +00:00
2015-03-02 16:35:37 +00:00
2005-03-08 18:53:11 +00:00
2015-03-05 00:59:38 +00:00
2005-03-08 18:53:11 +00:00
2005-03-08 18:53:11 +00:00
2007-07-14 15:42:26 +01:00
2005-03-08 18:53:11 +00:00