mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
KDF for short tunnel build messages
This commit is contained in:
parent
a717542733
commit
9000b3df4e
3 changed files with 37 additions and 15 deletions
|
@ -59,7 +59,7 @@ namespace tunnel
|
|||
TunnelHopConfig (r) {};
|
||||
bool IsECIES () const { return true; };
|
||||
void EncryptECIES (const uint8_t * clearText, size_t len, uint8_t * encrypted);
|
||||
bool DecryptECIES (const uint8_t * encrypted, size_t len, uint8_t * clearText);
|
||||
bool DecryptECIES (const uint8_t * key, const uint8_t * encrypted, size_t len, uint8_t * clearText);
|
||||
};
|
||||
|
||||
struct LongECIESTunnelHopConfig: public ECIESTunnelHopConfig
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue