Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | global: year bump | Jason A. Donenfeld | 2018-01-03 | 6 | -6/+6 |
| | |||||
* | global: add SPDX tags to all files | Greg Kroah-Hartman | 2017-12-09 | 6 | -6/+24 |
| | | | | | | | | | | | | | It's good to have SPDX identifiers in all files as the Linux kernel developers are working to add these identifiers to all files. Update all files with the correct SPDX license identifier based on the license text of the project or based on the license in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Modified-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | chacha20poly1305: add more test vectors, some of which are weird | Jason A. Donenfeld | 2017-11-22 | 1 | -3/+244 |
| | |||||
* | selftest: allowedips: randomized test mutex update | Jason A. Donenfeld | 2017-11-13 | 1 | -5/+6 |
| | |||||
* | allowedips: rename from routingtable | Jason A. Donenfeld | 2017-11-10 | 1 | -61/+61 |
| | | | | Makes it more clear that this _not_ a routing table replacement. | ||||
* | global: infuriating kernel iterator style | Jason A. Donenfeld | 2017-10-31 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | One types: for (i = 0 ... So one should also type: for_each_obj (obj ... But the upstream kernel style guidelines are insane, and so we must instead do: for_each_obj(obj ... Ugly, but one must choose his battles wisely. | ||||
* | selftest: initialize mutex in routingtable selftest | Jason A. Donenfeld | 2017-10-31 | 1 | -0/+2 |
| | |||||
* | selftest: better test index for rate limiter | Jason A. Donenfeld | 2017-10-17 | 1 | -2/+13 |
| | |||||
* | routingtable: only use device's mutex, not a special rt one | Jason A. Donenfeld | 2017-10-09 | 1 | -6/+10 |
| | |||||
* | Makefile: clang now builds the kernel, so use scan-build | Jason A. Donenfeld | 2017-10-05 | 1 | -3/+3 |
| | | | | | Also add little stub for coccinelle and clean up semicolon issue it found. | ||||
* | selftest: more checking in ratelimiter | Jason A. Donenfeld | 2017-08-02 | 1 | -10/+16 |
| | |||||
* | selftests: ensure that there isnt CPU lag when testing rate limiter | Jason A. Donenfeld | 2017-07-20 | 1 | -1/+25 |
| | |||||
* | ratelimiter: consistently use non-bh rcu | Jason A. Donenfeld | 2017-07-07 | 1 | -1/+1 |
| | |||||
* | ratelimiter: add self-test | Jason A. Donenfeld | 2017-07-06 | 1 | -0/+113 |
| | |||||
* | selftest: remove antique siphash self test | Jason A. Donenfeld | 2017-06-24 | 1 | -89/+0 |
| | |||||
* | main: annotate init/exit functions to save memory | Jason A. Donenfeld | 2017-06-24 | 5 | -29/+29 |
| | |||||
* | style: spaces after for loops | Jason A. Donenfeld | 2017-05-30 | 1 | -4/+4 |
| | |||||
* | routingtable: rewrite core functions | Jason A. Donenfeld | 2017-04-21 | 2 | -133/+504 |
| | | | | | | | | | | | | | | | | | | | | | When removing by peer, prev needs to be set to *nptr in order to traverse that part of the trie. The other remove by IP function can simply be removed, as it's not in use. The root freeing function can use pre-order traversal instead of post-order. The pre-order traversal code in general is now a nice iterator macro. The common bits function can use the fast fls instructions and the match function can be rewritten to simply compare common bits. While we're at it, let's add tons of new tests, randomized checking against a dumb implementation, and graphviz output. And in general, it's nice to clean things up. | ||||
* | chacha20poly1305: enforce authtag checking with compiler | Jason A. Donenfeld | 2017-03-30 | 1 | -7/+7 |
| | |||||
* | curve25519: protect against potential invalid point attacks | Jason A. Donenfeld | 2017-03-30 | 1 | -10/+18 |
| | |||||
* | Update copyright | Jason A. Donenfeld | 2017-01-10 | 6 | -6/+6 |
| | |||||
* | cookies: use xchacha20poly1305 instead of chacha20poly1305 | Jason A. Donenfeld | 2016-12-23 | 1 | -0/+35 |
| | | | | | This allows us to precompute the blake2s calls and save cycles, since hchacha is fast. | ||||
* | siphash: update against upstream submission | Jason A. Donenfeld | 2016-12-16 | 7 | -91/+99 |
| | |||||
* | blake2s: move self tests to correct directory | Jason A. Donenfeld | 2016-12-11 | 1 | -0/+554 |
| | |||||
* | global: move to consistent use of uN instead of uintN_t for kernel code | Jason A. Donenfeld | 2016-12-11 | 4 | -15/+15 |
| | |||||
* | selftest: add routing table tests for small subnets | Jason A. Donenfeld | 2016-11-07 | 1 | -0/+12 |
| | |||||
* | selftest: move to subfolder | Jason A. Donenfeld | 2016-08-02 | 5 | -0/+413 |