summary refs log tree commit diff
path: root/crypto/src/asn1/x9/X9ECParameters.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2014-01-24 19:18:01 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2014-01-24 19:18:01 +0700
commitc1d609b35a28a5d517ac47ead9b50876a378d94a (patch)
treed3692828356ae5c7bfff818287a6ea419504f758 /crypto/src/asn1/x9/X9ECParameters.cs
parentDefault to COORD_HOMOGENEOUS for Fp (diff)
downloadBouncyCastle.NET-ed25519-c1d609b35a28a5d517ac47ead9b50876a378d94a.tar.xz
Some more EC point normalization
Diffstat (limited to 'crypto/src/asn1/x9/X9ECParameters.cs')
-rw-r--r--crypto/src/asn1/x9/X9ECParameters.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/x9/X9ECParameters.cs b/crypto/src/asn1/x9/X9ECParameters.cs
index 6389defa8..a192e4c52 100644
--- a/crypto/src/asn1/x9/X9ECParameters.cs
+++ b/crypto/src/asn1/x9/X9ECParameters.cs
@@ -87,7 +87,7 @@ namespace Org.BouncyCastle.Asn1.X9
             byte[]		seed)
         {
             this.curve = curve;
-            this.g = g;
+            this.g = g.Normalize();
             this.n = n;
             this.h = h;
             this.seed = seed;