Project

General

Profile

Actions

Bug #932

closed

Recommended minor alteration to the L15 algorithm.

Added by robin_carey5 about 16 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

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
Actions #1

Updated by dillon about 16 years ago

: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
<>
Actions #2

Updated by corecode about 16 years ago

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

Actions #3

Updated by robin_carey5 about 16 years ago

Hi Simon,

Sure I would be interested in that.
Like I said I don't have a BSD box at the moment, but
am hoping to get one soon .... I suppose I could get
an account on LEAF ?

--- Simon 'corecode' Schubert
<> wrote:


DragonFly issue tracker
<>
<https://bugs.dragonflybsd.org/issue932>


Sincerely,
R Carey.

__________________________________________________
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com
Actions #4

Updated by corecode about 16 years ago

That's very cool!

Yes, just mail Matt your dsa pubkey and he'll give you an account.

cheers
simon

Actions #5

Updated by dillon about 16 years ago

: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
&lt;&gt;
Actions

Also available in: Atom PDF