diff options
Diffstat (limited to 'include/elgamal.h')
-rw-r--r-- | include/elgamal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/elgamal.h b/include/elgamal.h index 90fd8c77a..e5de3f965 100644 --- a/include/elgamal.h +++ b/include/elgamal.h @@ -21,7 +21,8 @@ class BOTAN_DLL ElGamal_PublicKey : public PK_Encrypting_Key, std::string algo_name() const { return "ElGamal"; } DL_Group::Format group_format() const { return DL_Group::ANSI_X9_42; } - SecureVector<byte> encrypt(const byte[], u32bit) const; + SecureVector<byte> encrypt(const byte[], u32bit, + RandomNumberGenerator& rng) const; u32bit max_input_bits() const; ElGamal_PublicKey() {} |