diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2014-02-01 15:36:40 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2014-02-01 15:36:40 +0700 |
commit | a14d64a6bdc72a679af82ba70bad4123b1756e2d (patch) | |
tree | 1250acac41d22429d99bfaba12474104401f031b /crypto/src | |
parent | Rename locals in Reduce() methods (diff) | |
download | BouncyCastle.NET-ed25519-a14d64a6bdc72a679af82ba70bad4123b1756e2d.tar.xz |
Fix IncExt
Diffstat (limited to 'crypto/src')
-rw-r--r-- | crypto/src/math/ec/Nat.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/math/ec/Nat.cs b/crypto/src/math/ec/Nat.cs index e20304dd6..593cb4ecf 100644 --- a/crypto/src/math/ec/Nat.cs +++ b/crypto/src/math/ec/Nat.cs @@ -185,7 +185,7 @@ namespace Org.BouncyCastle.Math.EC public static uint IncExt(int len, uint[] zz, int zzOff) { - int extLen = len; + int extLen = len << 1; Debug.Assert(zzOff <= extLen); for (int i = zzOff; i < extLen; ++i) { |