diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/bn/bn_mont.c | 4 |
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 f6ca5a34f1..6194e09953 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.58 2023/04/25 17:20:24 tb Exp $ */ | 1 | /* $OpenBSD: bn_mont.c,v 1.59 2023/04/30 05:21:20 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 | * |
@@ -351,7 +351,7 @@ bn_montgomery_multiply_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *b | |||
351 | 351 | ||
352 | /* Compute new t[0] * n0, as we need it inside the loop. */ | 352 | /* Compute new t[0] * n0, as we need it inside the loop. */ |
353 | w = (a0 * b + tp[0]) * n0; | 353 | w = (a0 * b + tp[0]) * n0; |
354 | 354 | ||
355 | for (j = 0; j < n_len; j++) { | 355 | for (j = 0; j < n_len; j++) { |
356 | bn_mulw_addw_addw(ap[j], b, tp[j], carry_a, &carry_a, &x); | 356 | bn_mulw_addw_addw(ap[j], b, tp[j], carry_a, &carry_a, &x); |
357 | bn_mulw_addw_addw(np[j], w, x, carry_n, &carry_n, &tp[j]); | 357 | bn_mulw_addw_addw(np[j], w, x, carry_n, &carry_n, &tp[j]); |