Date: Mon, 19 Jan 2004 20:23:03 -0800 (PST) From: David Schultz <das@FreeBSD.org> To: jeffi@rcn.com, das@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/61126: libc arc4random does not discard first N words (libkern arc4random does) Message-ID: <200401200423.i0K4N3Hs046472@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401200423.i0K4N3Hs046472>