aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/rng/stateful_rng
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-09-04 19:29:59 -0400
committerJack Lloyd <[email protected]>2018-09-06 11:24:16 -0400
commit8cbe5195b2ea82bf7a58f1a3b8afcc8c53a7537b (patch)
treee24dba4d3e8df8024b8ffffc797d2d15c0908f76 /src/lib/rng/stateful_rng
parent992d2803181b34415c25e013a40ab935eb71a9e3 (diff)
Add RandomNumberGenerator::accepts_input
Diffstat (limited to 'src/lib/rng/stateful_rng')
-rw-r--r--src/lib/rng/stateful_rng/stateful_rng.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/rng/stateful_rng/stateful_rng.h b/src/lib/rng/stateful_rng/stateful_rng.h
index 18697ae23..9bf04327a 100644
--- a/src/lib/rng/stateful_rng/stateful_rng.h
+++ b/src/lib/rng/stateful_rng/stateful_rng.h
@@ -75,6 +75,8 @@ class BOTAN_PUBLIC_API(2,0) Stateful_RNG : public RandomNumberGenerator
bool is_seeded() const override final;
+ bool accepts_input() const override final { return true; }
+
/**
* Mark state as requiring a reseed on next use
*/