summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2024-11-22 17:27:05 +0000
committertb <>2024-11-22 17:27:05 +0000
commit4787a29394447314961ded43341dc5753d61eb08 (patch)
treefce37263afeef940f7494700286c03eb2dc992cb /src
parentbfef86f278f7d1d9ebade63c9d0ad4c5e4155c39 (diff)
downloadopenbsd-4787a29394447314961ded43341dc5753d61eb08.tar.gz
openbsd-4787a29394447314961ded43341dc5753d61eb08.tar.bz2
openbsd-4787a29394447314961ded43341dc5753d61eb08.zip
Comment tweak from jsing with another tweak by me
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/ec/ec_mult.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ec/ec_mult.c b/src/lib/libcrypto/ec/ec_mult.c
index 4dc5e12a46..205e04032f 100644
--- a/src/lib/libcrypto/ec/ec_mult.c
+++ b/src/lib/libcrypto/ec/ec_mult.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ec_mult.c,v 1.46 2024/11/22 17:08:13 tb Exp $ */ 1/* $OpenBSD: ec_mult.c,v 1.47 2024/11/22 17:27:05 tb Exp $ */
2/* 2/*
3 * Originally written by Bodo Moeller and Nils Larsch for the OpenSSL project. 3 * Originally written by Bodo Moeller and Nils Larsch for the OpenSSL project.
4 */ 4 */
@@ -127,7 +127,7 @@ ec_compute_wNAF(const BIGNUM *bn, signed char **out_wNAF, size_t *out_wNAF_len,
127 mask = next - 1; 127 mask = next - 1;
128 128
129 129
130 /* Extract the wbits + 1 lowest bits without using BIGNUM internals. */ 130 /* Extract the wbits + 1 lowest bits from bn into window. */
131 window = 0; 131 window = 0;
132 for (i = 0; i < wbits + 1; i++) { 132 for (i = 0; i < wbits + 1; i++) {
133 if (BN_is_bit_set(bn, i)) 133 if (BN_is_bit_set(bn, i))