summaryrefslogtreecommitdiffstatshomepage
path: root/src/crypto/zinc/curve25519/curve25519-x86_64-glue.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-02-03 21:06:40 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-02-05 14:37:27 +0100
commit44c4a3bb1946f875ce73497834928663eb37d5f9 (patch)
tree11e8ca3a0fd85b19acbb32700d6f7b78d058bc56 /src/crypto/zinc/curve25519/curve25519-x86_64-glue.c
parentnetns: tie socket waiting to target pid (diff)
downloadwireguard-linux-compat-44c4a3bb1946f875ce73497834928663eb37d5f9.tar.xz
wireguard-linux-compat-44c4a3bb1946f875ce73497834928663eb37d5f9.zip
netns: ensure non-addition of peers with failed precomputation
Ensure that peers with low order points are ignored, both in the case where we already have a device private key and in the case where we do not. This adds points that naturally give a zero output. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/crypto/zinc/curve25519/curve25519-x86_64-glue.c')
0 files changed, 0 insertions, 0 deletions