diff options
-rw-r--r-- | crypto/src/math/ec/rfc8032/Ed25519.cs | 6 | ||||
-rw-r--r-- | crypto/src/math/ec/rfc8032/Ed448.cs | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/crypto/src/math/ec/rfc8032/Ed25519.cs b/crypto/src/math/ec/rfc8032/Ed25519.cs index 238256cf7..95ba43472 100644 --- a/crypto/src/math/ec/rfc8032/Ed25519.cs +++ b/crypto/src/math/ec/rfc8032/Ed25519.cs @@ -314,7 +314,7 @@ namespace Org.BouncyCastle.Math.EC.Rfc8032 ScalarMultBaseEncoded(s, pk, pkOff); } - private static sbyte[] GetWnaf(uint[] n, int width) + private static sbyte[] GetWnafVar(uint[] n, int width) { Debug.Assert(n[ScalarUints - 1] >> 28 == 0); @@ -1000,8 +1000,8 @@ namespace Org.BouncyCastle.Math.EC.Rfc8032 int width = 5; - sbyte[] ws_b = GetWnaf(nb, WnafWidthBase); - sbyte[] ws_p = GetWnaf(np, width); + sbyte[] ws_b = GetWnafVar(nb, WnafWidthBase); + sbyte[] ws_p = GetWnafVar(np, width); PointExt[] tp = PointPrecompVar(p, 1 << (width - 2)); diff --git a/crypto/src/math/ec/rfc8032/Ed448.cs b/crypto/src/math/ec/rfc8032/Ed448.cs index 925f48eb1..12f24c1ff 100644 --- a/crypto/src/math/ec/rfc8032/Ed448.cs +++ b/crypto/src/math/ec/rfc8032/Ed448.cs @@ -323,7 +323,7 @@ namespace Org.BouncyCastle.Math.EC.Rfc8032 ScalarMultBaseEncoded(s, pk, pkOff); } - private static sbyte[] GetWnaf(uint[] n, int width) + private static sbyte[] GetWnafVar(uint[] n, int width) { Debug.Assert(n[ScalarUints - 1] >> 30 == 0U); @@ -1087,8 +1087,8 @@ namespace Org.BouncyCastle.Math.EC.Rfc8032 int width = 5; - sbyte[] ws_b = GetWnaf(nb, WnafWidthBase); - sbyte[] ws_p = GetWnaf(np, width); + sbyte[] ws_b = GetWnafVar(nb, WnafWidthBase); + sbyte[] ws_p = GetWnafVar(np, width); PointExt[] tp = PointPrecompVar(p, 1 << (width - 2)); |