diff options
author | Martin Willi <martin@revosec.ch> | 2013-01-04 16:07:31 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2013-01-11 10:45:14 +0100 |
commit | b9148ea232f24d2f751588aa3045a6bc98bff1f8 (patch) | |
tree | baf4968a6a7dc3f157b67a6d7b09d7328229f8e0 /src/libstrongswan/plugins/rdrand/rdrand_plugin.c | |
parent | 9fe24b004d6d1a64d0e2f106d39cf7a8fbd3179d (diff) | |
download | strongswan-b9148ea232f24d2f751588aa3045a6bc98bff1f8.tar.bz2 strongswan-b9148ea232f24d2f751588aa3045a6bc98bff1f8.tar.xz |
Provide RNG_STRONG quality in rdrand by forcing PRNG reseed after every sample
Diffstat (limited to 'src/libstrongswan/plugins/rdrand/rdrand_plugin.c')
-rw-r--r-- | src/libstrongswan/plugins/rdrand/rdrand_plugin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/rdrand/rdrand_plugin.c b/src/libstrongswan/plugins/rdrand/rdrand_plugin.c index fc9c6202d..4462c5e0e 100644 --- a/src/libstrongswan/plugins/rdrand/rdrand_plugin.c +++ b/src/libstrongswan/plugins/rdrand/rdrand_plugin.c @@ -97,6 +97,7 @@ METHOD(plugin_t, get_features, int, static plugin_feature_t f[] = { PLUGIN_REGISTER(RNG, rdrand_rng_create), PLUGIN_PROVIDE(RNG, RNG_WEAK), + PLUGIN_PROVIDE(RNG, RNG_STRONG), }; *features = f; return countof(f); |