Open tjade273 opened 2 years ago
In the documentation for check_point_order_equals_group_order, https://github.com/ZenGo-X/curv/blob/44537a746292be65961e9c38191319c17a3d2977/src/elliptic/curves/traits.rs#L185
check_point_order_equals_group_order
should presumably read
/// P ≠ 0 ∧ qP = 0
The implementation appears to be correct, so just a simple doc fix should suffice.
In addition, https://github.com/ZenGo-X/curv/blob/44537a746292be65961e9c38191319c17a3d2977/src/elliptic/curves/bls12_381/g2.rs#L249
should say G2 instead of G1
G2
G1
Thanks @tjade273 , feel free to open a PR :)
In the documentation for
check_point_order_equals_group_order
, https://github.com/ZenGo-X/curv/blob/44537a746292be65961e9c38191319c17a3d2977/src/elliptic/curves/traits.rs#L185should presumably read
The implementation appears to be correct, so just a simple doc fix should suffice.