save peer test nonces

This commit is contained in:
orignal 2014-04-09 14:58:30 -04:00
parent 5099b997ad
commit d09bafa4a7
2 changed files with 31 additions and 8 deletions

2
SSU.h
View file

@ -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];