calculate store hash for encrypted LeaseSet2

This commit is contained in:
orignal 2019-03-06 16:08:04 -05:00
parent 32e55ebd0c
commit 24c5ed1cff
3 changed files with 16 additions and 2 deletions

View file

@ -139,6 +139,8 @@ namespace data
std::shared_ptr<const i2p::crypto::Verifier> GetTransientVerifier () const { return m_TransientVerifier; };
void Update (const uint8_t * buf, size_t len, bool verifySignature);
static void CalculateStoreHash (std::shared_ptr<const IdentityEx> identity, const char * date, SigningKeyType blindedKeyType, i2p::data::IdentHash& hash);
// implements RoutingDestination
void Encrypt (const uint8_t * data, uint8_t * encrypted, BN_CTX * ctx) const;