diff options
author | Jack Lloyd <[email protected]> | 2015-09-22 11:48:32 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2015-09-22 11:48:32 -0400 |
commit | ac9689990da914cd58788dab9d5e0d7bebb72e30 (patch) | |
tree | 5353ffefb5a39b51b3779f4014d76e44761fc5ba /src/lib/rng/hmac_drbg/hmac_drbg.h | |
parent | ff7e648c4ca979f740424997decba98a64d9e442 (diff) |
Add HMAC_DRBG constructor taking a name for the MAC instead of an obj
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 2fefdef0d..c9d0e3d20 100644 --- a/src/lib/rng/hmac_drbg/hmac_drbg.h +++ b/src/lib/rng/hmac_drbg/hmac_drbg.h @@ -35,6 +35,9 @@ class BOTAN_DLL HMAC_DRBG : public RandomNumberGenerator HMAC_DRBG(MessageAuthenticationCode* mac, RandomNumberGenerator* underlying_rng = nullptr); + HMAC_DRBG(const std::string& mac, + RandomNumberGenerator* underlying_rng = nullptr); + private: void update(const byte input[], size_t input_len); |