summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2008-07-21 21:57:30 +0000
committerache <ache@FreeBSD.org>2008-07-21 21:57:30 +0000
commitc65a53e7022c74b7a49ad2ece2d40b552dee6201 (patch)
treeefbd48a1a9ddc4f9754556ac9041c589ad69bb8b /Makefile
parent52a393acadb5f26325eb0916c7e62876f726d8c4 (diff)
downloadFreeBSD-src-c65a53e7022c74b7a49ad2ece2d40b552dee6201.zip
FreeBSD-src-c65a53e7022c74b7a49ad2ece2d40b552dee6201.tar.gz
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
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud