SSUHeader and authenticate added

This commit is contained in:
orignal committed 2014-01-27 16:52:17 -05:00
1 parent 27426a6023
commit 8d4b98c83a
3 files changed
+30 -3

No files matched your search

+10
View File
@@ -14,6 +14,16 @@ namespace ssu
void SSUSession::ProcessNextMessage (uint8_t * buf, std::size_t len)
{
switch (m_State)
{
default:
LogPrint ("SSU state not implemented yet");
}
}
void SSUSession::Authenticate (uint8_t * buf, size_t len, uint8_t * aesKey, uint8_t * iv, uint8_t * macKey)
{
m_Encryption.SetKeyWithIV (aesKey, 32, iv);
}
SSUServer::SSUServer (boost::asio::io_service& service, int port):