commit | fcdd9c0982e6c5a435fefdcc9444242fd4fbdd8b | [log] [tgz] |
---|---|---|
author | Michael Brown <mcb30@ipxe.org> | Thu Jul 09 13:56:50 2020 +0100 |
committer | Michael Brown <mcb30@ipxe.org> | Thu Jul 09 13:56:50 2020 +0100 |
tree | bca63d1a2c2331c3bfffcf8c794ba218c7e8feb4 | |
parent | f7ddda435cf0d116098351986f89517e3d88af13 [diff] |
[efi] Distribute available entropy within stack cookie Several of the values used to compute a stack cookie (in the absence of a viable entropy source) will tend to have either all-zeroes or all-ones in the higher order bits. Rotate the values in order to distribute the (minimal) available entropy more evenly. Suggested-by: Pete Beck <pete.beck@ioactive.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>