aboutsummaryrefslogtreecommitdiff
path: root/src/ext/curve25519_donna/curve25519-donna-c64.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-12-03 14:57:35 -0500
committerNick Mathewson <nickm@torproject.org>2013-01-02 14:10:48 -0500
commitc85bb680ccaece2d327d46fe9e4bd4be2c3bfb60 (patch)
tree20bef82725bb78f32e51c1cb7be1fd11a304f701 /src/ext/curve25519_donna/curve25519-donna-c64.c
parent9c3c571c0c51bc11717b795d800b6523ff4ccfd8 (diff)
downloadtor-c85bb680ccaece2d327d46fe9e4bd4be2c3bfb60.tar.gz
tor-c85bb680ccaece2d327d46fe9e4bd4be2c3bfb60.zip
Make curve25519-donna work with our compiler warnings.
Diffstat (limited to 'src/ext/curve25519_donna/curve25519-donna-c64.c')
-rw-r--r--src/ext/curve25519_donna/curve25519-donna-c64.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ext/curve25519_donna/curve25519-donna-c64.c b/src/ext/curve25519_donna/curve25519-donna-c64.c
index 4f9dcc05ec..1a8fdb6d33 100644
--- a/src/ext/curve25519_donna/curve25519-donna-c64.c
+++ b/src/ext/curve25519_donna/curve25519-donna-c64.c
@@ -401,6 +401,8 @@ crecip(felem out, const felem z) {
/* 2^255 - 21 */ fmul(out, t0, a);
}
+int curve25519_donna(u8 *, const u8 *, const u8 *);
+
int
curve25519_donna(u8 *mypublic, const u8 *secret, const u8 *basepoint) {
limb bp[5], x[5], z[5], zmone[5];