Skip to content

Commit 959b070

Browse files
committed
New Experimental Module: Incremental Half-Aggregation for Schnorr Signatures
1 parent eb4fb6d commit 959b070

File tree

10 files changed

+791
-41
lines changed

10 files changed

+791
-41
lines changed

.github/workflows/ci.yml

+22-11
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ env:
3232
ECDH: 'no'
3333
RECOVERY: 'no'
3434
SCHNORRSIG: 'no'
35+
SCHNORRSIG_HALFAGG: 'no'
3536
ELLSWIFT: 'no'
3637
ECDSA_S2C: 'no'
3738
GENERATOR: 'no'
@@ -78,14 +79,14 @@ jobs:
7879
matrix:
7980
configuration:
8081
- env_vars: { WIDEMUL: 'int64', RECOVERY: 'yes' }
81-
- env_vars: { WIDEMUL: 'int64', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes', EXPERIMENTAL: 'yes', ECDSA_S2C: 'yes', RANGEPROOF: 'yes', WHITELIST: 'yes', GENERATOR: 'yes', MUSIG: 'yes', ECDSAADAPTOR: 'yes', BPPP: 'yes' }
82+
- env_vars: { WIDEMUL: 'int64', ECDH: 'yes', SCHNORRSIG: 'yes', SCHNORRSIG_HALFAGG: 'yes', ELLSWIFT: 'yes', EXPERIMENTAL: 'yes', ECDSA_S2C: 'yes', RANGEPROOF: 'yes', WHITELIST: 'yes', GENERATOR: 'yes', MUSIG: 'yes', ECDSAADAPTOR: 'yes', BPPP: 'yes' }
8283
- env_vars: { WIDEMUL: 'int128' }
8384
- env_vars: { WIDEMUL: 'int128_struct', ELLSWIFT: 'yes' }
8485
- env_vars: { WIDEMUL: 'int128', RECOVERY: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes' }
85-
- env_vars: { WIDEMUL: 'int128', ECDH: 'yes', SCHNORRSIG: 'yes', EXPERIMENTAL: 'yes', ECDSA_S2C: 'yes', RANGEPROOF: 'yes', WHITELIST: 'yes', GENERATOR: 'yes', MUSIG: 'yes', ECDSAADAPTOR: 'yes', BPPP: 'yes'}
86+
- env_vars: { WIDEMUL: 'int128', ECDH: 'yes', SCHNORRSIG: 'yes', SCHNORRSIG_HALFAGG: 'yes', EXPERIMENTAL: 'yes', ECDSA_S2C: 'yes', RANGEPROOF: 'yes', WHITELIST: 'yes', GENERATOR: 'yes', MUSIG: 'yes', ECDSAADAPTOR: 'yes', BPPP: 'yes'}
8687
- env_vars: { WIDEMUL: 'int128', ASM: 'x86_64', ELLSWIFT: 'yes' }
87-
- env_vars: { RECOVERY: 'yes', SCHNORRSIG: 'yes', EXPERIMENTAL: 'yes', ECDSA_S2C: 'yes', RANGEPROOF: 'yes', WHITELIST: 'yes', GENERATOR: 'yes', MUSIG: 'yes', ECDSAADAPTOR: 'yes', BPPP: 'yes'}
88-
- env_vars: { CTIMETESTS: 'no', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', EXPERIMENTAL: 'yes', ECDSA_S2C: 'yes', RANGEPROOF: 'yes', WHITELIST: 'yes', GENERATOR: 'yes', MUSIG: 'yes', ECDSAADAPTOR: 'yes', BPPP: 'yes', CPPFLAGS: '-DVERIFY' }
88+
- env_vars: { RECOVERY: 'yes', SCHNORRSIG: 'yes', SCHNORRSIG_HALFAGG: 'yes', EXPERIMENTAL: 'yes', ECDSA_S2C: 'yes', RANGEPROOF: 'yes', WHITELIST: 'yes', GENERATOR: 'yes', MUSIG: 'yes', ECDSAADAPTOR: 'yes', BPPP: 'yes'}
89+
- env_vars: { CTIMETESTS: 'no', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', SCHNORRSIG_HALFAGG: 'yes', EXPERIMENTAL: 'yes', ECDSA_S2C: 'yes', RANGEPROOF: 'yes', WHITELIST: 'yes', GENERATOR: 'yes', MUSIG: 'yes', ECDSAADAPTOR: 'yes', BPPP: 'yes', CPPFLAGS: '-DVERIFY' }
8990
- env_vars: { BUILD: 'distcheck', WITH_VALGRIND: 'no', CTIMETESTS: 'no', BENCH: 'no' }
9091
- env_vars: { CPPFLAGS: '-DDETERMINISTIC' }
9192
- env_vars: { CFLAGS: '-O0', CTIMETESTS: 'no' }
@@ -147,6 +148,7 @@ jobs:
147148
ECDH: 'yes'
148149
RECOVERY: 'yes'
149150
SCHNORRSIG: 'yes'
151+
SCHNORRSIG_HALFAGG: 'yes'
150152
ELLSWIFT: 'yes'
151153
EXPERIMENTAL: 'yes'
152154
ECDSA_S2C: 'yes'
@@ -199,6 +201,7 @@ jobs:
199201
ECDH: 'yes'
200202
RECOVERY: 'yes'
201203
SCHNORRSIG: 'yes'
204+
SCHNORRSIG_HALFAGG: 'yes'
202205
ELLSWIFT: 'yes'
203206
EXPERIMENTAL: 'yes'
204207
ECDSA_S2C: 'yes'
@@ -258,6 +261,7 @@ jobs:
258261
ECDH: 'yes'
259262
RECOVERY: 'yes'
260263
SCHNORRSIG: 'yes'
264+
SCHNORRSIG_HALFAGG: 'yes'
261265
ELLSWIFT: 'yes'
262266
EXPERIMENTAL: 'yes'
263267
ECDSA_S2C: 'yes'
@@ -311,6 +315,7 @@ jobs:
311315
ECDH: 'yes'
312316
RECOVERY: 'yes'
313317
SCHNORRSIG: 'yes'
318+
SCHNORRSIG_HALFAGG: 'yes'
314319
ELLSWIFT: 'yes'
315320
EXPERIMENTAL: 'yes'
316321
ECDSA_S2C: 'yes'
@@ -374,6 +379,7 @@ jobs:
374379
ECDH: 'yes'
375380
RECOVERY: 'yes'
376381
SCHNORRSIG: 'yes'
382+
SCHNORRSIG_HALFAGG: 'yes'
377383
ELLSWIFT: 'yes'
378384
EXPERIMENTAL: 'yes'
379385
ECDSA_S2C: 'yes'
@@ -434,6 +440,7 @@ jobs:
434440
ECDH: 'yes'
435441
RECOVERY: 'yes'
436442
SCHNORRSIG: 'yes'
443+
SCHNORRSIG_HALFAGG: 'yes'
437444
ELLSWIFT: 'yes'
438445
EXPERIMENTAL: 'yes'
439446
ECDSA_S2C: 'yes'
@@ -493,6 +500,7 @@ jobs:
493500
ECDH: 'yes'
494501
RECOVERY: 'yes'
495502
SCHNORRSIG: 'yes'
503+
SCHNORRSIG_HALFAGG: 'yes'
496504
ELLSWIFT: 'yes'
497505
EXPERIMENTAL: 'yes'
498506
ECDSA_S2C: 'yes'
@@ -558,6 +566,7 @@ jobs:
558566
ECDH: 'yes'
559567
RECOVERY: 'yes'
560568
SCHNORRSIG: 'yes'
569+
SCHNORRSIG_HALFAGG: 'yes'
561570
ELLSWIFT: 'yes'
562571
EXPERIMENTAL: 'yes'
563572
ECDSA_S2C: 'yes'
@@ -613,6 +622,7 @@ jobs:
613622
ECDH: 'yes'
614623
RECOVERY: 'yes'
615624
SCHNORRSIG: 'yes'
625+
SCHNORRSIG_HALFAGG: 'yes'
616626
ELLSWIFT: 'yes'
617627
EXPERIMENTAL: 'yes'
618628
ECDSA_S2C: 'yes'
@@ -678,15 +688,15 @@ jobs:
678688
fail-fast: false
679689
matrix:
680690
env_vars:
681-
- { WIDEMUL: 'int64', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes', EXPERIMENTAL: 'yes', ECDSA_S2C: 'yes', RANGEPROOF: 'yes', WHITELIST: 'yes', GENERATOR: 'yes', MUSIG: 'yes', ECDSAADAPTOR: 'yes', BPPP: 'yes' }
691+
- { WIDEMUL: 'int64', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', SCHNORRSIG_HALFAGG: 'yes', ELLSWIFT: 'yes', EXPERIMENTAL: 'yes', ECDSA_S2C: 'yes', RANGEPROOF: 'yes', WHITELIST: 'yes', GENERATOR: 'yes', MUSIG: 'yes', ECDSAADAPTOR: 'yes', BPPP: 'yes' }
682692
- { WIDEMUL: 'int128_struct', ECMULTGENPRECISION: 2, ECMULTWINDOW: 4 }
683-
- { WIDEMUL: 'int128', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes', EXPERIMENTAL: 'yes', ECDSA_S2C: 'yes', RANGEPROOF: 'yes', WHITELIST: 'yes', GENERATOR: 'yes', MUSIG: 'yes', ECDSAADAPTOR: 'yes', BPPP: 'yes' }
693+
- { WIDEMUL: 'int128', ECDH: 'yes', SCHNORRSIG: 'yes', SCHNORRSIG_HALFAGG: 'yes', ELLSWIFT: 'yes', EXPERIMENTAL: 'yes', ECDSA_S2C: 'yes', RANGEPROOF: 'yes', WHITELIST: 'yes', GENERATOR: 'yes', MUSIG: 'yes', ECDSAADAPTOR: 'yes', BPPP: 'yes' }
684694
- { WIDEMUL: 'int128', RECOVERY: 'yes' }
685-
- { WIDEMUL: 'int128', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes', EXPERIMENTAL: 'yes', ECDSA_S2C: 'yes', RANGEPROOF: 'yes', WHITELIST: 'yes', GENERATOR: 'yes', MUSIG: 'yes', ECDSAADAPTOR: 'yes', BPPP: 'yes' }
686-
- { WIDEMUL: 'int128', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes', EXPERIMENTAL: 'yes', ECDSA_S2C: 'yes', RANGEPROOF: 'yes', WHITELIST: 'yes', GENERATOR: 'yes', MUSIG: 'yes', ECDSAADAPTOR: 'yes', BPPP: 'yes', CC: 'gcc' }
687-
- { WIDEMUL: 'int128', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes', EXPERIMENTAL: 'yes', ECDSA_S2C: 'yes', RANGEPROOF: 'yes', WHITELIST: 'yes', GENERATOR: 'yes', MUSIG: 'yes', ECDSAADAPTOR: 'yes', BPPP: 'yes', WRAPPER_CMD: 'valgrind --error-exitcode=42', SECP256K1_TEST_ITERS: 2 }
688-
- { WIDEMUL: 'int128', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes', EXPERIMENTAL: 'yes', ECDSA_S2C: 'yes', RANGEPROOF: 'yes', WHITELIST: 'yes', GENERATOR: 'yes', MUSIG: 'yes', ECDSAADAPTOR: 'yes', BPPP: 'yes', CC: 'gcc', WRAPPER_CMD: 'valgrind --error-exitcode=42', SECP256K1_TEST_ITERS: 2 }
689-
- { WIDEMUL: 'int128', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', ELLSWIFT: 'yes', EXPERIMENTAL: 'yes', ECDSA_S2C: 'yes', RANGEPROOF: 'yes', WHITELIST: 'yes', GENERATOR: 'yes', MUSIG: 'yes', ECDSAADAPTOR: 'yes', BPPP: 'yes', CPPFLAGS: '-DVERIFY', CTIMETESTS: 'no' }
695+
- { WIDEMUL: 'int128', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', SCHNORRSIG_HALFAGG: 'yes', ELLSWIFT: 'yes', EXPERIMENTAL: 'yes', ECDSA_S2C: 'yes', RANGEPROOF: 'yes', WHITELIST: 'yes', GENERATOR: 'yes', MUSIG: 'yes', ECDSAADAPTOR: 'yes', BPPP: 'yes' }
696+
- { WIDEMUL: 'int128', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', SCHNORRSIG_HALFAGG: 'yes', ELLSWIFT: 'yes', EXPERIMENTAL: 'yes', ECDSA_S2C: 'yes', RANGEPROOF: 'yes', WHITELIST: 'yes', GENERATOR: 'yes', MUSIG: 'yes', ECDSAADAPTOR: 'yes', BPPP: 'yes', CC: 'gcc' }
697+
- { WIDEMUL: 'int128', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', SCHNORRSIG_HALFAGG: 'yes', ELLSWIFT: 'yes', EXPERIMENTAL: 'yes', ECDSA_S2C: 'yes', RANGEPROOF: 'yes', WHITELIST: 'yes', GENERATOR: 'yes', MUSIG: 'yes', ECDSAADAPTOR: 'yes', BPPP: 'yes', WRAPPER_CMD: 'valgrind --error-exitcode=42', SECP256K1_TEST_ITERS: 2 }
698+
- { WIDEMUL: 'int128', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', SCHNORRSIG_HALFAGG: 'yes', ELLSWIFT: 'yes', EXPERIMENTAL: 'yes', ECDSA_S2C: 'yes', RANGEPROOF: 'yes', WHITELIST: 'yes', GENERATOR: 'yes', MUSIG: 'yes', ECDSAADAPTOR: 'yes', BPPP: 'yes', CC: 'gcc', WRAPPER_CMD: 'valgrind --error-exitcode=42', SECP256K1_TEST_ITERS: 2 }
699+
- { WIDEMUL: 'int128', RECOVERY: 'yes', ECDH: 'yes', SCHNORRSIG: 'yes', SCHNORRSIG_HALFAGG: 'yes', ELLSWIFT: 'yes', EXPERIMENTAL: 'yes', ECDSA_S2C: 'yes', RANGEPROOF: 'yes', WHITELIST: 'yes', GENERATOR: 'yes', MUSIG: 'yes', ECDSAADAPTOR: 'yes', BPPP: 'yes', CPPFLAGS: '-DVERIFY', CTIMETESTS: 'no' }
690700
- BUILD: 'distcheck'
691701

692702
steps:
@@ -796,6 +806,7 @@ jobs:
796806
ECDH: 'yes'
797807
RECOVERY: 'yes'
798808
SCHNORRSIG: 'yes'
809+
SCHNORRSIG_HALFAGG: 'yes'
799810
ELLSWIFT: 'yes'
800811
EXPERIMENTAL: 'yes'
801812
ECDSA_S2C: 'yes'

Makefile.am

+4
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,10 @@ if ENABLE_MODULE_SCHNORRSIG
306306
include src/modules/schnorrsig/Makefile.am.include
307307
endif
308308

309+
if ENABLE_MODULE_SCHNORRSIG_HALFAGG
310+
include src/modules/schnorrsig_halfagg/Makefile.am.include
311+
endif
312+
309313
if ENABLE_MODULE_ELLSWIFT
310314
include src/modules/ellswift/Makefile.am.include
311315
endif

ci/ci.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ print_environment() {
1313
# does not rely on bash.
1414
for var in WERROR_CFLAGS MAKEFLAGS BUILD \
1515
ECMULTWINDOW ECMULTGENPRECISION ASM WIDEMUL WITH_VALGRIND EXTRAFLAGS \
16-
EXPERIMENTAL ECDH RECOVERY SCHNORRSIG ELLSWIFT \
16+
EXPERIMENTAL ECDH RECOVERY SCHNORRSIG SCHNORRSIG_HALFAGG ELLSWIFT \
1717
ECDSA_S2C GENERATOR RANGEPROOF WHITELIST MUSIG ECDSAADAPTOR BPPP \
1818
SECP256K1_TEST_ITERS BENCH SECP256K1_BENCH_ITERS CTIMETESTS\
1919
EXAMPLES \
@@ -82,6 +82,7 @@ esac
8282
--enable-module-rangeproof="$RANGEPROOF" --enable-module-whitelist="$WHITELIST" --enable-module-generator="$GENERATOR" \
8383
--enable-module-schnorrsig="$SCHNORRSIG" --enable-module-musig="$MUSIG" --enable-module-ecdsa-adaptor="$ECDSAADAPTOR" \
8484
--enable-module-schnorrsig="$SCHNORRSIG" \
85+
--enable-module-schnorrsig-halfagg="$SCHNORRSIG_HALFAGG" \
8586
--enable-examples="$EXAMPLES" \
8687
--enable-ctime-tests="$CTIMETESTS" \
8788
--with-valgrind="$WITH_VALGRIND" \

configure.ac

+43-29
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,10 @@ AC_ARG_ENABLE(module_schnorrsig,
209209
AS_HELP_STRING([--enable-module-schnorrsig],[enable schnorrsig module [default=yes]]), [],
210210
[SECP_SET_DEFAULT([enable_module_schnorrsig], [yes], [yes])])
211211

212+
AC_ARG_ENABLE(module_schnorrsig_halfagg,
213+
AS_HELP_STRING([--enable-module-schnorrsig-halfagg],[enable schnorrsig half-aggregation module (experimental) [default=no]]), [],
214+
[SECP_SET_DEFAULT([enable_module_schnorrsig_halfagg], [no], [yes])])
215+
212216
AC_ARG_ENABLE(module_ellswift,
213217
AS_HELP_STRING([--enable-module-ellswift],[enable ElligatorSwift module [default=yes]]), [],
214218
[SECP_SET_DEFAULT([enable_module_ellswift], [yes], [yes])])
@@ -485,6 +489,11 @@ if test x"$enable_module_generator" = x"yes"; then
485489
SECP_CONFIG_DEFINES="$SECP_CONFIG_DEFINES -DENABLE_MODULE_GENERATOR=1"
486490
fi
487491

492+
if test x"$enable_module_schnorrsig_halfagg" = x"yes"; then
493+
SECP_CONFIG_DEFINES="$SECP_CONFIG_DEFINES -DENABLE_MODULE_SCHNORRSIG_HALFAGG=1"
494+
enable_module_schnorrsig=yes
495+
fi
496+
488497
if test x"$enable_module_schnorrsig" = x"yes"; then
489498
SECP_CONFIG_DEFINES="$SECP_CONFIG_DEFINES -DENABLE_MODULE_SCHNORRSIG=1"
490499
enable_module_extrakeys=yes
@@ -548,6 +557,9 @@ else
548557
if test x"$enable_module_musig" = x"yes"; then
549558
AC_MSG_ERROR([MuSig module is experimental. Use --enable-experimental to allow.])
550559
fi
560+
if test x"$enable_module_schnorrsig_halfagg" = x"yes"; then
561+
AC_MSG_ERROR([Schnorrsig Half-Aggregation module is experimental. Use --enable-experimental to allow.])
562+
fi
551563
if test x"$enable_module_ecdsa_s2c" = x"yes"; then
552564
AC_MSG_ERROR([ECDSA sign-to-contract module module is experimental. Use --enable-experimental to allow.])
553565
fi
@@ -581,6 +593,7 @@ AM_CONDITIONAL([ENABLE_MODULE_RANGEPROOF], [test x"$enable_module_rangeproof" =
581593
AM_CONDITIONAL([ENABLE_MODULE_WHITELIST], [test x"$enable_module_whitelist" = x"yes"])
582594
AM_CONDITIONAL([ENABLE_MODULE_EXTRAKEYS], [test x"$enable_module_extrakeys" = x"yes"])
583595
AM_CONDITIONAL([ENABLE_MODULE_SCHNORRSIG], [test x"$enable_module_schnorrsig" = x"yes"])
596+
AM_CONDITIONAL([ENABLE_MODULE_SCHNORRSIG_HALFAGG], [test x"$enable_module_schnorrsig_halfagg" = x"yes"])
584597
AM_CONDITIONAL([ENABLE_MODULE_ELLSWIFT], [test x"$enable_module_ellswift" = x"yes"])
585598
AM_CONDITIONAL([ENABLE_MODULE_ECDSA_S2C], [test x"$enable_module_ecdsa_s2c" = x"yes"])
586599
AM_CONDITIONAL([ENABLE_MODULE_ECDSA_ADAPTOR], [test x"$enable_module_ecdsa_adaptor" = x"yes"])
@@ -597,37 +610,38 @@ AC_OUTPUT
597610

598611
echo
599612
echo "Build Options:"
600-
echo " with external callbacks = $enable_external_default_callbacks"
601-
echo " with benchmarks = $enable_benchmark"
602-
echo " with tests = $enable_tests"
603-
echo " with ctime tests = $enable_ctime_tests"
604-
echo " with coverage = $enable_coverage"
605-
echo " with examples = $enable_examples"
606-
echo " module ecdh = $enable_module_ecdh"
607-
echo " module recovery = $enable_module_recovery"
608-
echo " module extrakeys = $enable_module_extrakeys"
609-
echo " module schnorrsig = $enable_module_schnorrsig"
610-
echo " module ellswift = $enable_module_ellswift"
611-
echo " module generator = $enable_module_generator"
612-
echo " module rangeproof = $enable_module_rangeproof"
613-
echo " module surjectionproof = $enable_module_surjectionproof"
614-
echo " module whitelist = $enable_module_whitelist"
615-
echo " module musig = $enable_module_musig"
616-
echo " module ecdsa-s2c = $enable_module_ecdsa_s2c"
617-
echo " module ecdsa-adaptor = $enable_module_ecdsa_adaptor"
618-
echo " module bppp = $enable_module_bppp"
613+
echo " with external callbacks = $enable_external_default_callbacks"
614+
echo " with benchmarks = $enable_benchmark"
615+
echo " with tests = $enable_tests"
616+
echo " with ctime tests = $enable_ctime_tests"
617+
echo " with coverage = $enable_coverage"
618+
echo " with examples = $enable_examples"
619+
echo " module ecdh = $enable_module_ecdh"
620+
echo " module recovery = $enable_module_recovery"
621+
echo " module extrakeys = $enable_module_extrakeys"
622+
echo " module schnorrsig = $enable_module_schnorrsig"
623+
echo " module schnorrsig-halfagg = $enable_module_schnorrsig_halfagg"
624+
echo " module ellswift = $enable_module_ellswift"
625+
echo " module generator = $enable_module_generator"
626+
echo " module rangeproof = $enable_module_rangeproof"
627+
echo " module surjectionproof = $enable_module_surjectionproof"
628+
echo " module whitelist = $enable_module_whitelist"
629+
echo " module musig = $enable_module_musig"
630+
echo " module ecdsa-s2c = $enable_module_ecdsa_s2c"
631+
echo " module ecdsa-adaptor = $enable_module_ecdsa_adaptor"
632+
echo " module bppp = $enable_module_bppp"
619633
echo
620-
echo " asm = $set_asm"
621-
echo " ecmult window size = $set_ecmult_window"
622-
echo " ecmult gen prec. bits = $set_ecmult_gen_precision"
634+
echo " asm = $set_asm"
635+
echo " ecmult window size = $set_ecmult_window"
636+
echo " ecmult gen prec. bits = $set_ecmult_gen_precision"
623637
# Hide test-only options unless they're used.
624638
if test x"$set_widemul" != xauto; then
625-
echo " wide multiplication = $set_widemul"
639+
echo " wide multiplication = $set_widemul"
626640
fi
627641
echo
628-
echo " valgrind = $enable_valgrind"
629-
echo " CC = $CC"
630-
echo " CPPFLAGS = $CPPFLAGS"
631-
echo " SECP_CFLAGS = $SECP_CFLAGS"
632-
echo " CFLAGS = $CFLAGS"
633-
echo " LDFLAGS = $LDFLAGS"
642+
echo " valgrind = $enable_valgrind"
643+
echo " CC = $CC"
644+
echo " CPPFLAGS = $CPPFLAGS"
645+
echo " SECP_CFLAGS = $SECP_CFLAGS"
646+
echo " CFLAGS = $CFLAGS"
647+
echo " LDFLAGS = $LDFLAGS"

0 commit comments

Comments
 (0)