Recommended minor alteration to the L15 algorithm.

Matthew Dillon dillon at apollo.backplane.com
Wed Jan 30 10:53:26 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.

    Oh, also Robin if you could, again take a look at our
    /usr/src/sys/kern_nrandom.c file and tell me what lines I
    have to adjust to make the above change.

    I want to get it right and I'm just not sure which lines you
    are talking about here.

					-Matt
					Matthew Dillon 
					<dillon at backplane.com>





More information about the Bugs mailing list