aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/rng/chacha_rng/chacha_rng.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-08-03 07:31:03 -0400
committerJack Lloyd <[email protected]>2017-08-03 10:37:00 -0400
commitd1af646c365197de243c844d138f245d1dcac6ba (patch)
treede18e27d17c368dbcfdbe16c0d2ecdeb01ca8b06 /src/lib/rng/chacha_rng/chacha_rng.h
parent7edeec69f09fbed01881e93b0f45dbb038bfac73 (diff)
Refactor stateful RNG tests to cover both HMAC_DRBG and ChaCha_RNG
Diffstat (limited to 'src/lib/rng/chacha_rng/chacha_rng.h')
-rw-r--r--src/lib/rng/chacha_rng/chacha_rng.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/rng/chacha_rng/chacha_rng.h b/src/lib/rng/chacha_rng/chacha_rng.h
index b6a763f62..7deaa2d89 100644
--- a/src/lib/rng/chacha_rng/chacha_rng.h
+++ b/src/lib/rng/chacha_rng/chacha_rng.h
@@ -115,6 +115,8 @@ class BOTAN_DLL ChaCha_RNG final : public Stateful_RNG
size_t security_level() const override;
+ size_t max_number_of_bytes_per_request() const override { return 0; }
+
private:
void update(const uint8_t input[], size_t input_len);