git: csprng - If not enough entropy is available, sleep

Alex Hornung alexh at crater.dragonflybsd.org
Thu Jul 24 11:43:34 PDT 2014


commit af641625647f012627fb7e69ee67ebb4bbb6321a
Author: Alex Hornung <alex at alexhornung.com>
Date:   Thu Jul 24 20:41:03 2014 +0100

    csprng - If not enough entropy is available, sleep
    
     * If no reseed has happened yet, or if we were unsuccessful in
       reseeding the prng, sleep and try again whenever a reseed
       occurred or entropy has been added to the pools.
    
    Reported-by: YONETANI

Summary of changes:
 sys/kern/subr_csprng.c | 27 +++++++++++++++++++++++++--
 1 file changed, 25 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/af641625647f012627fb7e69ee67ebb4bbb6321a


-- 
DragonFly BSD source repository



More information about the Commits mailing list