diff options
Diffstat (limited to 'elgamal.h')
-rw-r--r-- | elgamal.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -83,8 +83,8 @@ public: const DL_GroupParameters_GFP & GetGroupParameters() const {return GetKey().GetGroupParameters();} - DecodingResult FixedLengthDecrypt(const byte *cipherText, byte *plainText) const - {return Decrypt(cipherText, FixedCiphertextLength(), plainText);} + DecodingResult FixedLengthDecrypt(RandomNumberGenerator &rng, const byte *cipherText, byte *plainText) const + {return Decrypt(rng, cipherText, FixedCiphertextLength(), plainText);} protected: const DL_KeyAgreementAlgorithm<Integer> & GetKeyAgreementAlgorithm() const {return *this;} |