• 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
..
libvarnish Loading commit data...
libvarnishapi Loading commit data...
libvarnishcompat Loading commit data...
libvcc Loading commit data...
libvgz Loading commit data...
libvmod_debug Loading commit data...
libvmod_directors Loading commit data...
libvmod_std Loading commit data...
Makefile.am Loading commit data...
Makefile.phk Loading commit data...