DragonFly bugs List (threaded) for 2008-01
DragonFly BSD
DragonFly bugs List (threaded) for 2008-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Recommended minor alteration to the L15 algorithm.


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 30 Jan 2008 10:52:54 -0800 (PST)

: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@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]