Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/main/java/org/bouncycastle/math/ec/custom/sec/SecP224K1Point.java')
-rw-r--r--core/src/main/java/org/bouncycastle/math/ec/custom/sec/SecP224K1Point.java19
1 files changed, 1 insertions, 18 deletions
diff --git a/core/src/main/java/org/bouncycastle/math/ec/custom/sec/SecP224K1Point.java b/core/src/main/java/org/bouncycastle/math/ec/custom/sec/SecP224K1Point.java
index 9c955605..114623dc 100644
--- a/core/src/main/java/org/bouncycastle/math/ec/custom/sec/SecP224K1Point.java
+++ b/core/src/main/java/org/bouncycastle/math/ec/custom/sec/SecP224K1Point.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 SecP224K1Point extends ECPoint
+public class SecP224K1Point extends ECPoint.AbstractFp
{
/**
* Create a point which encodes with point compression.
@@ -65,11 +65,6 @@ public class SecP224K1Point extends ECPoint
return new SecP224K1Point(null, getAffineXCoord(), getAffineYCoord());
}
- protected boolean getCompressionYTilde()
- {
- return this.getAffineYCoord().testBitZero();
- }
-
// B.3 pg 62
public ECPoint add(ECPoint b)
{
@@ -291,18 +286,6 @@ public class SecP224K1Point extends ECPoint
return twice().add(this);
}
- // D.3.2 pg 102 (see Note:)
- public ECPoint subtract(ECPoint b)
- {
- if (b.isInfinity())
- {
- return this;
- }
-
- // Add -b
- return add(b.negate());
- }
-
public ECPoint negate()
{
if (this.isInfinity())