diff --git a/CHANGELOG.md b/CHANGELOG.md index a71033e5..3cb86829 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## v0.8.0-rc3 +* Fix point subtraction. Bug was introduced in `v0.8.0-rc1`. [#127] + +[#127]: https://github.com/ZenGo-X/curv/pull/127 + ## v0.8.0-rc2 * Remove dependency on `ring_algorithm` crate [#125], [#124] diff --git a/Cargo.toml b/Cargo.toml index 3a6d6003..f0397c74 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "curv-kzen" -version = "0.8.0-rc2" +version = "0.8.0-rc3" edition = "2018" authors = [ "Omer Shlomovits", diff --git a/src/elliptic/curves/wrappers/arithmetic.rs b/src/elliptic/curves/wrappers/arithmetic.rs index d25b7003..4a4d99bb 100644 --- a/src/elliptic/curves/wrappers/arithmetic.rs +++ b/src/elliptic/curves/wrappers/arithmetic.rs @@ -170,10 +170,10 @@ matrix! { (o_<> Point, Point), (o_<> Point, &Point), (o_<> Point, Generator), - (_o<> &Point, Point), (r_<> &Point, &Point), + (r_<> &Point, Point), (r_<> &Point, &Point), (r_<> &Point, Generator), - (_o<> Generator, Point), (r_<> Generator, &Point), + (r_<> Generator, Point), (r_<> Generator, &Point), (r_<> Generator, Generator), } } @@ -222,7 +222,7 @@ matrix! { point_assign_fn = sub_assign, pairs = { (o_<> Scalar, Scalar), (o_<> Scalar, &Scalar), - (_o<> &Scalar, Scalar), (r_<> &Scalar, &Scalar), + (r_<> &Scalar, Scalar), (r_<> &Scalar, &Scalar), } }