mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
handle follow-on NSR messages
This commit is contained in:
parent
86ff0d86db
commit
7ce92118e4
3 changed files with 37 additions and 18 deletions
|
@ -45,7 +45,8 @@ namespace garlic
|
|||
public:
|
||||
|
||||
RatchetTagSet (std::shared_ptr<ECIESX25519AEADRatchetSession> session): m_Session (session) {};
|
||||
|
||||
virtual bool IsNS () const { return false; };
|
||||
|
||||
void DHInitialize (const uint8_t * rootKey, const uint8_t * k);
|
||||
void NextSessionTagRatchet ();
|
||||
uint64_t GetNextSessionTag ();
|
||||
|
@ -91,6 +92,8 @@ namespace garlic
|
|||
|
||||
NSRatchetTagSet (std::shared_ptr<ECIESX25519AEADRatchetSession> session):
|
||||
RatchetTagSet (session), m_DummySession (session) {};
|
||||
|
||||
bool IsNS () const { return true; };
|
||||
|
||||
private:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue