]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Lock down arc4random so it can be safely called w/o Giant.
authorMike Silbersack <silby@FreeBSD.org>
Fri, 15 Aug 2003 06:34:47 +0000 (06:34 +0000)
committerMike Silbersack <silby@FreeBSD.org>
Fri, 15 Aug 2003 06:34:47 +0000 (06:34 +0000)
commit2f823fa326f4b593bb8b9e74606e70a864c25426
treeeb24e97f727ccfcd32f9b5de4b17cff819f60ca5
parent92aa3b6885808c160ccbc4ad0ee6f3e6668c0964
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.
sys/libkern/arc4random.c