summaryrefslogtreecommitdiff
path: root/networking/tls_sp_c32.c
diff options
context:
space:
mode:
authorDenys Vlasenko2021-04-27 00:40:40 +0200
committerDenys Vlasenko2021-04-27 00:40:40 +0200
commite52e43c72f9dce8bc524a8e6770e6abe3e97db09 (patch)
tree887b16d00c444ec4951f50ad91541ebebcdff95f /networking/tls_sp_c32.c
parentd728a30c211c2df6adccd64c6e2fc23387b341f2 (diff)
downloadbusybox-e52e43c72f9dce8bc524a8e6770e6abe3e97db09.zip
busybox-e52e43c72f9dce8bc524a8e6770e6abe3e97db09.tar.gz
tls: whitespace fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/tls_sp_c32.c')
-rw-r--r--networking/tls_sp_c32.c4
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;