dfns / cggmp21

State-of-art threshold ECDSA in Rust
Apache License 2.0
43 stars 6 forks source link

Key refresh w/o aux data (re)gen #22

Open survived opened 1 year ago

survived commented 1 year ago

We want to be able to run key refresh protocol w/o aux data (re)gen. There are two approaches to do so:

  1. Delete aux (re)gen part from existing key refresh implementation \ If one needs to crry out key refresh & aux data (re)gen simultaneously, they would need to run two protocol separately (can be done in parallel). In other cases, when user needs to run either of the protocols, they just run it directly.
  2. Add a bunch of conditions, so key refresh is configurable (whether we want to carry out exact part of the protocol, etc.)

We need to pick whatever approach that produces clearer and simpler code, with the fewest code duplication