From 71a58e93463e0a7e4f277069f9e133a98a9a8bcb Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Mon, 9 Sep 2019 15:52:36 +0700 Subject: Port of strict hex decoding from bc-java --- crypto/src/math/ec/custom/sec/SecT113R1Curve.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crypto/src/math/ec/custom/sec/SecT113R1Curve.cs') diff --git a/crypto/src/math/ec/custom/sec/SecT113R1Curve.cs b/crypto/src/math/ec/custom/sec/SecT113R1Curve.cs index ea9ea0b0c..492b1d8b5 100644 --- a/crypto/src/math/ec/custom/sec/SecT113R1Curve.cs +++ b/crypto/src/math/ec/custom/sec/SecT113R1Curve.cs @@ -19,9 +19,9 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec { this.m_infinity = new SecT113R1Point(this, null, null); - this.m_a = FromBigInteger(new BigInteger(1, Hex.Decode("003088250CA6E7C7FE649CE85820F7"))); - this.m_b = FromBigInteger(new BigInteger(1, Hex.Decode("00E8BEE4D3E2260744188BE0E9C723"))); - this.m_order = new BigInteger(1, Hex.Decode("0100000000000000D9CCEC8A39E56F")); + this.m_a = FromBigInteger(new BigInteger(1, Hex.DecodeStrict("003088250CA6E7C7FE649CE85820F7"))); + this.m_b = FromBigInteger(new BigInteger(1, Hex.DecodeStrict("00E8BEE4D3E2260744188BE0E9C723"))); + this.m_order = new BigInteger(1, Hex.DecodeStrict("0100000000000000D9CCEC8A39E56F")); this.m_cofactor = BigInteger.Two; this.m_coord = SECT113R1_DEFAULT_COORDS; -- cgit 1.4.1