• S
    crypto: drbg - add async seeding operation · 4c787990
    Stephan Mueller 提交于
    The async seeding operation is triggered during initalization right
    after the first non-blocking seeding is completed. As required by the
    asynchronous operation of random.c, a callback function is provided that
    is triggered by random.c once entropy is available. That callback
    function performs the actual seeding of the DRBG.
    
    CC: Andreas Steffen <andreas.steffen@strongswan.org>
    CC: Theodore Ts'o <tytso@mit.edu>
    CC: Sandy Harris <sandyinchina@gmail.com>
    Signed-off-by: NStephan Mueller <smueller@chronox.de>
    Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
    4c787990
drbg.c 54.3 KB