bin/61126: libc arc4random does not discard first N words
(libkern arc4random does)
David Schultz
das at FreeBSD.org
Mon Jan 19 20:23:04 PST 2004
Synopsis: libc arc4random does not discard first N words (libkern arc4random does)
State-Changed-From-To: open->closed
State-Changed-By: das
State-Changed-When: Mon Jan 19 20:22:05 PST 2004
State-Changed-Why:
Committed, thanks! I changed the code to call arc4_getbyte() instead
of arc4_getword() because doing so generated better code. (Both
functions are inlined, and the latter is larger.) I also documented
the rationale behind the choice of 1024 bytes.
http://www.freebsd.org/cgi/query-pr.cgi?pr=61126
More information about the freebsd-bugs
mailing list