diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2014-02-01 14:11:45 +0400 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2014-02-01 14:11:45 +0400 |
commit | 63829f86919598e3f04b00297facd32e097ec90f (patch) | |
tree | f9bc61f265d507431180b66aaa34900f6e58d6a8 /core/src/main | |
parent | 13ccbc4022c308d6a2d615949ddd72eed2b1b22e (diff) |
Code cleanup
Diffstat (limited to 'core/src/main')
-rw-r--r-- | core/src/main/java/org/bouncycastle/math/ec/custom/sec/SecP256R1FieldElement.java | 1 | ||||
-rw-r--r-- | core/src/main/java/org/bouncycastle/math/ec/custom/sec/SecP256R1Point.java | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/core/src/main/java/org/bouncycastle/math/ec/custom/sec/SecP256R1FieldElement.java b/core/src/main/java/org/bouncycastle/math/ec/custom/sec/SecP256R1FieldElement.java index c6f8986b..b01a20d6 100644 --- a/core/src/main/java/org/bouncycastle/math/ec/custom/sec/SecP256R1FieldElement.java +++ b/core/src/main/java/org/bouncycastle/math/ec/custom/sec/SecP256R1FieldElement.java @@ -121,7 +121,6 @@ public class SecP256R1FieldElement extends ECFieldElement return new SecP256R1FieldElement(z); } - // D.1.4 91 /** * return a sqrt root - the routine verifies that the calculation returns the right value - if * none exists it returns null. diff --git a/core/src/main/java/org/bouncycastle/math/ec/custom/sec/SecP256R1Point.java b/core/src/main/java/org/bouncycastle/math/ec/custom/sec/SecP256R1Point.java index 7ce96c45..fe971c27 100644 --- a/core/src/main/java/org/bouncycastle/math/ec/custom/sec/SecP256R1Point.java +++ b/core/src/main/java/org/bouncycastle/math/ec/custom/sec/SecP256R1Point.java @@ -67,7 +67,6 @@ public class SecP256R1Point extends ECPoint return this.getAffineYCoord().testBitZero(); } - // B.3 pg 62 public ECPoint add(ECPoint b) { if (this.isInfinity()) @@ -191,7 +190,6 @@ public class SecP256R1Point extends ECPoint return new SecP256R1Point(curve, X3, Y3, zs, this.withCompression); } - // B.3 pg 62 public ECPoint twice() { if (this.isInfinity()) @@ -299,7 +297,6 @@ public class SecP256R1Point extends ECPoint return twice().add(this); } - // D.3.2 pg 102 (see Note:) public ECPoint subtract(ECPoint b) { if (b.isInfinity()) |