4 ms·
In fact OpenBSD will use Chacha20 in the next version for its arc4random implementation: http://marc.info/?l=openbsd-cvs&m=138065251627052 http://marc.info/?l=o
by edwintorok 13y ago
In fact OpenBSD will use Chacha20 in the next version for its arc4random implementation: http://marc.info/?l=openbsd-cvs&m=138065251627052 http://marc.info/?l=openbsd-cvs&m=138065251627052
And I think FreeBSD might follow and switch its implementation too.
- tptacek 13y agoIts implementation of arc4random, you mean; not its /dev/random, right?
- clarry 13y agoreplace rc4 with ChaCha20 here, too; ok djm, tedu, deraadt http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/rnd.c.diff?r1=1.144;r2=1.145 http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/rnd.c.diff... http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/rnd.c http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/rnd.c
- throwaway2048 13y agoit is now both /dev/random and /dev/urandom on openbsd
- clarry 13y agoRight, there used to be a number of different random devices, including random, arandom, urandom, prandom, and srandom. Prandom was killed quite some time ago, and as of 2011 all the rest are unified. Four /dev nodes still exist for compatibility, but they all behave identical; so there's really just one random device. The principle being that there's good randomness and there's good randomness. The system does its best to provide good randomness. You can't choose the wrong device.