[DragonFlyBSD - Bug #2677] L15 Update

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Wed Jun 11 15:39:27 PDT 2014

Issue #2677 has been updated by dillon.

Robin, could I get a diff of the two sets of changes you've made since our original incorporation?  I can't tell what changed from looking at the C++ code vs my recollection of the code many months ago, and I don't have an old copy.

My thoughts on read_random() is to not put the warm-up there because it makes the performance of the read() path non-deterministic.  Instead, we could put the warm-up after the interrupt re-seeding (that runs once a second), where the overhead is not critical.


Bug #2677: L15 Update

* Author: robin.carey1
* Status: New
* Priority: High
* Assignee: 
* Category: 
* Target version: 3.9.x
Dear DragonFlyBSD bugs,

Today I updated the L15 algorithm, available from:


The update is to the KSA (Key Scheduling Algorithm).

Perhaps DragonFlyBSD should consider updating their version,
as used for /dev/urandom ?


Also, I posted a bug report (some months ago now, I suspect),
which had to do with IBAA (as used for /dev/random), and specifically
relating to warming up the CSPRNG just before output in:


As opposed to doing the warm-up after seeding the CSPRNG,
which unless I am mistaken, is what DragonFlyBSD does at the

I think there might also be one other update to L15 which I
mentioned on bugs at dragonflybsd.org quite a while ago, which
I don't think was met with a response. That was to do with the
STATEINDEX_CARRY change that I made to L15.


In any case I am always happy to discuss these issues by E-mail ...

PS Good luck with the new 3.8.0 Release !!


Robin Carey BSc

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

More information about the Bugs mailing list