diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2016-05-17 21:05:50 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2016-05-17 21:05:50 +0000 |
commit | e51d0f8eaab5b95a9c2ba99f5bfa0f7445b3f410 (patch) | |
tree | 6bdefe4e8b46600b46d3a26c55e7f9db1929d888 /sys/arch/armv7/stand/efiboot/efiboot.h | |
parent | a97148f90342a3df8655cdc33dcb2e399e2f5de0 (diff) |
Change the random event buffer from a queue to an endless ring. This way
we don't drop any events when the queue is full. They are instead mixed
into previous events.
The mixing function selected is addition instead of xor to reduce the
possibility that new values effectively erase existing ones.
Convert some types to u_int to ensure defined overflow.
ok deraadt djm
Diffstat (limited to 'sys/arch/armv7/stand/efiboot/efiboot.h')
0 files changed, 0 insertions, 0 deletions