lookup ECIESX25519AEADRatchet session by static key

This commit is contained in:
orignal 2020-01-16 15:45:22 -05:00
parent dc9da69509
commit b6800dd125
6 changed files with 48 additions and 25 deletions

View file

@ -33,6 +33,7 @@ namespace garlic
std::shared_ptr<I2NPMessage> WrapSingleMessage (std::shared_ptr<const I2NPMessage> msg);
bool NewIncomingSession (const uint8_t * buf, size_t len, CloveHandler handleClove);
const uint8_t * GetStaticKey () const { return m_StaticKey; };
private:
@ -42,7 +43,7 @@ namespace garlic
private:
uint8_t m_H[32], m_CK[32];
uint8_t m_H[32], m_CK[32], m_StaticKey[32];
};
}
}