diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2019-09-09 15:52:36 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2019-09-09 15:52:36 +0700 |
commit | 71a58e93463e0a7e4f277069f9e133a98a9a8bcb (patch) | |
tree | b14b3c28149ece39a59bf14d6f2d45bed7774dcd /crypto/src/math/ec/custom/sec/SecT193R2Curve.cs | |
parent | Add sanity checks on scalar mult. outputs (diff) | |
download | BouncyCastle.NET-ed25519-71a58e93463e0a7e4f277069f9e133a98a9a8bcb.tar.xz |
Port of strict hex decoding from bc-java
Diffstat (limited to 'crypto/src/math/ec/custom/sec/SecT193R2Curve.cs')
-rw-r--r-- | crypto/src/math/ec/custom/sec/SecT193R2Curve.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/src/math/ec/custom/sec/SecT193R2Curve.cs b/crypto/src/math/ec/custom/sec/SecT193R2Curve.cs index 46790e7e4..7f5357177 100644 --- a/crypto/src/math/ec/custom/sec/SecT193R2Curve.cs +++ b/crypto/src/math/ec/custom/sec/SecT193R2Curve.cs @@ -19,9 +19,9 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec { this.m_infinity = new SecT193R2Point(this, null, null); - this.m_a = FromBigInteger(new BigInteger(1, Hex.Decode("0163F35A5137C2CE3EA6ED8667190B0BC43ECD69977702709B"))); - this.m_b = FromBigInteger(new BigInteger(1, Hex.Decode("00C9BB9E8927D4D64C377E2AB2856A5B16E3EFB7F61D4316AE"))); - this.m_order = new BigInteger(1, Hex.Decode("010000000000000000000000015AAB561B005413CCD4EE99D5")); + this.m_a = FromBigInteger(new BigInteger(1, Hex.DecodeStrict("0163F35A5137C2CE3EA6ED8667190B0BC43ECD69977702709B"))); + this.m_b = FromBigInteger(new BigInteger(1, Hex.DecodeStrict("00C9BB9E8927D4D64C377E2AB2856A5B16E3EFB7F61D4316AE"))); + this.m_order = new BigInteger(1, Hex.DecodeStrict("010000000000000000000000015AAB561B005413CCD4EE99D5")); this.m_cofactor = BigInteger.Two; this.m_coord = SECT193R2_DEFAULT_COORDS; |