1
0

ecc: add bindings for schnorr sign/verify

and require "schnorrsig" and "extrakeys" modules of libsecp256k1
This commit is contained in:
SomberNight
2024-04-11 13:09:57 +00:00
parent 5f95d919df
commit 44e27ac8b5
5 changed files with 166 additions and 1 deletions

View File

@@ -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()

View File

@@ -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 \