mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
lookup ECIESX25519AEADRatchet session by static key
This commit is contained in:
parent
dc9da69509
commit
b6800dd125
6 changed files with 48 additions and 25 deletions
|
@ -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];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue