diff options
author | Martin Willi <martin@revosec.ch> | 2013-01-04 17:34:07 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2013-01-11 10:45:14 +0100 |
commit | 19ae23452aa7e9ad410f8a03f309b83df6e79227 (patch) | |
tree | 57a42dae38e5f93fbc65bfc7118977424ce3c820 /src/libstrongswan/plugins/rdrand/rdrand_plugin.c | |
parent | b9148ea232f24d2f751588aa3045a6bc98bff1f8 (diff) | |
download | strongswan-19ae23452aa7e9ad410f8a03f309b83df6e79227.tar.bz2 strongswan-19ae23452aa7e9ad410f8a03f309b83df6e79227.tar.xz |
Provide RNG_TRUE quality in rdrand by mixing reseeded outputs using AES
Diffstat (limited to 'src/libstrongswan/plugins/rdrand/rdrand_plugin.c')
-rw-r--r-- | src/libstrongswan/plugins/rdrand/rdrand_plugin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/rdrand/rdrand_plugin.c b/src/libstrongswan/plugins/rdrand/rdrand_plugin.c index 4462c5e0e..4bdfc258e 100644 --- a/src/libstrongswan/plugins/rdrand/rdrand_plugin.c +++ b/src/libstrongswan/plugins/rdrand/rdrand_plugin.c @@ -98,6 +98,8 @@ METHOD(plugin_t, get_features, int, PLUGIN_REGISTER(RNG, rdrand_rng_create), PLUGIN_PROVIDE(RNG, RNG_WEAK), PLUGIN_PROVIDE(RNG, RNG_STRONG), + PLUGIN_PROVIDE(RNG, RNG_TRUE), + PLUGIN_DEPENDS(CRYPTER, ENCR_AES_CBC, 16), }; *features = f; return countof(f); |