aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/noise.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* noise: no need to store ephemeral public keyJason A. Donenfeld2017-05-301-6/+6
|
* noise: redesign preshared key modeJason A. Donenfeld2017-05-171-91/+86
|
* locking: always use _bhJason A. Donenfeld2017-04-041-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 compilerJason A. Donenfeld2017-03-301-10/+5
|
* curve25519: protect against potential invalid point attacksJason A. Donenfeld2017-03-301-14/+25
|
* Use __read_mostly attribute when possibleJason A. Donenfeld2017-01-131-2/+2
|
* Update copyrightJason A. Donenfeld2017-01-101-1/+1
|
* messages: increase header by 3 bytes for alignmentJason A. Donenfeld2016-12-161-2/+2
|
* noise: update commentsJason A. Donenfeld2016-12-161-8/+8
|
* noise: update to new notationJason A. Donenfeld2016-11-291-2/+2
|
* headers: cleanup noticesJason A. Donenfeld2016-11-211-1/+1
|
* c89: the static keyword is okay in c99, but not in c89Jason A. Donenfeld2016-11-051-15/+15
|
* kref: elide checksJason A. Donenfeld2016-11-021-3/+1
|
* data: do not allow usage of keypair just before hash removalJason A. Donenfeld2016-11-011-0/+10
|
* noise: comment/document the key swappingJason A. Donenfeld2016-10-191-1/+19
|
* Rework headers and includesJason A. Donenfeld2016-09-291-2/+4
|
* c: specify static array size in function paramsJason A. Donenfeld2016-08-021-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 specJason A. Donenfeld2016-07-021-2/+2
|
* nonce: switch to RFC6479 to better support packet reorderingJason A. Donenfeld2016-06-251-1/+1
| | | | | With packets hitting multiple cores, a 64bit backtrack was too small. This algorithm increases our backtrack to 1984bits.
* Initial commitJason A. Donenfeld2016-06-251-0/+565