aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/rng/rdrand_rng/rdrand_rng.h
diff options
context:
space:
mode:
authorRenĂ© Korthaus <[email protected]>2016-10-16 17:10:34 +0200
committerRenĂ© Korthaus <[email protected]>2016-10-19 09:13:32 +0200
commita08e0160301f20e4f5d620a146a1556e0ac7c95d (patch)
tree9085c240a7032dd32b9c9e3bf4bbd676cc56ca3b /src/lib/rng/rdrand_rng/rdrand_rng.h
parentc8fc2de447cb3ef7831c0e96487d91e005a50e14 (diff)
Improve rng doxygen [ci skip]
Diffstat (limited to 'src/lib/rng/rdrand_rng/rdrand_rng.h')
-rw-r--r--src/lib/rng/rdrand_rng/rdrand_rng.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/rng/rdrand_rng/rdrand_rng.h b/src/lib/rng/rdrand_rng/rdrand_rng.h
index fcd54035b..94363b89c 100644
--- a/src/lib/rng/rdrand_rng/rdrand_rng.h
+++ b/src/lib/rng/rdrand_rng/rdrand_rng.h
@@ -45,6 +45,9 @@ class BOTAN_DLL RDRAND_RNG : public Hardware_RNG
void add_entropy(const uint8_t[], size_t) override
{ /* no op */ }
+ /*
+ * No way to reseed RDRAND generator, so reseed is ignored
+ */
size_t reseed(Entropy_Sources&, size_t, std::chrono::milliseconds) override
{ return 0; /* no op */ }