From 8730d16d4bae5567e16057ff93c5d997c1bd9490 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Mon, 6 Nov 2017 02:09:47 +0100 Subject: [PATCH] Fix comment --- .../curve25519/donna_c64/curve25519_donna_c64.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libsodium/crypto_scalarmult/curve25519/donna_c64/curve25519_donna_c64.c b/src/libsodium/crypto_scalarmult/curve25519/donna_c64/curve25519_donna_c64.c index 43e0a532..c9529fb5 100644 --- a/src/libsodium/crypto_scalarmult/curve25519/donna_c64/curve25519_donna_c64.c +++ b/src/libsodium/crypto_scalarmult/curve25519/donna_c64/curve25519_donna_c64.c @@ -266,8 +266,8 @@ fe_mont_y(fe x2, fe z2, /* output 2Q */ } /* ----------------------------------------------------------------------------- - Maybe swap the contents of two uint64_t arrays (@a and @b), each @len elements - long. Perform the swap iff @swap is non-zero. + Maybe swap the contents of two uint64_t arrays (f and g), each 5 elements + long. Perform the swap iff b is non-zero. This function performs the swap without leaking any side-channel information.