• Poul-Henning Kamp's avatar
    Adopt the guts of FreeBSD's random(3) implementation for a "testable" · a9b04493
    Poul-Henning Kamp authored
    random bit supply.
    
    Initialize all usual random sources (random(3), rand48(3) and
    VRND_RandomTestable[Double]() with kernel entropy on startup.
    
    Use VRND_RandomCrypto() (= /dev/urandom) for security relevant tasks.
    
    Make the director.random and std.random use VRND_RandomTestable(),
    add suitable references and warnings in their docs.
    
    Fix the two testcases which need a testable random generator.
    a9b04493
Name
Last commit
Last update
..
Makefile.am Loading commit data...
Makefile.phk Loading commit data...
flint.sh Loading commit data...
vmod.vcc Loading commit data...
vmod_std.c Loading commit data...
vmod_std_conversions.c Loading commit data...
vmod_std_fileread.c Loading commit data...
vmod_std_querysort.c Loading commit data...