diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2014-01-21 15:38:03 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2014-01-21 15:38:03 +0700 |
commit | 408f10c7d0a6b906891cee6614e8b63ef2a1cf0f (patch) | |
tree | b23fb6e4c28679e9fd251ae18f11c65ecd5bb47b /crypto/src/math/ec | |
parent | Merge branch 'master' of git.bouncycastle.org:bc-csharp (diff) | |
download | BouncyCastle.NET-ed25519-408f10c7d0a6b906891cee6614e8b63ef2a1cf0f.tar.xz |
Make typed Equals methods public (and virtual)
Diffstat (limited to 'crypto/src/math/ec')
-rw-r--r-- | crypto/src/math/ec/ECFieldElement.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/src/math/ec/ECFieldElement.cs b/crypto/src/math/ec/ECFieldElement.cs index 180f97fd5..cc5050002 100644 --- a/crypto/src/math/ec/ECFieldElement.cs +++ b/crypto/src/math/ec/ECFieldElement.cs @@ -53,7 +53,7 @@ namespace Org.BouncyCastle.Math.EC return Equals(other); } - protected virtual bool Equals( + public virtual bool Equals( ECFieldElement other) { return ToBigInteger().Equals(other.ToBigInteger()); @@ -379,7 +379,7 @@ namespace Org.BouncyCastle.Math.EC return Equals(other); } - protected bool Equals( + public virtual bool Equals( FpFieldElement other) { return q.Equals(other.q) && base.Equals(other); @@ -1255,7 +1255,7 @@ namespace Org.BouncyCastle.Math.EC return Equals(other); } - protected bool Equals( + public virtual bool Equals( F2mFieldElement other) { return m == other.m |