tangle-network / cggmp-threshold-ecdsa

MPC protocols for threshold ECDSA
GNU General Public License v3.0
46 stars 10 forks source link

refactor: ZK proofs #48

Closed ivokub closed 8 months ago

ivokub commented 8 months ago

Summary of changes

This PR is a duplicate of #44, but with branch pushed to upstream.

I created new crate tss-core to include the utility functions, Ring-Pedersen parameter definition and ZK proofs. I also refactored the ZK proofs defined in CGGMP paper to tss-core crate and matched the definitions (naming etc.). Added pi-prm and pi-fac ZK proofs for later incorporating in the CGGMP key generation protocol to show the correctness of parties parameters.

I'm in still in the process to implement CGGMP keygen, presign and sign using the protocols, which will be done in separate PRs.

Reference issue to close (if applicable)

References #41.