Bug #932
Recommended minor alteration to the L15 algorithm.
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - |
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:
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
Related todos
History
Updated by dillon over 5 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
<dillon@backplane.com>
Updated by corecode over 5 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
Updated by robin_carey5 over 5 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
<bugs@lists.dragonflybsd.org> wrote:
_____________________________________________________
> DragonFly issue tracker
> <bugs@lists.dragonflybsd.org>
> <https://bugs.dragonflybsd.org/issue932>
>
_____________________________________________________
>
Sincerely,
R Carey.
__________________________________________________________
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com
Updated by corecode over 5 years ago
That's very cool!
Yes, just mail Matt your dsa pubkey and he'll give you an account.
cheers
simon
Updated by dillon over 5 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
<dillon@backplane.com>