CVSROOT:        /cvs
Module name:    src
Changes by:     dera...@cvs.openbsd.org 2020/05/15 07:48:57

Modified files:
        sys/dev        : rnd.c 

Log message:
The main comment block from 1996 has become highly inaccurate and
misleading, so rewrite it.

The interesting parts are bootblock-seeding from file + hwrng,
arc4random() being available incredibly early, and seperate timeouts
to pull entropy data forward into a stir of the chacha state (one for
entropy ring crc whitening into a buffer, the 2nd for buffer folding
into the chacha)

Now that it is better documented, I can try to improve each component.

Reply via email to