Skip to content

Commit

Permalink
secp256k1-zkp-sys: Add Rust FFI for Musig2 module
Browse files Browse the repository at this point in the history
  • Loading branch information
sanket1729 committed Jan 7, 2024
1 parent adb373a commit 163186a
Show file tree
Hide file tree
Showing 2 changed files with 383 additions and 7 deletions.
3 changes: 3 additions & 0 deletions secp256k1-zkp-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ fn main() {
.define("ENABLE_MODULE_RANGEPROOF", Some("1"))
.define("ENABLE_MODULE_ECDSA_ADAPTOR", Some("1"))
.define("ENABLE_MODULE_WHITELIST", Some("1"))
.define("ENABLE_MODULE_EXTRAKEYS", Some("1"))
.define("ENABLE_MODULE_MUSIG", Some("1"))
.define("ENABLE_MODULE_SCHNORRSIG", Some("1"))
.define("ECMULT_GEN_PREC_BITS", Some("4"))
// TODO these three should be changed to use libgmp, at least until secp PR 290 is merged
.define("USE_NUM_NONE", Some("1"))
Expand Down
Loading

0 comments on commit 163186a

Please sign in to comment.