mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
save peer test nonces
This commit is contained in:
parent
5099b997ad
commit
d09bafa4a7
2 changed files with 31 additions and 8 deletions
2
SSU.h
2
SSU.h
|
@ -4,6 +4,7 @@
|
|||
#include <inttypes.h>
|
||||
#include <map>
|
||||
#include <list>
|
||||
#include <set>
|
||||
#include <boost/asio.hpp>
|
||||
#include <cryptopp/modes.h>
|
||||
#include <cryptopp/aes.h>
|
||||
|
@ -131,6 +132,7 @@ namespace ssu
|
|||
bool m_PeerTest;
|
||||
SessionState m_State;
|
||||
uint32_t m_RelayTag;
|
||||
std::set<uint32_t> m_PeerTestNonces;
|
||||
CryptoPP::CBC_Mode<CryptoPP::AES>::Encryption m_Encryption;
|
||||
CryptoPP::CBC_Mode<CryptoPP::AES>::Decryption m_Decryption;
|
||||
uint8_t m_SessionKey[32], m_MacKey[32];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue