From 4f151774bd05b3855e573accf63a0f8ecfda43ac Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Sat, 26 Nov 2022 13:20:35 +0700 Subject: Refactoring in Math.EC.Rfc8032 --- crypto/src/math/raw/Nat512.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crypto/src/math/raw/Nat512.cs') 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(); -- cgit 1.4.1