aboutsummaryrefslogtreecommitdiff
path: root/src/include/ipxe/efi/efi_entropy.h
AgeCommit message (Collapse)AuthorFilesLines
2018-03-20[rng] Use fixed-point calculations for min-entropy quantitiesMichael Brown1-2/+2
We currently perform various min-entropy calculations using build-time floating-point arithmetic. No floating-point code ends up in the final binary, since the results are eventually converted to integers and asserted to be compile-time constants. Though this mechanism is undoubtedly cute, it inhibits us from using "-mno-sse" to prevent the use of SSE registers by the compiler. Fix by using fixed-point arithmetic instead. Signed-off-by: Michael Brown <mcb30@ipxe.org>
2015-04-14[efi] Add EFI entropy sourceMichael Brown1-0/+35
Originally-implemented-by: Jarrod Johnson <jbjohnso@us.ibm.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>