Date: Thu, 14 Aug 2003 23:34:47 -0700 (PDT) From: Mike Silbersack <silby@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/libkern arc4random.c Message-ID: <200308150634.h7F6Ylxw022089@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
silby 2003/08/14 23:34:47 PDT
FreeBSD src repository
Modified files:
sys/libkern arc4random.c
Log:
Lock down arc4random so it can be safely called w/o Giant.
Minor code reorganization was required, but the only functional
change was that the first 1024 bytes of output are thrown out
after each reseed, rather than just the initial seed.
Revision Changes Path
1.12 +26 -17 src/sys/libkern/arc4random.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308150634.h7F6Ylxw022089>
