mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 03:37:49 +02:00
AEAD/Chacha20/Poly1305 encryption
This commit is contained in:
parent
bf1e1ad457
commit
df60e78766
5 changed files with 52 additions and 10 deletions
|
@ -29,7 +29,7 @@ namespace transport
|
|||
|
||||
private:
|
||||
|
||||
bool KeyDerivationFunction1 (const uint8_t * rs, const uint8_t * pub, uint8_t * derived); // for SessionRequest
|
||||
bool KeyDerivationFunction1 (const uint8_t * rs, const uint8_t * pub, uint8_t * derived, uint8_t * ad); // for SessionRequest
|
||||
void CreateEphemeralKey (uint8_t * pub);
|
||||
void SendSessionRequest ();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue