summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bn/bn_mont.c
diff options
context:
space:
mode:
authortb <>2023-03-26 19:09:42 +0000
committertb <>2023-03-26 19:09:42 +0000
commit9b31f9948a949769a2079f7e09b17226e584993d (patch)
tree5064ac55b84d6c0dbded1f97370b2ed9c5840a42 /src/lib/libcrypto/bn/bn_mont.c
parent3d89c2c784f0833844993c6b017566209f36071e (diff)
downloadopenbsd-9b31f9948a949769a2079f7e09b17226e584993d.tar.gz
openbsd-9b31f9948a949769a2079f7e09b17226e584993d.tar.bz2
openbsd-9b31f9948a949769a2079f7e09b17226e584993d.zip
Minor whitespace tidying
Diffstat (limited to 'src/lib/libcrypto/bn/bn_mont.c')
-rw-r--r--src/lib/libcrypto/bn/bn_mont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bn/bn_mont.c b/src/lib/libcrypto/bn/bn_mont.c
index ed49ec83eb..582c8d4ef8 100644
--- a/src/lib/libcrypto/bn/bn_mont.c
+++ b/src/lib/libcrypto/bn/bn_mont.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bn_mont.c,v 1.52 2023/03/07 09:42:09 jsing Exp $ */ 1/* $OpenBSD: bn_mont.c,v 1.53 2023/03/26 19:09:42 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -354,7 +354,7 @@ bn_montgomery_multiply_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *b
354 for (i = 0; i < n_len; i++) { 354 for (i = 0; i < n_len; i++) {
355 /* Compute new t[0] * n0, as we need it inside the loop. */ 355 /* Compute new t[0] * n0, as we need it inside the loop. */
356 w = (ap[0] * bp[i] + tp[0]) * n0; 356 w = (ap[0] * bp[i] + tp[0]) * n0;
357 357
358 carry1 = carry2 = 0; 358 carry1 = carry2 = 0;
359 for (j = 0; j < n_len; j++) { 359 for (j = 0; j < n_len; j++) {
360 bn_mulw_addw_addw(ap[j], bp[i], tp[j], carry1, &carry1, &x); 360 bn_mulw_addw_addw(ap[j], bp[i], tp[j], carry1, &carry1, &x);