summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--crypto/src/asn1/gm/GMNamedCurves.cs1
-rw-r--r--crypto/src/crypto/ec/CustomNamedCurves.cs5
-rw-r--r--crypto/src/util/encoders/Hex.cs1
3 files changed, 0 insertions, 7 deletions
diff --git a/crypto/src/asn1/gm/GMNamedCurves.cs b/crypto/src/asn1/gm/GMNamedCurves.cs

index 97485e258..866733cc6 100644 --- a/crypto/src/asn1/gm/GMNamedCurves.cs +++ b/crypto/src/asn1/gm/GMNamedCurves.cs
@@ -4,7 +4,6 @@ using System.Collections; using Org.BouncyCastle.Asn1.X9; using Org.BouncyCastle.Math; using Org.BouncyCastle.Math.EC; -using Org.BouncyCastle.Math.EC.Endo; using Org.BouncyCastle.Math.EC.Multiplier; using Org.BouncyCastle.Utilities; using Org.BouncyCastle.Utilities.Collections; diff --git a/crypto/src/crypto/ec/CustomNamedCurves.cs b/crypto/src/crypto/ec/CustomNamedCurves.cs
index a508a4252..0eee66a33 100644 --- a/crypto/src/crypto/ec/CustomNamedCurves.cs +++ b/crypto/src/crypto/ec/CustomNamedCurves.cs
@@ -41,11 +41,6 @@ namespace Org.BouncyCastle.Crypto.EC return c.Configure().SetEndomorphism(new GlvTypeBEndomorphism(c, p)).Create(); } - private static BigInteger FromHex(string hex) - { - return new BigInteger(1, Hex.DecodeStrict(hex)); - } - /* * curve25519 */ diff --git a/crypto/src/util/encoders/Hex.cs b/crypto/src/util/encoders/Hex.cs
index dc4871352..0b2a48995 100644 --- a/crypto/src/util/encoders/Hex.cs +++ b/crypto/src/util/encoders/Hex.cs
@@ -1,6 +1,5 @@ using System; using System.IO; -using System.Text; namespace Org.BouncyCastle.Utilities.Encoders {