Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | global: accept decent check_patch.pl suggestions | Jason A. Donenfeld | 2017-10-31 | 1 | -3/+3 |
| | |||||
* | noise: no need to take the RCU lock if we're not dereferencing | Jason A. Donenfeld | 2017-10-17 | 1 | -4/+2 |
| | |||||
* | noise: handshake constants can be read-only after init | Jason A. Donenfeld | 2017-10-17 | 1 | -2/+2 |
| | |||||
* | global: add space around variable declarations | Jason A. Donenfeld | 2017-10-03 | 1 | -0/+11 |
| | |||||
* | noise: use spinlock for rotating keys | Jason A. Donenfeld | 2017-10-02 | 1 | -19/+27 |
| | | | | | This should only really be contended in extremely exceptional cases, so changing from a mutex to a spinlock is likely fine. | ||||
* | netlink: switch from ioctl to netlink for configuration | Jason A. Donenfeld | 2017-10-02 | 1 | -9/+4 |
| | |||||
* | queue: entirely rework parallel system | Jason A. Donenfeld | 2017-09-18 | 1 | -1/+1 |
| | | | | | | | | | | 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. | ||||
* | noise: infer initiator or not from handshake state | Jason A. Donenfeld | 2017-08-04 | 1 | -3/+3 |
| | | | | Suggested-by: Mathias Hall-Andersen <mathias@hall-andersen.dk> | ||||
* | global: use pointer to net_device | Jason A. Donenfeld | 2017-07-20 | 1 | -2/+2 |
| | | | | | | DaveM prefers it to be this way per [1]. [1] http://www.spinics.net/lists/netdev/msg443992.html | ||||
* | main: annotate init/exit functions to save memory | Jason A. Donenfeld | 2017-06-24 | 1 | -1/+1 |
| | |||||
* | noise: fix race when replacing handshake | Jason A. Donenfeld | 2017-06-08 | 1 | -9/+19 |
| | | | | | | | | Replacing an entry that's already been replaced is something that could happen when processing handshake messages in parallel, when starting up multiple instances on the same machine. Reported-by: Hubert Goisern <zweizweizwoelf@gmail.com> | ||||
* | debug: print interface name in dmesg | Jason A. Donenfeld | 2017-05-31 | 1 | -2/+2 |
| | |||||
* | peer: use iterator macro instead of callback | Jason A. Donenfeld | 2017-05-30 | 1 | -4/+4 |
| | |||||
* | noise: precompute static-static ECDH operation | Jason A. Donenfeld | 2017-05-30 | 1 | -10/+18 |
| | |||||
* | noise: no need to store ephemeral public key | Jason A. Donenfeld | 2017-05-30 | 1 | -6/+6 |
| | |||||
* | noise: redesign preshared key mode | Jason A. Donenfeld | 2017-05-17 | 1 | -91/+86 |
| | |||||
* | locking: always use _bh | Jason A. Donenfeld | 2017-04-04 | 1 | -7/+7 |
| | | | | | All locks are potentially between user context and softirq, which means we need to take the _bh variant. | ||||
* | chacha20poly1305: enforce authtag checking with compiler | Jason A. Donenfeld | 2017-03-30 | 1 | -10/+5 |
| | |||||
* | curve25519: protect against potential invalid point attacks | Jason A. Donenfeld | 2017-03-30 | 1 | -14/+25 |
| | |||||
* | Use __read_mostly attribute when possible | Jason A. Donenfeld | 2017-01-13 | 1 | -2/+2 |
| | |||||
* | Update copyright | Jason A. Donenfeld | 2017-01-10 | 1 | -1/+1 |
| | |||||
* | messages: increase header by 3 bytes for alignment | Jason A. Donenfeld | 2016-12-16 | 1 | -2/+2 |
| | |||||
* | noise: update comments | Jason A. Donenfeld | 2016-12-16 | 1 | -8/+8 |
| | |||||
* | noise: update to new notation | Jason A. Donenfeld | 2016-11-29 | 1 | -2/+2 |
| | |||||
* | headers: cleanup notices | Jason A. Donenfeld | 2016-11-21 | 1 | -1/+1 |
| | |||||
* | c89: the static keyword is okay in c99, but not in c89 | Jason A. Donenfeld | 2016-11-05 | 1 | -15/+15 |
| | |||||
* | kref: elide checks | Jason A. Donenfeld | 2016-11-02 | 1 | -3/+1 |
| | |||||
* | data: do not allow usage of keypair just before hash removal | Jason A. Donenfeld | 2016-11-01 | 1 | -0/+10 |
| | |||||
* | noise: comment/document the key swapping | Jason A. Donenfeld | 2016-10-19 | 1 | -1/+19 |
| | |||||
* | Rework headers and includes | Jason A. Donenfeld | 2016-09-29 | 1 | -2/+4 |
| | |||||
* | c: specify static array size in function params | Jason A. Donenfeld | 2016-08-02 | 1 | -15/+15 |
| | | | | | | | | | | | | | | | The C standard states: A declaration of a parameter as ``array of type'' shall be adjusted to ``qualified pointer to type'', where the type qualifiers (if any) are those specified within the [ and ] of the array type derivation. If the keyword static also appears within the [ and ] of the array type derivation, then for each call to the function, the value of the corresponding actual argument shall provide access to the first element of an array with at least as many elements as specified by the size expression. By changing void func(int array[4]) to void func(int array[static 4]), we automatically get the compiler checking argument sizes for us, which is quite nice. | ||||
* | tai64n: don't forget to add 2^62, to be in spec | Jason A. Donenfeld | 2016-07-02 | 1 | -2/+2 |
| | |||||
* | nonce: switch to RFC6479 to better support packet reordering | Jason A. Donenfeld | 2016-06-25 | 1 | -1/+1 |
| | | | | | With packets hitting multiple cores, a 64bit backtrack was too small. This algorithm increases our backtrack to 1984bits. | ||||
* | Initial commit | Jason A. Donenfeld | 2016-06-25 | 1 | -0/+565 |