diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2021-04-27 00:40:40 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-04-27 00:40:40 +0200 |
commit | e52e43c72f9dce8bc524a8e6770e6abe3e97db09 (patch) | |
tree | 887b16d00c444ec4951f50ad91541ebebcdff95f /networking/tls_fe.c | |
parent | d728a30c211c2df6adccd64c6e2fc23387b341f2 (diff) | |
download | busybox-w32-e52e43c72f9dce8bc524a8e6770e6abe3e97db09.tar.gz busybox-w32-e52e43c72f9dce8bc524a8e6770e6abe3e97db09.tar.bz2 busybox-w32-e52e43c72f9dce8bc524a8e6770e6abe3e97db09.zip |
tls: whitespace fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/tls_fe.c')
-rw-r--r-- | networking/tls_fe.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/networking/tls_fe.c b/networking/tls_fe.c index 3b3578c0d..e96b33225 100644 --- a/networking/tls_fe.c +++ b/networking/tls_fe.c | |||
@@ -64,8 +64,8 @@ static void fprime_select(byte *dst, const byte *zero, const byte *one, byte con | |||
64 | #endif | 64 | #endif |
65 | 65 | ||
66 | static void fe_select(byte *dst, | 66 | static void fe_select(byte *dst, |
67 | const byte *zero, const byte *one, | 67 | const byte *zero, const byte *one, |
68 | byte condition) | 68 | byte condition) |
69 | { | 69 | { |
70 | const byte mask = -condition; | 70 | const byte mask = -condition; |
71 | int i; | 71 | int i; |
@@ -163,11 +163,11 @@ static void fprime_mul(byte *r, const byte *a, const byte *b, | |||
163 | const byte bit = (b[i >> 3] >> (i & 7)) & 1; | 163 | const byte bit = (b[i >> 3] >> (i & 7)) & 1; |
164 | byte plusa[F25519_SIZE]; | 164 | byte plusa[F25519_SIZE]; |
165 | 165 | ||
166 | for (j = 0; j < F25519_SIZE; j++) { | 166 | for (j = 0; j < F25519_SIZE; j++) { |
167 | c |= ((word16)r[j]) << 1; | 167 | c |= ((word16)r[j]) << 1; |
168 | r[j] = (byte)c; | 168 | r[j] = (byte)c; |
169 | c >>= 8; | 169 | c >>= 8; |
170 | } | 170 | } |
171 | raw_try_sub(r, modulus); | 171 | raw_try_sub(r, modulus); |
172 | 172 | ||
173 | fprime_copy(plusa, r); | 173 | fprime_copy(plusa, r); |
@@ -315,7 +315,7 @@ static void fe_mul__distinct(byte *r, const byte *a, const byte *b) | |||
315 | 315 | ||
316 | for (; j < F25519_SIZE; j++) | 316 | for (; j < F25519_SIZE; j++) |
317 | c += ((word32)a[j]) * | 317 | c += ((word32)a[j]) * |
318 | ((word32)b[i + F25519_SIZE - j]) * 38; | 318 | ((word32)b[i + F25519_SIZE - j]) * 38; |
319 | 319 | ||
320 | r[i] = c; | 320 | r[i] = c; |
321 | } | 321 | } |
@@ -474,9 +474,9 @@ static void fe_sqrt(byte *r, const byte *a) | |||
474 | 474 | ||
475 | /* Differential addition */ | 475 | /* Differential addition */ |
476 | static void xc_diffadd(byte *x5, byte *z5, | 476 | static void xc_diffadd(byte *x5, byte *z5, |
477 | const byte *x1, const byte *z1, | 477 | const byte *x1, const byte *z1, |
478 | const byte *x2, const byte *z2, | 478 | const byte *x2, const byte *z2, |
479 | const byte *x3, const byte *z3) | 479 | const byte *x3, const byte *z3) |
480 | { | 480 | { |
481 | /* Explicit formulas database: dbl-1987-m3 | 481 | /* Explicit formulas database: dbl-1987-m3 |
482 | * | 482 | * |
@@ -516,7 +516,7 @@ static void xc_diffadd(byte *x5, byte *z5, | |||
516 | 516 | ||
517 | /* Double an X-coordinate */ | 517 | /* Double an X-coordinate */ |
518 | static void xc_double(byte *x3, byte *z3, | 518 | static void xc_double(byte *x3, byte *z3, |
519 | const byte *x1, const byte *z1) | 519 | const byte *x1, const byte *z1) |
520 | { | 520 | { |
521 | /* Explicit formulas database: dbl-1987-m | 521 | /* Explicit formulas database: dbl-1987-m |
522 | * | 522 | * |