diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-11-26 13:20:35 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-11-26 13:20:35 +0700 |
commit | 4f151774bd05b3855e573accf63a0f8ecfda43ac (patch) | |
tree | 89fcf3d1e06b6282e6d470f19cdb07fe7d84064e /crypto/src/math/raw/Nat512.cs | |
parent | Code cleanup (diff) | |
download | BouncyCastle.NET-ed25519-4f151774bd05b3855e573accf63a0f8ecfda43ac.tar.xz |
Refactoring in Math.EC.Rfc8032
Diffstat (limited to 'crypto/src/math/raw/Nat512.cs')
-rw-r--r-- | crypto/src/math/raw/Nat512.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/math/raw/Nat512.cs b/crypto/src/math/raw/Nat512.cs index 2312e1cf2..f8a34027f 100644 --- a/crypto/src/math/raw/Nat512.cs +++ b/crypto/src/math/raw/Nat512.cs @@ -16,7 +16,7 @@ namespace Org.BouncyCastle.Math.Raw Nat256.Mul(x, 8, y, 8, zz, 16); uint c24 = Nat256.AddToEachOther(zz, 8, zz, 16); - uint c16 = c24 + Nat256.AddTo(zz, 0, zz, 8, 0); + uint c16 = c24 + Nat256.AddTo(zz, 0, zz, 8, 0U); c24 += Nat256.AddTo(zz, 24, zz, 16, c16); uint[] dx = Nat256.Create(), dy = Nat256.Create(); @@ -35,7 +35,7 @@ namespace Org.BouncyCastle.Math.Raw Nat256.Square(x, 8, zz, 16); uint c24 = Nat256.AddToEachOther(zz, 8, zz, 16); - uint c16 = c24 + Nat256.AddTo(zz, 0, zz, 8, 0); + uint c16 = c24 + Nat256.AddTo(zz, 0, zz, 8, 0U); c24 += Nat256.AddTo(zz, 24, zz, 16, c16); uint[] dx = Nat256.Create(); |