aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/crypto/curve25519.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-11-05 23:31:13 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2016-11-05 23:37:31 +0100
commit3a56fc6a0719d3e9003f8f8faceb95c678ec9c1c (patch)
treefc21d970a2b56d9b964ae5a0ea6159053a156c45 /src/crypto/curve25519.h
parenttools: chill modern gcc out (diff)
downloadwireguard-monolithic-historical-3a56fc6a0719d3e9003f8f8faceb95c678ec9c1c.tar.xz
wireguard-monolithic-historical-3a56fc6a0719d3e9003f8f8faceb95c678ec9c1c.zip
c89: the static keyword is okay in c99, but not in c89
Diffstat (limited to 'src/crypto/curve25519.h')
-rw-r--r--src/crypto/curve25519.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crypto/curve25519.h b/src/crypto/curve25519.h
index 23f4d74..f16fc30 100644
--- a/src/crypto/curve25519.h
+++ b/src/crypto/curve25519.h
@@ -9,9 +9,9 @@ enum curve25519_lengths {
CURVE25519_POINT_SIZE = 32
};
-void curve25519(uint8_t mypublic[static CURVE25519_POINT_SIZE], const uint8_t secret[static CURVE25519_POINT_SIZE], const uint8_t basepoint[static CURVE25519_POINT_SIZE]);
-void curve25519_generate_secret(uint8_t secret[static CURVE25519_POINT_SIZE]);
-void curve25519_generate_public(uint8_t pub[static CURVE25519_POINT_SIZE], const uint8_t secret[static CURVE25519_POINT_SIZE]);
+void curve25519(uint8_t mypublic[CURVE25519_POINT_SIZE], const uint8_t secret[CURVE25519_POINT_SIZE], const uint8_t basepoint[CURVE25519_POINT_SIZE]);
+void curve25519_generate_secret(uint8_t secret[CURVE25519_POINT_SIZE]);
+void curve25519_generate_public(uint8_t pub[CURVE25519_POINT_SIZE], const uint8_t secret[CURVE25519_POINT_SIZE]);
#ifdef DEBUG
bool curve25519_selftest(void);