mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
separate decryption between own record and other records
This commit is contained in:
parent
ff0e23d2c4
commit
8b35ce3320
3 changed files with 42 additions and 18 deletions
|
@ -43,6 +43,7 @@ namespace tunnel
|
|||
void CreateBuildRequestRecord (uint8_t * record, uint32_t replyMsgID, BN_CTX * ctx);
|
||||
void EncryptECIES (std::shared_ptr<i2p::crypto::CryptoKeyEncryptor>& encryptor,
|
||||
const uint8_t * clearText, uint8_t * encrypted, BN_CTX * ctx);
|
||||
bool DecryptBuildResponseRecord (const uint8_t * encrypted, uint8_t * clearText);
|
||||
};
|
||||
|
||||
class TunnelConfig
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue