Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com>
  • Loading branch information
Pratyush and ValarDragon authored Feb 5, 2021
1 parent ea6448e commit 68eb904
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ec/src/models/short_weierstrass_jacobian.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,10 @@ impl<P: Parameters> GroupAffine<P> {
true
} else {
// Check that the point is on the curve
// y2 = y^2
let mut y2 = self.y;
y2.square_in_place();
// x3b = x^3 + Ax + b
let mut x3b = self.x;
x3b.square_in_place();
x3b *= &self.x;
Expand Down

0 comments on commit 68eb904

Please sign in to comment.