Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | global: get rid of useless forward declarations | Jason A. Donenfeld | 2017-10-31 | 1 | -6/+0 |
| | |||||
* | global: use _WG prefix for include guards | Jason A. Donenfeld | 2017-10-03 | 1 | -3/+3 |
| | | | | Suggested-by: Sultan Alsawaf <sultanxda@gmail.com> | ||||
* | noise: use spinlock for rotating keys | Jason A. Donenfeld | 2017-10-02 | 1 | -1/+1 |
| | | | | | This should only really be contended in extremely exceptional cases, so changing from a mutex to a spinlock is likely fine. | ||||
* | noise: infer initiator or not from handshake state | Jason A. Donenfeld | 2017-08-04 | 1 | -1/+1 |
| | | | | Suggested-by: Mathias Hall-Andersen <mathias@hall-andersen.dk> | ||||
* | peer: use iterator macro instead of callback | Jason A. Donenfeld | 2017-05-30 | 1 | -1/+1 |
| | |||||
* | noise: precompute static-static ECDH operation | Jason A. Donenfeld | 2017-05-30 | 1 | -3/+4 |
| | |||||
* | noise: no need to store ephemeral public key | Jason A. Donenfeld | 2017-05-30 | 1 | -1/+0 |
| | |||||
* | noise: redesign preshared key mode | Jason A. Donenfeld | 2017-05-17 | 1 | -5/+4 |
| | |||||
* | Update copyright | Jason A. Donenfeld | 2017-01-10 | 1 | -1/+1 |
| | |||||
* | global: move to consistent use of uN instead of uintN_t for kernel code | Jason A. Donenfeld | 2016-12-11 | 1 | -3/+3 |
| | |||||
* | 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 | -3/+3 |
| | |||||
* | data: do not allow usage of keypair just before hash removal | Jason A. Donenfeld | 2016-11-01 | 1 | -0/+1 |
| | |||||
* | Rework headers and includes | Jason A. Donenfeld | 2016-09-29 | 1 | -41/+4 |
| | |||||
* | c: specify static array size in function params | Jason A. Donenfeld | 2016-08-02 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | 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. | ||||
* | nonce: switch to RFC6479 to better support packet reordering | Jason A. Donenfeld | 2016-06-25 | 1 | -2/+8 |
| | | | | | 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/+153 |