diff options
| author | Michael Brown | 2020-07-09 14:56:50 +0200 |
|---|---|---|
| committer | Michael Brown | 2020-07-09 14:56:50 +0200 |
| commit | fcdd9c0982e6c5a435fefdcc9444242fd4fbdd8b (patch) | |
| tree | bca63d1a2c2331c3bfffcf8c794ba218c7e8feb4 /contrib | |
| parent | [libc] Add bit-rotation functions for unsigned long values (diff) | |
| download | ipxe-fcdd9c0982e6c5a435fefdcc9444242fd4fbdd8b.tar.gz ipxe-fcdd9c0982e6c5a435fefdcc9444242fd4fbdd8b.tar.xz ipxe-fcdd9c0982e6c5a435fefdcc9444242fd4fbdd8b.zip | |
[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>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions
