diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2015-10-14 17:03:48 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2015-10-14 17:03:48 +0700 |
commit | 75a2a192d263c56e794be561ffbd6425ccd25b46 (patch) | |
tree | add458ad53d1aea198b54c35a4194cb6051d17cb /crypto/src/asn1/anssi/ANSSINamedCurves.cs | |
parent | Fixed single line file handling (diff) | |
download | BouncyCastle.NET-ed25519-75a2a192d263c56e794be561ffbd6425ccd25b46.tar.xz |
Port latest X9 EC stuff from Java API
Diffstat (limited to 'crypto/src/asn1/anssi/ANSSINamedCurves.cs')
-rw-r--r-- | crypto/src/asn1/anssi/ANSSINamedCurves.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/anssi/ANSSINamedCurves.cs b/crypto/src/asn1/anssi/ANSSINamedCurves.cs index 04e30bb07..c7f9545f2 100644 --- a/crypto/src/asn1/anssi/ANSSINamedCurves.cs +++ b/crypto/src/asn1/anssi/ANSSINamedCurves.cs @@ -42,7 +42,7 @@ namespace Org.BouncyCastle.Asn1.Anssi BigInteger h = BigInteger.One; ECCurve curve = ConfigureCurve(new FpCurve(p, a, b, n, h)); - ECPoint G = curve.DecodePoint(Hex.Decode("04" + X9ECPoint G = new X9ECPoint(curve, Hex.Decode("04" + "B6B3D4C356C139EB31183D4749D423958C27D2DCAF98B70164C97A2DD98F5CFF" + "6142E0F7C8B204911F9271F0F3ECEF8C2701C307E8E4C9E183115A1554062CFB")); |