Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | tools: share curve25519 implementations with kernel | Jason A. Donenfeld | 2018-01-23 | 2 | -1541/+32 | |
| | ||||||
* | poly1305: add poly-specific self-tests | Jason A. Donenfeld | 2018-01-19 | 4 | -1/+1569 | |
| | ||||||
* | curve25519-fiat32: uninline certain functions | Jason A. Donenfeld | 2018-01-18 | 3 | -12/+12 | |
| | | | | | | | | | | | While this has a negative performance impact on x86_64, it has a positive performance impact on smaller machines, which is where we're actually using this code. For example, an A53: Before: fiat32: 228605 cycles per call After: fiat32: 188307 cycles per call | |||||
* | version: bump snapshot0.0.20180118 | Jason A. Donenfeld | 2018-01-18 | 2 | -2/+2 | |
| | ||||||
* | contrib: keygen-html: update curve25519 implementation | Jason A. Donenfeld | 2018-01-18 | 1 | -785/+769 | |
| | ||||||
* | tools: import new curve25519 implementations | Jason A. Donenfeld | 2018-01-18 | 1 | -1129/+1423 | |
| | ||||||
* | curve25519: wire up new impls and remove donna | Jason A. Donenfeld | 2018-01-18 | 3 | -1454/+3 | |
| | ||||||
* | curve25519: resolve symbol clash between fe types | Jason A. Donenfeld | 2018-01-18 | 1 | -7/+7 | |
| | ||||||
* | curve25519: import 64-bit hacl-star implementation | Jason A. Donenfeld | 2018-01-18 | 1 | -0/+739 | |
| | ||||||
* | curve25519: import 32-bit fiat-crypto implementation | Jason A. Donenfeld | 2018-01-18 | 1 | -0/+838 | |
| | ||||||
* | curve25519: modularize implementation | Jason A. Donenfeld | 2018-01-18 | 5 | -1610/+1640 | |
| | ||||||
* | poly1305: remove indirect calls | Samuel Neves | 2018-01-18 | 1 | -79/+96 | |
| | | | | Signed-off-by: Samuel Neves <sneves@dei.uc.pt> | |||||
* | tools: plug memleak in config error path | Jason A. Donenfeld | 2018-01-18 | 1 | -0/+1 | |
| | ||||||
* | external-tests: add python implementation | Piotr Lizończyk | 2018-01-11 | 1 | -0/+94 | |
| | ||||||
* | wg-quick: ifnames have max len of 15 | Jason A. Donenfeld | 2018-01-10 | 3 | -5/+5 | |
| | ||||||
* | socket: check for null socket before fishing out sport | Jason A. Donenfeld | 2018-01-08 | 1 | -2/+4 | |
| | | | | Otherwise we could have a null pointer dereference. | |||||
* | global: year bump | Jason A. Donenfeld | 2018-01-03 | 106 | -107/+107 | |
| | ||||||
* | receive: treat packet checking as irrelevant for timers | Jason A. Donenfeld | 2018-01-03 | 1 | -6/+6 | |
| | | | | | | | Receiving any type of authenticated data is a receive and a traversal. When it isn't a keepalive it's a data. That's our rule. Whether or not it's the correct type of data or has the right IP header shouldn't influence timer decisions. | |||||
* | version: bump snapshot0.0.20171221 | Jason A. Donenfeld | 2017-12-21 | 2 | -2/+2 | |
| | ||||||
* | compat: kernels < 3.13 modified genl_ops | Jason A. Donenfeld | 2017-12-21 | 2 | -2/+8 | |
| | ||||||
* | crypto: compile on UML | Jason A. Donenfeld | 2017-12-13 | 4 | -2/+8 | |
| | | | | We basically just don't use FPU in UML. | |||||
* | wg-quick: dumber matching for default routes | Jason A. Donenfeld | 2017-12-13 | 1 | -1/+1 | |
| | ||||||
* | wg-quick: add the "Table" config option | Luis Ressel | 2017-12-13 | 2 | -3/+18 | |
| | | | | | | | | * Table=auto (default) selects the current behaviour * Table=off disables creation of routes altogether * All other values are passed through to "ip route add"'s table option Signed-off-by: Luis Ressel <aranea@aixah.de> | |||||
* | keygen-html: remove prebuilt file | Jason A. Donenfeld | 2017-12-12 | 7 | -45/+42 | |
| | | | | | | | We also reduce the optimization level, just in case, but add closure compiler into the mix. Suggested-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net> | |||||
* | version: bump snapshot0.0.20171211 | Jason A. Donenfeld | 2017-12-11 | 2 | -2/+2 | |
| | ||||||
* | chacha20poly1305: wire up avx512vl for skylake-x | Jason A. Donenfeld | 2017-12-11 | 5 | -6/+99 | |
| | ||||||
* | chacha20: avx512vl implementation | Samuel Neves | 2017-12-11 | 2 | -0/+571 | |
| | | | | Signed-off-by: Samuel Neves <sneves@dei.uc.pt> | |||||
* | poly1305: fix avx512f alignment bug | Samuel Neves | 2017-12-11 | 1 | -1/+1 | |
| | | | | Signed-off-by: Samuel Neves <sneves@dei.uc.pt> | |||||
* | chacha20poly1305: cleaner generic code | Jason A. Donenfeld | 2017-12-11 | 1 | -90/+49 | |
| | ||||||
* | blake2s-x86_64: fix spacing | Jason A. Donenfeld | 2017-12-09 | 1 | -70/+70 | |
| | ||||||
* | global: add SPDX tags to all files | Greg Kroah-Hartman | 2017-12-09 | 102 | -371/+379 | |
| | | | | | | | | | | | | | 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> | |||||
* | chacha20-arm: fix with clang -fno-integrated-as. | David Benjamin | 2017-12-03 | 1 | -1/+3 | |
| | | | | | | | | | The __clang__-guarded #defines cause gas to complain if clang is passed -fno-integrated-as. Emitting .syntax unified when those are used fixes this. Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Kurt Roeckx <kurt@roeckx.be> | |||||
* | poly1305: update x86-64 kernel to AVX512F only | Samuel Neves | 2017-12-03 | 2 | -138/+132 | |
| | | | | Signed-off-by: Samuel Neves <sneves@dei.uc.pt> | |||||
* | tools: no need to put this on the stack | Jason A. Donenfeld | 2017-12-03 | 1 | -1/+1 | |
| | ||||||
* | tools: remove undocumented unused syntax | Jason A. Donenfeld | 2017-12-03 | 1 | -11/+0 | |
| | ||||||
* | contrib: keygen-html for generating keys in the browser | Jason A. Donenfeld | 2017-12-03 | 4 | -0/+1020 | |
| | ||||||
* | kernel-tree: jury rig is the more common spelling | Jason A. Donenfeld | 2017-11-30 | 1 | -0/+0 | |
| | | | | | According to the Google Ngram viewer, jury is significantly more common than jerry. | |||||
* | netlink: rename symbol to avoid clashes | Jason A. Donenfeld | 2017-11-29 | 3 | -6/+6 | |
| | | | | At somepoint we may need to wg_ namespace these. | |||||
* | device: clear last handshake timer on ifdown | Jason A. Donenfeld | 2017-11-29 | 2 | -0/+2 | |
| | | | | | | | Otherwise new handshakes might not occur immediately when the interface goes up and down. Also initialize peers to having a proper zeroed handshake jiffies. | |||||
* | compat: fix 3.10 backport | Jason A. Donenfeld | 2017-11-29 | 2 | -0/+26 | |
| | | | | | | | For archs that do not provide the magic csum function, we need to provide the generic function. Also, some obscure 3.10s have backported the int size macros, so we ifndef around that to avoid potentially fatal warnings. | |||||
* | device: do not clear keys during sleep on Android | Jason A. Donenfeld | 2017-11-28 | 1 | -4/+4 | |
| | | | | | | This makes sense for the security model of laptops, but not for clicking phones on and off, where we actually want to be able to handle incoming packets. | |||||
* | curve25519: explictly depend on AS_AVX | Jason A. Donenfeld | 2017-11-28 | 1 | -3/+3 | |
| | ||||||
* | compat: support RAP in assembly | Jason A. Donenfeld | 2017-11-28 | 2 | -0/+17 | |
| | ||||||
* | curve25519: modularize dispatch | Jason A. Donenfeld | 2017-11-28 | 1 | -91/+82 | |
| | ||||||
* | version: bump snapshot0.0.20171127 | Jason A. Donenfeld | 2017-11-27 | 2 | -2/+2 | |
| | ||||||
* | qemu: take shared lock for untarring | Jason A. Donenfeld | 2017-11-27 | 1 | -18/+10 | |
| | ||||||
* | blake2s: tweak avx512 code | Samuel Neves | 2017-11-26 | 1 | -64/+47 | |
| | | | | | | | | This is not as ideal as using zmm, but zmm downclocks. And it's not as fast single-threaded as using the gathers. But it is faster when multithreaded, which is what WireGuard is doing. Signed-off-by: Samuel Neves <sneves@dei.uc.pt> | |||||
* | compat: support 4.15's netlink and barrier changes | Jason A. Donenfeld | 2017-11-26 | 2 | -1/+7 | |
| | ||||||
* | allowedips: simplify | Jason A. Donenfeld | 2017-11-25 | 1 | -35/+12 | |
| | ||||||
* | allowedips: optimize | Jason A. Donenfeld | 2017-11-25 | 1 | -14/+52 | |
| |