diff options
author | Jack Lloyd <[email protected]> | 2017-08-03 07:31:03 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-08-03 10:37:00 -0400 |
commit | d1af646c365197de243c844d138f245d1dcac6ba (patch) | |
tree | de18e27d17c368dbcfdbe16c0d2ecdeb01ca8b06 /src/lib/rng/hmac_drbg/hmac_drbg.h | |
parent | 7edeec69f09fbed01881e93b0f45dbb038bfac73 (diff) |
Refactor stateful RNG tests to cover both HMAC_DRBG and ChaCha_RNG
Diffstat (limited to 'src/lib/rng/hmac_drbg/hmac_drbg.h')
-rw-r--r-- | src/lib/rng/hmac_drbg/hmac_drbg.h | 3 |
1 files changed, 3 insertions, 0 deletions
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); |