Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | version: bump snapshot0.0.20180218 | Jason A. Donenfeld | 2018-02-18 | 2 | -2/+2 |
| | |||||
* | tools: fixup errno handling | Jason A. Donenfeld | 2018-02-17 | 2 | -8/+8 |
| | |||||
* | tools: FreeBSD doesn't have EAI_NODATA | Jason A. Donenfeld | 2018-02-17 | 1 | -2/+15 |
| | |||||
* | tools: do not collide types with libc clashes | Jason A. Donenfeld | 2018-02-17 | 1 | -4/+10 |
| | |||||
* | contrib: add embeddable wireguard library | Jason A. Donenfeld | 2018-02-17 | 6 | -0/+1671 |
| | |||||
* | wg(8): clarify phrasing | Jason A. Donenfeld | 2018-02-17 | 1 | -3/+3 |
| | |||||
* | tools: allow in-line comments | Jason A. Donenfeld | 2018-02-17 | 4 | -13/+20 |
| | |||||
* | external-tests: update go version | Jason A. Donenfeld | 2018-02-15 | 1 | -2/+2 |
| | |||||
* | tools: normalize strncpy/snprintf usage | Jason A. Donenfeld | 2018-02-14 | 4 | -18/+22 |
| | |||||
* | blake2s: use union instead of casting | Jason A. Donenfeld | 2018-02-14 | 2 | -19/+17 |
| | | | | | This deals with alignment more easily and also helps squelch a clang-analyzer warning. | ||||
* | allowedips: indicate to clang-analyzer that trie is non-null | Jason A. Donenfeld | 2018-02-14 | 1 | -0/+1 |
| | | | | | We check it in the block just above the only call to node_placement, so we're certain this is the case. | ||||
* | socket: free skb if there isn't an endpoint | Jason A. Donenfeld | 2018-02-12 | 1 | -0/+2 |
| | | | | | | | | | | | | | | Because the packet transmission interface in Linux, in general, has the characteristic of "consuming" skbs, our own socket_send family too must always consume skbs. This means that when a caller passes an skb to a socket_send function, he looses ownership and expects for the skb to be freed by the socket_send function, not by himself. Therefore, it's important that we actually carry out this contract under all circumstances, even when there's no endpoint available. This condition could be hit by setting up a peer with a persistent keepalive but no endpoint, or by removing an endpoint once packets were queued up to be sent already. | ||||
* | qemu: more granular memleak detection | Jason A. Donenfeld | 2018-02-12 | 1 | -2/+15 |
| | |||||
* | netns: replace n0 ip with ip0, per custom | Jason A. Donenfeld | 2018-02-12 | 1 | -2/+2 |
| | |||||
* | poly1305: fix up selftest counter | Jason A. Donenfeld | 2018-02-08 | 1 | -1/+1 |
| | |||||
* | qemu: add support for powerpc | Jason A. Donenfeld | 2018-02-07 | 2 | -2/+21 |
| | |||||
* | wg-quick: match from beginning rather than shift right | Jason A. Donenfeld | 2018-02-06 | 1 | -2/+2 |
| | | | | | Before, this meant that it simply took the last 15 characters, instead of erroring out when there's more than 15 chars. | ||||
* | tools: endian.h is not portable | Jason A. Donenfeld | 2018-02-05 | 1 | -4/+9 |
| | |||||
* | keygen-html: fix up copyright | Jason A. Donenfeld | 2018-02-02 | 1 | -4/+0 |
| | |||||
* | version: bump snapshot0.0.20180202 | Jason A. Donenfeld | 2018-02-02 | 2 | -2/+2 |
| | |||||
* | qemu: update base versions | Jason A. Donenfeld | 2018-02-02 | 1 | -2/+2 |
| | |||||
* | curve25519: break more things with more test cases | Jason A. Donenfeld | 2018-02-01 | 1 | -0/+12 |
| | |||||
* | curve25519: replace fiat64 with faster hacl64 | Jason A. Donenfeld | 2018-02-01 | 6 | -475/+888 |
| | | | | | This reverts commit da4ff396cc5d5e0ff21f9ecbc2f951c048c63fff and adds some optimizations to hacl64. | ||||
* | curve25519: replace hacl64 with fiat64 | Jason A. Donenfeld | 2018-02-01 | 6 | -881/+475 |
| | | | | | | | | | | For now, it's faster: hacl64: 109782 cycles per call fiat64: 108984 cycles per call It's quite possible this commit will be reverted with nice changes from INRIA, though. | ||||
* | curve25519: verify that specialized basepoint implementations are correct | Jason A. Donenfeld | 2018-02-01 | 1 | -3/+17 |
| | |||||
* | tools: dedup secret normalization | Jason A. Donenfeld | 2018-01-31 | 1 | -7/+1 |
| | |||||
* | chacha20poly1305: better buffer alignment | Jason A. Donenfeld | 2018-01-30 | 1 | -9/+8 |
| | |||||
* | chacha20poly1305: use existing rol32 function | Jason A. Donenfeld | 2018-01-30 | 1 | -9/+4 |
| | |||||
* | tools: fread doesn't change errno | Jason A. Donenfeld | 2018-01-30 | 1 | -4/+0 |
| | | | | | Thus we might be responding to an old errno, which could cause this to unnecessarily fail. | ||||
* | device: let udev know what kind of device we are | Jason A. Donenfeld | 2018-01-30 | 1 | -0/+6 |
| | |||||
* | qemu: disable AVX-512 in userland | Jason A. Donenfeld | 2018-01-23 | 1 | -0/+2 |
| | | | | | | | We're trying to test kernel code, so the userland tools we use for doing that testing don't really matter to us. We turn off AVX512, because WireGuard supports kernels that do not support AVX512 userlands. It's easier to just blanket-disable it all, since it doesn't matter anyway. | ||||
* | qemu: disable PIE for compilation | Jason A. Donenfeld | 2018-01-23 | 1 | -1/+3 |
| | | | | | | Some old kernels never backported this fix to the build system, and it's required if we want to build those old kernels with PIE-by-default compilers. | ||||
* | contrib: keygen-html: share curve25519 implementation with kernel | Jason A. Donenfeld | 2018-01-23 | 2 | -831/+31 |
| | |||||
* | 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 |
| |