ZenGo-X / curv

Rust language general purpose elliptic curve cryptography.
MIT License
264 stars 111 forks source link

Implement RingNormalize for BigInt wrappers. #149

Closed tmpfs closed 2 years ago

tmpfs commented 2 years ago

This is so that we can get the class library compiling (see https://github.com/ZenGo-X/class/pull/52) which in turn should allow us to update multi-party-ecdsa to curv@0.8.

Note that I had to add a dependency on ring-algorithm to implement the trait so now may be a good time to remove the code in arithmetic::big_native::ring_algorithms and use the functions provided by the ring-algorithm library instead unless of course there is a good reason not to.

tmpfs commented 2 years ago

This is no longer necessary as the class library now includes a copy of chinese_remainder_theorem and no longer depends upon ring-algorithm.