Recommended minor alteration to the L15 algorithm.
Matthew Dillon
dillon at apollo.backplane.com
Sun Jan 27 16:04:44 PST 2008
:Recommended minor alteration to the L15 algorithm in
:DragonFly's /dev/[u]random random number generator:
:
:I recommend that you alter your C implementation of my
:L15 algorithm as per the description:
:
:http://www.leopard.uk.com
:
:So that the "y" state index is initialised to be
:(stateSize - 1)/255 instead of 0.
:
:"y" as in "x", "z".
:
:Sincerely,
:R Carey.
Hey Robin, I'm not exactly sure where the fix goes in but I think I
can figure it out if you point me at the particular line you made
the change to in your original C++ version of the code (and post the
URL to the source file as well).
-Matt
Matthew Dillon
<dillon at backplane.com>
More information about the Bugs
mailing list