diff --git a/src/libsodium/crypto_core/ed25519/ref10/ed25519_ref10.c b/src/libsodium/crypto_core/ed25519/ref10/ed25519_ref10.c index 9624f80c..425b5501 100644 --- a/src/libsodium/crypto_core/ed25519/ref10/ed25519_ref10.c +++ b/src/libsodium/crypto_core/ed25519/ref10/ed25519_ref10.c @@ -2809,7 +2809,7 @@ ristretto255_elligator(ge25519_p3 *p, const fe25519 t) fe25519_mul(u, u, onemsqd); /* u = (r+1)*(1-d^2) */ fe25519_1(c); fe25519_neg(c, c); /* c = -1 */ - fe25519_add(rpd, r, d); /* rpd = r*d */ + fe25519_add(rpd, r, d); /* rpd = r+d */ fe25519_mul(v, r, d); /* v = r*d */ fe25519_sub(v, c, v); /* v = c-r*d */ fe25519_mul(v, v, rpd); /* v = (c-r*d)*(r+d) */