Bug #932
closed
Recommended minor alteration to the L15 algorithm.
Added by robin_carey5 almost 17 years ago.
Updated over 16 years ago.
Description
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".
PS I have another pending bug report RE a possible
weakness in IBAA-/dev/random. At the moment I don't
have a BSD box to run any tests, but I hope to have
one relatively soon, so when I get that I will install
the next release of DragonFly due out February/March
and run some tests myself.
Sincerely,
R Carey.
__________________________________________________
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com
: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@backplane.com>
I'd be delighted if Robin would be interested in "taking care" of the
cryptographic/PRNG part of our code base. I for myself don't have any
experience with these algorithms and it would be for sure a cool thing to
have somebody with us who is really interested in that stuff. So Robin,
if you are interested, please speak up, this would be a marvelous thing.
cheers
simon
That's very cool!
Yes, just mail Matt your dsa pubkey and he'll give you an account.
cheers
simon
: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>
Also available in: Atom
PDF