Skip to content

Commit a112503

Browse files
committed
(actually) remove schnorrsig module
1 parent bac746c commit a112503

File tree

12 files changed

+0
-1394
lines changed

12 files changed

+0
-1394
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ bench_ecdh
33
bench_ecmult
44
bench_generator
55
bench_rangeproof
6-
bench_schnorrsig
76
bench_sign
87
bench_verify
98
bench_recover

Makefile.am

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,6 @@ if ENABLE_MODULE_ECDH
151151
include src/modules/ecdh/Makefile.am.include
152152
endif
153153

154-
if ENABLE_MODULE_SCHNORRSIG
155-
include src/modules/schnorrsig/Makefile.am.include
156-
endif
157-
158154
#if ENABLE_MODULE_MUSIG
159155
#include src/modules/musig/Makefile.am.include
160156
#endif

configure.ac

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,6 @@ AC_ARG_ENABLE(module_ecdh,
131131
[enable_module_ecdh=$enableval],
132132
[enable_module_ecdh=no])
133133

134-
AC_ARG_ENABLE(module_schnorrsig,
135-
AS_HELP_STRING([--enable-module-schnorrsig],[enable schnorrsig module (experimental)]),
136-
[enable_module_schnorrsig=$enableval],
137-
[enable_module_schnorrsig=no])
138-
139134
#AC_ARG_ENABLE(module_musig,
140135
# AS_HELP_STRING([--enable-module-musig],[enable MuSig module (experimental)]),
141136
# [enable_module_musig=$enableval],
@@ -464,10 +459,6 @@ if test x"$enable_module_ecdh" = x"yes"; then
464459
AC_DEFINE(ENABLE_MODULE_ECDH, 1, [Define this symbol to enable the ECDH module])
465460
fi
466461

467-
if test x"$enable_module_schnorrsig" = x"yes"; then
468-
AC_DEFINE(ENABLE_MODULE_SCHNORRSIG, 1, [Define this symbol to enable the schnorrsig module])
469-
fi
470-
471462
#if test x"$enable_module_musig" = x"yes"; then
472463
# AC_DEFINE(ENABLE_MODULE_MUSIG, 1, [Define this symbol to enable the MuSig module])
473464
#fi
@@ -513,7 +504,6 @@ if test x"$enable_experimental" = x"yes"; then
513504
AC_MSG_NOTICE([Building range proof module: $enable_module_rangeproof])
514505
AC_MSG_NOTICE([Building key whitelisting module: $enable_module_whitelist])
515506
AC_MSG_NOTICE([Building surjection proof module: $enable_module_surjectionproof])
516-
AC_MSG_NOTICE([Building schnorrsig module: $enable_module_schnorrsig])
517507
# AC_MSG_NOTICE([Building MuSig module: $enable_module_musig])
518508
AC_MSG_NOTICE([******])
519509

@@ -542,9 +532,6 @@ else
542532
if test x"$enable_module_ecdh" = x"yes"; then
543533
AC_MSG_ERROR([ECDH module is experimental. Use --enable-experimental to allow.])
544534
fi
545-
if test x"$enable_module_schnorrsig" = x"yes"; then
546-
AC_MSG_ERROR([schnorrsig module is experimental. Use --enable-experimental to allow.])
547-
fi
548535
# if test x"$enable_module_musig" = x"yes"; then
549536
# AC_MSG_ERROR([MuSig module is experimental. Use --enable-experimental to allow.])
550537
# fi
@@ -577,7 +564,6 @@ AM_CONDITIONAL([USE_EXHAUSTIVE_TESTS], [test x"$use_exhaustive_tests" != x"no"])
577564
AM_CONDITIONAL([USE_BENCHMARK], [test x"$use_benchmark" = x"yes"])
578565
AM_CONDITIONAL([USE_ECMULT_STATIC_PRECOMPUTATION], [test x"$set_precomp" = x"yes"])
579566
AM_CONDITIONAL([ENABLE_MODULE_ECDH], [test x"$enable_module_ecdh" = x"yes"])
580-
AM_CONDITIONAL([ENABLE_MODULE_SCHNORRSIG], [test x"$enable_module_schnorrsig" = x"yes"])
581567
#AM_CONDITIONAL([ENABLE_MODULE_MUSIG], [test x"$enable_module_musig" = x"yes"])
582568
AM_CONDITIONAL([ENABLE_MODULE_RECOVERY], [test x"$enable_module_recovery" = x"yes"])
583569
AM_CONDITIONAL([ENABLE_MODULE_GENERATOR], [test x"$enable_module_generator" = x"yes"])
@@ -604,7 +590,6 @@ echo " with benchmarks = $use_benchmark"
604590
echo " with coverage = $enable_coverage"
605591
echo " module ecdh = $enable_module_ecdh"
606592
echo " module recovery = $enable_module_recovery"
607-
echo " module schnorrsig = $enable_module_schnorrsig"
608593
echo
609594
echo " asm = $set_asm"
610595
echo " bignum = $set_bignum"

contrib/travis.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ fi
1818
--enable-ecmult-static-precomputation="$STATICPRECOMPUTATION" --with-ecmult-gen-precision="$ECMULTGENPRECISION" \
1919
--enable-module-ecdh="$ECDH" --enable-module-recovery="$RECOVERY" \
2020
--enable-module-rangeproof="$RANGEPROOF" --enable-module-whitelist="$WHITELIST" --enable-module-generator="$GENERATOR" \
21-
--enable-module-schnorrsig="$SCHNORRSIG" \
2221
--host="$HOST" $EXTRAFLAGS
2322

2423
if [ -n "$BUILD" ]

include/secp256k1.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -525,12 +525,6 @@ SECP256K1_API int secp256k1_ecdsa_signature_normalize(
525525
*/
526526
SECP256K1_API extern const secp256k1_nonce_function secp256k1_nonce_function_rfc6979;
527527

528-
/** An implementation of the nonce generation function as defined in BIP-schnorr.
529-
* If a data pointer is passed, it is assumed to be a pointer to 32 bytes of
530-
* extra entropy.
531-
*/
532-
SECP256K1_API extern const secp256k1_nonce_function secp256k1_nonce_function_bipschnorr;
533-
534528
/** A default safe nonce generation function (currently equal to secp256k1_nonce_function_rfc6979). */
535529
SECP256K1_API extern const secp256k1_nonce_function secp256k1_nonce_function_default;
536530

include/secp256k1_schnorrsig.h

Lines changed: 0 additions & 129 deletions
This file was deleted.

src/bench_schnorrsig.c

Lines changed: 0 additions & 129 deletions
This file was deleted.

src/modules/schnorrsig/Makefile.am.include

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)