diff options
-rw-r--r-- | core/src/main/java/org/bouncycastle/math/ec/ECCurve.java | 4 | ||||
-rw-r--r-- | core/src/main/java/org/bouncycastle/math/ec/ECPoint.java | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/core/src/main/java/org/bouncycastle/math/ec/ECCurve.java b/core/src/main/java/org/bouncycastle/math/ec/ECCurve.java index 9ddbc993..4bd2fd2a 100644 --- a/core/src/main/java/org/bouncycastle/math/ec/ECCurve.java +++ b/core/src/main/java/org/bouncycastle/math/ec/ECCurve.java @@ -454,7 +454,7 @@ public abstract class ECCurve protected ECPoint decompressPoint(int yTilde, BigInteger X1) { - ECFieldElement x = fromBigInteger(X1); + ECFieldElement x = this.fromBigInteger(X1); ECFieldElement rhs = x.square().add(a).multiply(x).add(b); ECFieldElement y = rhs.sqrt(); @@ -472,7 +472,7 @@ public abstract class ECCurve y = y.negate(); } - return createRawPoint(x, y, true); + return this.createRawPoint(x, y, true); } } diff --git a/core/src/main/java/org/bouncycastle/math/ec/ECPoint.java b/core/src/main/java/org/bouncycastle/math/ec/ECPoint.java index f4c1d80d..ec320f00 100644 --- a/core/src/main/java/org/bouncycastle/math/ec/ECPoint.java +++ b/core/src/main/java/org/bouncycastle/math/ec/ECPoint.java @@ -534,7 +534,7 @@ public abstract class ECPoint ECFieldElement X = this.x, Y = this.y, A = curve.getA(), B = curve.getB(); ECFieldElement lhs = Y.square(); - switch (getCurveCoordinateSystem()) + switch (this.getCurveCoordinateSystem()) { case ECCurve.COORD_AFFINE: break; @@ -579,7 +579,7 @@ public abstract class ECPoint } // Add -b - return add(b.negate()); + return this.add(b.negate()); } } @@ -1347,7 +1347,7 @@ public abstract class ECPoint protected boolean satisfiesCurveEquation() { - ECCurve curve = getCurve(); + ECCurve curve = this.getCurve(); ECFieldElement X = this.x, A = curve.getA(), B = curve.getB(); int coord = curve.getCoordinateSystem(); |