diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2015-06-19 15:45:30 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2015-06-19 15:45:30 +0700 |
commit | 2b2c2b9b3d50ba833d3f140b21a352b44ccac921 (patch) | |
tree | 2f629b5232fc231b40a1e1b067be5ea9e4092ddb /crypto/src/math/ec/custom/sec/SecT233Field.cs | |
parent | Merge branch 'FancyFon-master' (diff) | |
download | BouncyCastle.NET-ed25519-2b2c2b9b3d50ba833d3f140b21a352b44ccac921.tar.xz |
Latest custom EC updates from Java API
Diffstat (limited to 'crypto/src/math/ec/custom/sec/SecT233Field.cs')
-rw-r--r-- | crypto/src/math/ec/custom/sec/SecT233Field.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/math/ec/custom/sec/SecT233Field.cs b/crypto/src/math/ec/custom/sec/SecT233Field.cs index 165fadbf3..b36ffba2e 100644 --- a/crypto/src/math/ec/custom/sec/SecT233Field.cs +++ b/crypto/src/math/ec/custom/sec/SecT233Field.cs @@ -200,7 +200,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec Debug.Assert(y >> 59 == 0); ulong[] u = new ulong[8]; - // u[0] = 0; + //u[0] = 0; u[1] = y; u[2] = u[1] << 1; u[3] = u[2] ^ y; @@ -215,7 +215,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec int k = 54; do { - j = (uint)(x >> k); + j = (uint)(x >> k); g = u[j & 7] ^ u[(j >> 3) & 7] << 3; l ^= (g << k); |