]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Upgrade the random device to use a "real" hash instead of building
authorMark Murray <markm@FreeBSD.org>
Mon, 15 Jul 2002 13:58:35 +0000 (13:58 +0000)
committerMark Murray <markm@FreeBSD.org>
Mon, 15 Jul 2002 13:58:35 +0000 (13:58 +0000)
commitbbf09ad887f1ebc18052ee12f5074c05d69a4e46
treefb7e9c3d811aeb44859d7b6f68ad78e9fda5e601
parentd56fb9ceb03aa4f84769867422a3d544e99b6073
Upgrade the random device to use a "real" hash instead of building
one out of a block cipher. This has 2 advantages:
1) The code is _much_ simpler
2) We aren't committing our security to one algorithm (much as we
   may think we trust AES).

While I'm here, make an explicit reseed do a slow reseed instead
of a fast; this is in line with what the original paper suggested.
sys/conf/files
sys/dev/random/hash.c
sys/dev/random/hash.h
sys/dev/random/yarrow.c
sys/modules/random/Makefile