aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcryptobox/curve25519/curve25519-donna.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcryptobox/curve25519/curve25519-donna.c')
-rw-r--r--src/libcryptobox/curve25519/curve25519-donna.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcryptobox/curve25519/curve25519-donna.c b/src/libcryptobox/curve25519/curve25519-donna.c
index e6a50b87f..b3b59d860 100644
--- a/src/libcryptobox/curve25519/curve25519-donna.c
+++ b/src/libcryptobox/curve25519/curve25519-donna.c
@@ -891,10 +891,9 @@ static void crecip (limb *out, const limb *z)
/* 2^255 - 21 */fmul (out, t1, z11);
}
-int curve25519 (u8 *mypublic, const u8 *secret, const u8 *basepoint)
+int scalarmult_donna32 (u8 *mypublic, const u8 *secret, const u8 *basepoint)
{
limb bp[10], x[10], z[11], zmone[10];
- int i;
fexpand (bp, basepoint);
cmult (x, z, secret, bp);