summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2024-11-10 05:59:35 +0000
committertb <>2024-11-10 05:59:35 +0000
commit4a2f98c12c8b8ffbfb725a6edb8ff4342f85a567 (patch)
treec588d352015ffc60cbbce80eeadfe9f1b30cf2da /src/lib
parent2be16782db87a752c7a50f50631da0e90b77d5c3 (diff)
downloadopenbsd-4a2f98c12c8b8ffbfb725a6edb8ff4342f85a567.tar.gz
openbsd-4a2f98c12c8b8ffbfb725a6edb8ff4342f85a567.tar.bz2
openbsd-4a2f98c12c8b8ffbfb725a6edb8ff4342f85a567.zip
Wrap comment badly mistreated by an autoformatter due to missing /*-
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/ec/ec_mult.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ec/ec_mult.c b/src/lib/libcrypto/ec/ec_mult.c
index a74c00d7dc..d810879d68 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.32 2024/11/10 00:46:57 tb Exp $ */ 1/* $OpenBSD: ec_mult.c,v 1.33 2024/11/10 05:59:35 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 */
@@ -350,8 +350,11 @@ ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
350 goto err; 350 goto err;
351 351
352 /* 352 /*
353 * prepare precomputed values: val_sub[i][0] := points[i] 353 * prepare precomputed values:
354 * val_sub[i][1] := 3 * points[i] val_sub[i][2] := 5 * points[i] ... 354 * val_sub[i][0] := points[i]
355 * val_sub[i][1] := 3 * points[i]
356 * val_sub[i][2] := 5 * points[i]
357 * ...
355 */ 358 */
356 for (i = 0; i < num + num_scalar; i++) { 359 for (i = 0; i < num + num_scalar; i++) {
357 if (i < num) { 360 if (i < num) {