ZenGo-X / curv

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

curv2: fix subtraction #127

Closed survived closed 3 years ago

survived commented 3 years ago

I caught a bug — for two points a: Point<E> and b: Point<E>, expression &a - b produces wrong result (it actually returns b - a). PR fixes it.