diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2014-01-26 17:47:21 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2014-01-26 17:47:21 +0700 |
commit | 6291f2a807dd1c371969dacddfa773cf674ff042 (patch) | |
tree | 7deb1ca60a9bb1364f9709fb7ee569708fef25d2 /crypto/src/math/ec/custom/sec/SecP256K1Point.cs | |
parent | Port custom curve for secp256k1 from Java (diff) | |
download | BouncyCastle.NET-ed25519-6291f2a807dd1c371969dacddfa773cf674ff042.tar.xz |
Tidy up comments
Diffstat (limited to 'crypto/src/math/ec/custom/sec/SecP256K1Point.cs')
-rw-r--r-- | crypto/src/math/ec/custom/sec/SecP256K1Point.cs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/crypto/src/math/ec/custom/sec/SecP256K1Point.cs b/crypto/src/math/ec/custom/sec/SecP256K1Point.cs index e2a22fbe7..548db535c 100644 --- a/crypto/src/math/ec/custom/sec/SecP256K1Point.cs +++ b/crypto/src/math/ec/custom/sec/SecP256K1Point.cs @@ -55,7 +55,6 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec get { return this.AffineYCoord.TestBitZero(); } } - // B.3 pg 62 public override ECPoint Add(ECPoint b) { if (this.IsInfinity) @@ -173,7 +172,6 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec return new SecP256K1Point(curve, X3, Y3, zs, IsCompressed); } - // B.3 pg 62 public override ECPoint Twice() { if (this.IsInfinity) @@ -254,13 +252,11 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec return Twice().Add(this); } - // D.3.2 pg 102 (see Note:) public override ECPoint Subtract(ECPoint b) { if (b.IsInfinity) return this; - // Add -b return Add(b.Negate()); } |