aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/messages.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-08-08hashtables: allow up to 2^{20} peers per interfaceJason A. Donenfeld1-1/+1
This allows for nearly 1 million peers per interface, which should be more than enough. If needed later, this number could easily be increased beyond this. We also increase the size of the hashtables to accommodate this upper bound. In the future, it might be smart to dynamically expand the hashtable instead of this hard coded compromise value between small systems and large systems. Ongoing work includes figuring out the most optimal scheme for these hashtables and for the insertion to mask their order from timing inference.
2017-05-30handshake: process in parallelJason A. Donenfeld1-1/+0
2017-03-20data: big refactoringJason A. Donenfeld1-7/+15
2017-01-10Update copyrightJason A. Donenfeld1-1/+1
2016-12-23cookies: use xchacha20poly1305 instead of chacha20poly1305Jason A. Donenfeld1-2/+2
This allows us to precompute the blake2s calls and save cycles, since hchacha is fast.
2016-12-16messages: increase header by 3 bytes for alignmentJason A. Donenfeld1-11/+18
2016-12-12messages: remove unused constantsJason A. Donenfeld1-2/+0
2016-12-09timers: add random jitter to handshake retryJason A. Donenfeld1-0/+1
2016-11-21headers: cleanup noticesJason A. Donenfeld1-1/+1
2016-11-16packets: consolidate constantsJason A. Donenfeld1-1/+11
2016-10-19timers: move constants to headerJason A. Donenfeld1-1/+3
2016-09-29Rework headers and includesJason A. Donenfeld1-2/+39