Skip to content

Commit

Permalink
zkp: Add Musig2 module
Browse files Browse the repository at this point in the history
squash! zkp: Add Musig2 module

Remove agg_pk from KeyAggCache

Co-authored-by: sanket1729 <[email protected]>
  • Loading branch information
GeneFerneau and sanket1729 committed Jun 14, 2022
1 parent 7caec15 commit 7ac3464
Show file tree
Hide file tree
Showing 3 changed files with 1,770 additions and 0 deletions.
1 change: 1 addition & 0 deletions contrib/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ then
alias cargo="cargo +$TOOLCHAIN"
fi


cargo --version
rustc --version

Expand Down
7 changes: 7 additions & 0 deletions src/zkp/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
mod ecdsa_adaptor;
mod generator;
#[cfg(feature = "std")]
mod musig;
#[cfg(feature = "std")]
pub use self::musig::new_musig_nonce_pair;

#[cfg(feature = "std")]
mod pedersen;
#[cfg(feature = "std")]
Expand All @@ -12,6 +17,8 @@ mod whitelist;
pub use self::ecdsa_adaptor::*;
pub use self::generator::*;
#[cfg(feature = "std")]
pub use self::musig::*;
#[cfg(feature = "std")]
pub use self::pedersen::*;
#[cfg(feature = "std")]
pub use self::rangeproof::*;
Expand Down
Loading

0 comments on commit 7ac3464

Please sign in to comment.