generate random padding length in bulk

This commit is contained in:
orignal 2020-06-13 21:24:16 -04:00
parent 49a19a52c8
commit 69194118df
2 changed files with 9 additions and 3 deletions

View file

@ -188,7 +188,8 @@ namespace garlic
std::list<std::pair<uint16_t, int> > m_AckRequests; // (tagsetid, index)
bool m_SendReverseKey = false, m_SendForwardKey = false;
std::unique_ptr<DHRatchet> m_NextReceiveRatchet, m_NextSendRatchet;
uint8_t m_PaddingSizes[32], m_NextPaddingSize;
public:
// for HTTP only