Home | History | Annotate | Download | only in rumpkern
History log of /src/sys/rump/librump/rumpkern/hyperentropy.c
RevisionDateAuthorComments
 1.17  30-Apr-2020  riastradh No need for a lock around rnd_add_data any more.
 1.16  30-Apr-2020  riastradh rnd_attach_source calls the callback itself now.

No need for every driver to explicitly call it to prime the pool.

Eliminate now-unused <sys/rndpool.h>.
 1.15  21-May-2016  riastradh Actually get as many bytes as requested from rumpuser_random.

rumpuser_random is limited to 32 bytes at a time -- which would be
reasonable, except that there are too many buffers in the way between
entropy sources and users of the entropy pool.

Partial fix for PR kern/51135.
 1.14  17-Feb-2016  riastradh Need <sys/mutex.h> for mutex(9).
 1.13  17-Feb-2016  riastradh Caller must have exclusive access to rndsource for rnd_add_data(_sync).
 1.12  17-Feb-2016  riastradh Make hyperentropy rndsource work synchronously, again.

This time for real! *crosses fingers*
 1.11  26-Jan-2016  pooka Put the kernelside rump kernel headers into <rump-sys> instead of
sprinkling them around the faction directories. Avoids having
to add a CPPFLAGS (or several) to pretty much every component
Makefile.

Leave compat headers around in the old locations.

The commit changes some autogenerated files, but I'll fix the
generators shortly and regen.
 1.10  21-Apr-2015  riastradh Revert previous -- a little too quick on the commit trigger.

Ran some tests but not enough. There is a deadlock against myself:

rndsink_request acquires rndsinks_lock
-> rnd_getmore
-> hyperentropy feedrandom (or any other rndsource callback)
-> rnd_add_data
-> rndsinks_distribute acquires rndsinks_lock

Need to break this cycle before rndsource callbacks can invoke
rnd_add_data.
 1.9  21-Apr-2015  riastradh Restore simplicity of rump hyperentropy `hardware RNG'.
 1.8  13-Apr-2015  riastradh Convert remaining MI <sys/rnd.h> stragglers. Many MD ones left.
 1.7  15-Aug-2014  riastradh branches: 1.7.2; 1.7.4;
<sys/param.h> comes first, per /usr/share/misc/style.
 1.6  15-Aug-2014  justin Fix header ordering
 1.5  15-Aug-2014  justin add sys/atomic.h and order headers correctly
 1.4  15-Aug-2014  riastradh Call rnd_add_data asynchronously for the rump hyperentropy callback.

Avoids recursion rnd_getmore -> rnd_add_data -> rnd_getmore, which is
silly but I don't have time to fix it properly right now.
 1.3  10-Aug-2014  tls branches: 1.3.2;
Merge tls-earlyentropy branch into HEAD.
 1.2  17-Jan-2014  pooka branches: 1.2.2; 1.2.4; 1.2.6;
don't use temp buffer from the stack, fix the constants
 1.1  17-Jan-2014  pooka Use subr_cprng.c instead of stub implementation. Rijndael migrates from
rumpkern_crypto to rumpkern due to it being mandatory for cprng.
 1.2.6.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2.6.1  17-Jan-2014  yamt file hyperentropy.c was added on branch yamt-pagecache on 2014-05-22 11:41:15 +0000
 1.2.4.2  18-May-2014  rmind sync with head
 1.2.4.1  17-Jan-2014  rmind file hyperentropy.c was added on branch rmind-smpnet on 2014-05-18 17:46:18 +0000
 1.2.2.1  07-Apr-2014  tls Be a little more clear and consistent about harvesting entropy from devices:

1) deprecate RND_FLAG_NO_ESTIMATE

2) define RND_FLAG_COLLECT_TIME, RND_FLAG_COLLECT_VALUE

3) define RND_FLAG_ESTIMATE_TIME, RND_FLAG_ESTIMATE_VALUE

4) define RND_FLAG_DEFAULT: RND_FLAG_COLLECT_TIME|
RND_FLAG_COLLECT_VALUE|RND_FLAG_ESTIMATE_TIME

5) Make entropy harvesting from environmental sensors a little more generic
and remove it from individual sensor drivers.

6) Remove individual open-coded delta-estimators for values from a few
places in the tree (uvm, environmental drivers).

7) 0 -> RND_FLAG_DEFAULT, actually gather entropy from various drivers
that had stubbed out code, other minor cleanups.
 1.3.2.1  18-Aug-2014  martin Pull up following revision(s) (requested by riastradh in ticket #35):
sys/rump/librump/rumpkern/hyperentropy.c: revision 1.6
sys/rump/librump/rumpkern/hyperentropy.c: revision 1.7
sys/rump/librump/rumpkern/hyperentropy.c: revision 1.4
sys/rump/librump/rumpkern/hyperentropy.c: revision 1.5
Call rnd_add_data asynchronously for the rump hyperentropy callback.
Avoids recursion rnd_getmore -> rnd_add_data -> rnd_getmore, which is
silly but I don't have time to fix it properly right now.
add sys/atomic.h and order headers correctly
Fix header ordering
<sys/param.h> comes first, per /usr/share/misc/style.
 1.7.4.3  29-May-2016  skrll Sync with HEAD
 1.7.4.2  19-Mar-2016  skrll Sync with HEAD
 1.7.4.1  06-Jun-2015  skrll Sync with HEAD
 1.7.2.3  03-Dec-2017  jdolecek update from HEAD
 1.7.2.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.2.1  15-Aug-2014  tls file hyperentropy.c was added on branch tls-maxphys on 2014-08-20 00:04:40 +0000

RSS XML Feed