aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcryptobox/curve25519/curve25519-donna-c64.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcryptobox/curve25519/curve25519-donna-c64.c')
-rw-r--r--src/libcryptobox/curve25519/curve25519-donna-c64.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libcryptobox/curve25519/curve25519-donna-c64.c b/src/libcryptobox/curve25519/curve25519-donna-c64.c
index e6a5045ad..d98c385c2 100644
--- a/src/libcryptobox/curve25519/curve25519-donna-c64.c
+++ b/src/libcryptobox/curve25519/curve25519-donna-c64.c
@@ -477,9 +477,7 @@ static void crecip (felem out, const felem z)
/* 2^255 - 21 */fmul (out, t0, a);
}
-int curve25519 (u8 *, const u8 *, const u8 *);
-
-int curve25519 (u8 *mypublic, const u8 *secret, const u8 *basepoint)
+int scalarmult_donna64 (u8 *mypublic, const u8 *secret, const u8 *basepoint)
{
limb bp[5], x[5], z[5], zmone[5];
int i;