Trust-Machines / wsts

Weighted Schnorr Threshold Signatures
Apache License 2.0
27 stars 12 forks source link

Export all of p256k1 as curve #39

Closed xoloki closed 11 months ago

xoloki commented 11 months ago

This PR exports all of the p256k dependency with the generic name curve, and updates all source files to use that path.

This will have two benefits: first, it means that we can easily replace the p256k1 dependency in the future, since the code will not be internally hardwired to use it. Also, anyone who uses this crate will not have to explicitly include the p256k1 dependency, since they will be able to refer to anything inside it using wsts::curve.