aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/messages.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* queue: entirely rework parallel systemJason A. Donenfeld2017-09-181-2/+3
| | | | | | | | | | This removes our dependency on padata and moves to a different mode of multiprocessing that is more efficient. This began as Samuel Holland's GSoC project and was gradually reworked/redesigned/rebased into this present commit, which is a combination of his initial contribution and my subsequent rewriting and redesigning.
* hashtables: allow up to 2^{20} peers per interfaceJason A. Donenfeld2017-08-081-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.
* handshake: process in parallelJason A. Donenfeld2017-05-301-1/+0
|
* data: big refactoringJason A. Donenfeld2017-03-201-7/+15
|
* Update copyrightJason A. Donenfeld2017-01-101-1/+1
|
* cookies: use xchacha20poly1305 instead of chacha20poly1305Jason A. Donenfeld2016-12-231-2/+2
| | | | | This allows us to precompute the blake2s calls and save cycles, since hchacha is fast.
* messages: increase header by 3 bytes for alignmentJason A. Donenfeld2016-12-161-11/+18
|
* messages: remove unused constantsJason A. Donenfeld2016-12-121-2/+0
|
* timers: add random jitter to handshake retryJason A. Donenfeld2016-12-091-0/+1
|
* headers: cleanup noticesJason A. Donenfeld2016-11-211-1/+1
|
* packets: consolidate constantsJason A. Donenfeld2016-11-161-1/+11
|
* timers: move constants to headerJason A. Donenfeld2016-10-191-1/+3
|
* Rework headers and includesJason A. Donenfeld2016-09-291-2/+39
|
* Initial commitJason A. Donenfeld2016-06-251-0/+88