diff options
Diffstat (limited to 'core/src/main/java/org/bouncycastle/math/ec/custom/sec/SecP224R1Point.java')
-rw-r--r-- | core/src/main/java/org/bouncycastle/math/ec/custom/sec/SecP224R1Point.java | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/core/src/main/java/org/bouncycastle/math/ec/custom/sec/SecP224R1Point.java b/core/src/main/java/org/bouncycastle/math/ec/custom/sec/SecP224R1Point.java index c170f997..df10b9b4 100644 --- a/core/src/main/java/org/bouncycastle/math/ec/custom/sec/SecP224R1Point.java +++ b/core/src/main/java/org/bouncycastle/math/ec/custom/sec/SecP224R1Point.java @@ -6,7 +6,7 @@ import org.bouncycastle.math.ec.ECPoint; import org.bouncycastle.math.raw.Nat; import org.bouncycastle.math.raw.Nat224; -public class SecP224R1Point extends ECPoint +public class SecP224R1Point extends ECPoint.AbstractFp { /** * Create a point which encodes with point compression. @@ -64,11 +64,6 @@ public class SecP224R1Point extends ECPoint return new SecP224R1Point(null, getAffineXCoord(), getAffineYCoord()); } - protected boolean getCompressionYTilde() - { - return this.getAffineYCoord().testBitZero(); - } - public ECPoint add(ECPoint b) { if (this.isInfinity()) @@ -301,17 +296,6 @@ public class SecP224R1Point extends ECPoint return twice().add(this); } - public ECPoint subtract(ECPoint b) - { - if (b.isInfinity()) - { - return this; - } - - // Add -b - return add(b.negate()); - } - public ECPoint negate() { if (this.isInfinity()) |