use generic Decrypt instead ElGamalDecrypt

This commit is contained in:
orignal 2017-11-08 20:45:53 -05:00
parent 9e5d1bf0fc
commit 19a03c42a5
9 changed files with 17 additions and 21 deletions

View file

@ -205,8 +205,7 @@ namespace client
i2p::datagram::DatagramDestination * CreateDatagramDestination ();
// implements LocalDestination
const uint8_t * GetEncryptionPrivateKey () const { return m_EncryptionPrivateKey; };
void Decrypt (const uint8_t * encrypted, uint8_t * data, BN_CTX * ctx) const;
bool Decrypt (const uint8_t * encrypted, uint8_t * data, BN_CTX * ctx) const;
std::shared_ptr<const i2p::data::IdentityEx> GetIdentity () const { return m_Keys.GetPublic (); };
protected: