From d1af646c365197de243c844d138f245d1dcac6ba Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Thu, 3 Aug 2017 07:31:03 -0400 Subject: Refactor stateful RNG tests to cover both HMAC_DRBG and ChaCha_RNG --- src/lib/rng/hmac_drbg/hmac_drbg.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/lib/rng/hmac_drbg/hmac_drbg.h') diff --git a/src/lib/rng/hmac_drbg/hmac_drbg.h b/src/lib/rng/hmac_drbg/hmac_drbg.h index 1c95cb304..4d3faa082 100644 --- a/src/lib/rng/hmac_drbg/hmac_drbg.h +++ b/src/lib/rng/hmac_drbg/hmac_drbg.h @@ -143,6 +143,9 @@ class BOTAN_DLL HMAC_DRBG final : public Stateful_RNG size_t security_level() const override; + size_t max_number_of_bytes_per_request() const override + { return m_max_number_of_bytes_per_request; } + private: void update(const uint8_t input[], size_t input_len); -- cgit v1.2.3