CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2016/05/17 15:05:49

Modified files:
        sys/dev        : rnd.c rndvar.h 

Log message:
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

Reply via email to