diff options
Diffstat (limited to 'networking/tls_sp_c32.c')
-rw-r--r-- | networking/tls_sp_c32.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/networking/tls_sp_c32.c b/networking/tls_sp_c32.c index 72a3be5..1f14031 100644 --- a/networking/tls_sp_c32.c +++ b/networking/tls_sp_c32.c @@ -506,12 +506,10 @@ static void sp_256_sqr_10(sp_digit* r, const sp_digit* a) break; if (j < 0) continue; - c += ((int64_t)a[i]) * a[j] * 2; } if (i == j) - c += ((int64_t)a[i]) * a[i]; - + c += ((int64_t)a[i]) * a[i]; r[k + 2] += c >> 52; r[k + 1] = (c >> 26) & 0x3ffffff; c = (c & 0x3ffffff) << 26; |