diff options
author | lloyd <[email protected]> | 2008-04-21 14:53:38 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-04-21 14:53:38 +0000 |
commit | 272a8523e3c19e1c297b335a316a335db6c7128d (patch) | |
tree | fe6d1114195ab16b16c6d3a90698b24fa7f63fb4 | |
parent | 81edcee29ae2daabb385b41a5518e69ec1a8043b (diff) |
Update Fixed_Output_RNG (used for testing) to implement is_seeded
-rw-r--r-- | checks/pk.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/checks/pk.cpp b/checks/pk.cpp index f2c2401fd..478b57270 100644 --- a/checks/pk.cpp +++ b/checks/pk.cpp @@ -37,6 +37,8 @@ static BigInt to_bigint(const std::string& h) class Fixed_Output_RNG : public RandomNumberGenerator { public: + bool is_seeded() const { return true; } + byte random() { if(position < output.size()) |