git: padlock rng - rework

Alex Hornung alexh at crater.dragonflybsd.org
Sat Jun 18 15:24:58 PDT 2011


commit 24177c33c726131c3e9aebc744b46d345e8600fd
Author: Alex Hornung <ahornung at gmail.com>
Date:   Sat Jun 18 19:34:23 2011 +0100

    padlock rng - rework
    
     * Rework to use a custom loop so that it doesn't stall when there is no
       more entropy left to harvest.

Summary of changes:
 sys/conf/files                                     |    1 +
 sys/dev/crypto/padlock/Makefile                    |    2 +-
 sys/dev/crypto/padlock/padlock_rng.c               |   37 ++--------
 .../crypto/padlock/rng_harvest.S}                  |   70 ++++++++++++--------
 4 files changed, 51 insertions(+), 59 deletions(-)
 copy sys/{libprop/prop_stack.h => dev/crypto/padlock/rng_harvest.S} (59%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/24177c33c726131c3e9aebc744b46d345e8600fd


-- 
DragonFly BSD source repository





More information about the Commits mailing list