Andrey A. Chernov a08f5d95ec 1) Use __packed attr on rdat structure to make it exact 128 bytes.
2) Use gettimeofday() and getpid() only if reading from /dev/urandom
fails or impossible.
3) Discard N bytes on very first initialization only (i.e. don't
discard on re-stir).
4) Reduce N from 1024 to 512 as really suggested in the
"(Not So) Random Shuffles of RC4" paper:
http://research.microsoft.com/users/mironov/papers/rc4full.pdf
2008-07-21 21:57:30 +00:00
..
2008-02-18 03:19:25 +00:00
2007-06-03 17:20:27 +00:00
2008-02-18 03:19:25 +00:00
2008-04-10 00:12:44 +00:00
2008-03-26 07:32:08 +00:00