diff --git a/src/libsodium/crypto_core/curve25519/ref10/curve25519_ref10.c b/src/libsodium/crypto_core/curve25519/ref10/curve25519_ref10.c index 630103d7..1e9a79aa 100644 --- a/src/libsodium/crypto_core/curve25519/ref10/curve25519_ref10.c +++ b/src/libsodium/crypto_core/curve25519/ref10/curve25519_ref10.c @@ -2085,7 +2085,6 @@ void sc_reduce(unsigned char *s) s15 += s23 * 136657; s16 -= s23 * 683901; - s10 += s22 * 666643; s11 += s22 * 470296; s12 += s22 * 654183; @@ -2093,7 +2092,6 @@ void sc_reduce(unsigned char *s) s14 += s22 * 136657; s15 -= s22 * 683901; - s9 += s21 * 666643; s10 += s21 * 470296; s11 += s21 * 654183; @@ -2101,7 +2099,6 @@ void sc_reduce(unsigned char *s) s13 += s21 * 136657; s14 -= s21 * 683901; - s8 += s20 * 666643; s9 += s20 * 470296; s10 += s20 * 654183; @@ -2109,7 +2106,6 @@ void sc_reduce(unsigned char *s) s12 += s20 * 136657; s13 -= s20 * 683901; - s7 += s19 * 666643; s8 += s19 * 470296; s9 += s19 * 654183; @@ -2117,7 +2113,6 @@ void sc_reduce(unsigned char *s) s11 += s19 * 136657; s12 -= s19 * 683901; - s6 += s18 * 666643; s7 += s18 * 470296; s8 += s18 * 654183; @@ -2125,7 +2120,6 @@ void sc_reduce(unsigned char *s) s10 += s18 * 136657; s11 -= s18 * 683901; - carry6 = (s6 + (1L << 20)) >> 21; s7 += carry6; s6 -= carry6 * (1L << 21); carry8 = (s8 + (1L << 20)) >> 21; s9 += carry8; s8 -= carry8 * (1L << 21); carry10 = (s10 + (1L << 20)) >> 21; s11 += carry10; s10 -= carry10 * (1L << 21); @@ -2146,7 +2140,6 @@ void sc_reduce(unsigned char *s) s9 += s17 * 136657; s10 -= s17 * 683901; - s4 += s16 * 666643; s5 += s16 * 470296; s6 += s16 * 654183; @@ -2154,7 +2147,6 @@ void sc_reduce(unsigned char *s) s8 += s16 * 136657; s9 -= s16 * 683901; - s3 += s15 * 666643; s4 += s15 * 470296; s5 += s15 * 654183; @@ -2162,7 +2154,6 @@ void sc_reduce(unsigned char *s) s7 += s15 * 136657; s8 -= s15 * 683901; - s2 += s14 * 666643; s3 += s14 * 470296; s4 += s14 * 654183; @@ -2170,7 +2161,6 @@ void sc_reduce(unsigned char *s) s6 += s14 * 136657; s7 -= s14 * 683901; - s1 += s13 * 666643; s2 += s13 * 470296; s3 += s13 * 654183; @@ -2178,7 +2168,6 @@ void sc_reduce(unsigned char *s) s5 += s13 * 136657; s6 -= s13 * 683901; - s0 += s12 * 666643; s1 += s12 * 470296; s2 += s12 * 654183; @@ -2229,7 +2218,6 @@ void sc_reduce(unsigned char *s) s4 += s12 * 136657; s5 -= s12 * 683901; - carry0 = s0 >> 21; s1 += carry0; s0 -= carry0 * (1L << 21); carry1 = s1 >> 21; s2 += carry1; s1 -= carry1 * (1L << 21); carry2 = s2 >> 21; s3 += carry2; s2 -= carry2 * (1L << 21);