summary refs log tree commit diff
path: root/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'crypto')
-rw-r--r--crypto/src/math/ec/ECFieldElement.cs6
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