initial code for ECIES-X25519-AEAD-Ratchet KDF

This commit is contained in:
orignal 2019-12-17 16:18:40 -05:00
parent 553d59c32b
commit 521fb83e38
6 changed files with 47 additions and 7 deletions

View file

@ -237,6 +237,8 @@ namespace client
// implements LocalDestination
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 (); };
i2p::data::CryptoKeyType GetEncryptionType () const { return m_EncryptionKeyType; };
const uint8_t * GetEncryptionPublicKey () const { return m_EncryptionPublicKey; };
protected: