aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/curve25519.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-12-26 12:09:53 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2019-12-26 12:55:41 +0100
commit2f74ac29cf5a5c9285be16a118c9db5ed57b6c67 (patch)
tree8e3158544c7979a6d2e7aa77d657c113d66008b1 /src/curve25519.c
parentgitignore: trim down to basics (diff)
downloadwireguard-tools-2f74ac29cf5a5c9285be16a118c9db5ed57b6c67.tar.xz
wireguard-tools-2f74ac29cf5a5c9285be16a118c9db5ed57b6c67.zip
wg: add back source formerly shared with kernel module
We used to reach back into parent directories for this, but with the repo split, we now require our own copy. We use -idirafter in case system headers are installed for the wireguard.h netlink definitions. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/curve25519.c')
-rw-r--r--src/curve25519.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/curve25519.c b/src/curve25519.c
index c116e21..f1b6358 100644
--- a/src/curve25519.c
+++ b/src/curve25519.c
@@ -76,9 +76,9 @@ static noinline void memzero_explicit(void *s, size_t count)
}
#ifdef __SIZEOF_INT128__
-#include "../crypto/zinc/curve25519/curve25519-hacl64.c"
+#include "curve25519-hacl64.h"
#else
-#include "../crypto/zinc/curve25519/curve25519-fiat32.c"
+#include "curve25519-fiat32.h"
#endif
void curve25519_generate_public(uint8_t pub[static CURVE25519_KEY_SIZE], const uint8_t secret[static CURVE25519_KEY_SIZE])