ecc: add bindings for schnorr sign/verify
and require "schnorrsig" and "extrakeys" modules of libsecp256k1
This commit is contained in:
@@ -10,5 +10,8 @@ class LibSecp256k1RecipePinned(LibSecp256k1Recipe):
|
||||
url = "https://github.com/bitcoin-core/secp256k1/archive/{version}.zip"
|
||||
sha512sum = "64080d7c3345fe8117787e328a09a3b493c38880cabf73d34e472ab0db4cb17ff989689f0c785680bdba39c446dc8a64d34587f4a0797b225c5687d0eb2da607"
|
||||
|
||||
# TODO: configure needs options:
|
||||
# --enable-module-extrakeys
|
||||
# --enable-module-schnorrsig
|
||||
|
||||
recipe = LibSecp256k1RecipePinned()
|
||||
|
||||
@@ -52,6 +52,8 @@ info "Building $pkgname..."
|
||||
$AUTOCONF_FLAGS \
|
||||
--prefix="$here/$pkgname/dist" \
|
||||
--enable-module-recovery \
|
||||
--enable-module-extrakeys \
|
||||
--enable-module-schnorrsig \
|
||||
--enable-experimental \
|
||||
--enable-module-ecdh \
|
||||
--disable-benchmark \
|
||||
|
||||
Reference in New Issue
Block a user