summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2023-02-15 04:46:49 +0000
committertb <>2023-02-15 04:46:49 +0000
commitcd6dc601bd1d64ecf109250bc160140d9bc3c527 (patch)
tree22e5adf1ef0b04f926b089de74a2533789749ad8 /src
parent86456540fa714e3b0f258b70360b4fddc487ff8e (diff)
downloadopenbsd-cd6dc601bd1d64ecf109250bc160140d9bc3c527.tar.gz
openbsd-cd6dc601bd1d64ecf109250bc160140d9bc3c527.tar.bz2
openbsd-cd6dc601bd1d64ecf109250bc160140d9bc3c527.zip
zap tab
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/bn/bn_internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bn/bn_internal.h b/src/lib/libcrypto/bn/bn_internal.h
index ab3efd14f4..12ea3641e6 100644
--- a/src/lib/libcrypto/bn/bn_internal.h
+++ b/src/lib/libcrypto/bn/bn_internal.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: bn_internal.h,v 1.3 2023/02/14 18:31:02 jsing Exp $ */ 1/* $OpenBSD: bn_internal.h,v 1.4 2023/02/15 04:46:49 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2023 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2023 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -156,7 +156,7 @@ bn_umul_hilo(BN_ULONG a, BN_ULONG b, BN_ULONG *out_h, BN_ULONG *out_l)
156 c2 = l & x; 156 c2 = l & x;
157 l += x; 157 l += x;
158 h += ((c1 & ~l) | c2) >> (BN_BITS2 - 1); /* carry */ 158 h += ((c1 & ~l) | c2) >> (BN_BITS2 - 1); /* carry */
159 159
160 /* (bh * al) << BN_BITS4, partition the result across h:l with carry. */ 160 /* (bh * al) << BN_BITS4, partition the result across h:l with carry. */
161 x = bh * al; 161 x = bh * al;
162 h += x >> BN_BITS4; 162 h += x >> BN_BITS4;