AEAD/Chacha20/Poly1305 encryption

This commit is contained in:
orignal 2018-06-13 11:41:46 -04:00
parent bf1e1ad457
commit df60e78766
5 changed files with 52 additions and 10 deletions

View file

@ -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 ();