DragonFly-2.3.0.625.gafca65 master lib/libc/gen Makefile.inc arc4random.3 arc4random.c

Peter Avalos pavalos at crater.dragonflybsd.org
Tue Apr 7 00:13:37 PDT 2009


commit afca6579b229cd136847453773b3c121cc46cd05
Author: Peter Avalos <pavalos at theshell.com>
Date:   Fri Feb 13 01:15:48 2009 -0500

    Sync arc4random with FreeBSD:
    
    * Add locking.
    
    * Automatically re-stir
    
    * Implement _buf() and _uniform() functions.
    
    * Eliminate the arc4_stream arg since there's only 1 that's possible.

Summary of changes:
 lib/libc/gen/Makefile.inc |    3 +-
 lib/libc/gen/arc4random.3 |   41 ++++++--
 lib/libc/gen/arc4random.c |  256 +++++++++++++++++++++++++++++++++------------
 3 files changed, 225 insertions(+), 75 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list