summary refs log tree commit diff
path: root/crypto/src/math/ec/abc/Tnaf.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2014-01-29 20:53:18 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2014-01-29 20:53:18 +0700
commit2c8b3d65f2020cfcb3b3745d962cc00f8457ee12 (patch)
tree65822e80b3b11198498823e95e065247d7b75d7d /crypto/src/math/ec/abc/Tnaf.cs
parentUpdate copyrights and add missing Inc. (diff)
downloadBouncyCastle.NET-ed25519-2c8b3d65f2020cfcb3b3745d962cc00f8457ee12.tar.xz
Cleanup various warnings, and reformatting
Diffstat (limited to 'crypto/src/math/ec/abc/Tnaf.cs')
-rw-r--r--crypto/src/math/ec/abc/Tnaf.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/math/ec/abc/Tnaf.cs b/crypto/src/math/ec/abc/Tnaf.cs
index 0ba414e68..9f16886f5 100644
--- a/crypto/src/math/ec/abc/Tnaf.cs
+++ b/crypto/src/math/ec/abc/Tnaf.cs
@@ -534,7 +534,7 @@ namespace Org.BouncyCastle.Math.EC.Abc
             int m = curve.M;
             int a = curve.A.ToBigInteger().IntValue;
             sbyte mu = curve.GetMu();
-            int h = curve.H.IntValue;
+            int h = curve.Cofactor.IntValue;
             int index = m + 3 - a;
             BigInteger[] ui = GetLucas(mu, index, false);