@@ -205,7 +205,7 @@ AC_ARG_ENABLE(module_surjectionproof,
205
205
AC_ARG_ENABLE ( reduced_surjection_proof_size ,
206
206
AS_HELP_STRING ( [ --enable-reduced-surjection-proof-size] ,[ use reduced surjection proof size (disabling parsing and verification) [ default=no] ] ) ,
207
207
[ ] ,
208
- [ SECP_SET_DEFAULT([ use_reduced_surjection_proof_size ] , [ no] , [ no] )] )
208
+ [ SECP_SET_DEFAULT([ enable_reduced_surjection_proof_size ] , [ no] , [ no] )] )
209
209
210
210
AC_ARG_ENABLE ( module_whitelist ,
211
211
AS_HELP_STRING ( [ --enable-module-whitelist] ,[ enable key whitelisting module [ default=no] ] ) ,
@@ -526,7 +526,7 @@ if test x"$enable_external_default_callbacks" = x"yes"; then
526
526
SECP_CONFIG_DEFINES="$SECP_CONFIG_DEFINES -DUSE_EXTERNAL_DEFAULT_CALLBACKS=1"
527
527
fi
528
528
529
- if test x"$use_reduced_surjection_proof_size " = x"yes"; then
529
+ if test x"$enable_reduced_surjection_proof_size " = x"yes"; then
530
530
SECP_CONFIG_DEFINES="$SECP_CONFIG_DEFINES -DUSE_REDUCED_SURJECTION_PROOF_SIZE=1"
531
531
fi
532
532
@@ -622,10 +622,17 @@ echo " module recovery = $enable_module_recovery"
622
622
echo " module extrakeys = $enable_module_extrakeys"
623
623
echo " module schnorrsig = $enable_module_schnorrsig"
624
624
echo " module ellswift = $enable_module_ellswift"
625
- # libsecp256k1-zkp modules, in the order they were added to the library
625
+ # libsecp256k1-zkp modules come after the upstream modules, in the order they
626
+ # were added to the libsecp256k1-zkp. The order in which all modules (upstream
627
+ # and ours) are listed here should be considered the canonical order. This order
628
+ # (or, when appropriate, its reserve) should be used everywhere we list modules,
629
+ # i.e., here and in other build system files and docs.
626
630
echo " module generator = $enable_module_generator"
627
631
echo " module rangeproof = $enable_module_rangeproof"
628
632
echo " module surjectionproof = $enable_module_surjectionproof"
633
+ if test x"$enable_module_surjectionproof" = x"yes" && test x"$enable_reduced_surjection_proof_size" = x"yes"; then
634
+ echo " reduced proof size = $enable_reduced_surjection_proof_size"
635
+ fi
629
636
echo " module whitelist = $enable_module_whitelist"
630
637
echo " module musig = $enable_module_musig"
631
638
echo " module ecdsa-s2c = $enable_module_ecdsa_s2c"
0 commit comments