aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcryptobox/curve25519/curve25519-donna-c64.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-15 13:19:22 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-15 13:19:22 +0100
commit31265fee183928890620db6dac49aad2705d1df6 (patch)
tree6091a200b2b2a0a43b0ea40dc78b5f94f8d6646b /src/libcryptobox/curve25519/curve25519-donna-c64.c
parentafc42e7f860aa0552560acec89cf4f57ea84f8a7 (diff)
downloadrspamd-31265fee183928890620db6dac49aad2705d1df6.tar.gz
rspamd-31265fee183928890620db6dac49aad2705d1df6.zip
We can include either 64 or 32 bits versions of curve25519-donna.
Diffstat (limited to 'src/libcryptobox/curve25519/curve25519-donna-c64.c')
-rw-r--r--src/libcryptobox/curve25519/curve25519-donna-c64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcryptobox/curve25519/curve25519-donna-c64.c b/src/libcryptobox/curve25519/curve25519-donna-c64.c
index a3a78fcdb..2d5b19b18 100644
--- a/src/libcryptobox/curve25519/curve25519-donna-c64.c
+++ b/src/libcryptobox/curve25519/curve25519-donna-c64.c
@@ -477,7 +477,7 @@ static void crecip (felem out, const felem z)
/* 2^255 - 21 */fmul (out, t0, a);
}
-int scalarmult_donna64 (u8 *mypublic, const u8 *secret, const u8 *basepoint)
+int scalarmult_donna (u8 *mypublic, const u8 *secret, const u8 *basepoint)
{
limb bp[5], x[5], z[5], zmone[5];
unsigned char e[32];