summary refs log tree commit diff
path: root/crypto/src/math/ec/rfc8032/Ed448.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2020-02-20 01:09:35 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2020-02-20 01:09:35 +0700
commit14dcf17b94f399d0e1ef02d6045165f6795d4b0a (patch)
tree9a5287538fd938c46caae87ebb63fcb5621a8670 /crypto/src/math/ec/rfc8032/Ed448.cs
parentStricter header validation for PEM files (diff)
downloadBouncyCastle.NET-ed25519-14dcf17b94f399d0e1ef02d6045165f6795d4b0a.tar.xz
Mark methods as "Var" for clarity
Diffstat (limited to 'crypto/src/math/ec/rfc8032/Ed448.cs')
-rw-r--r--crypto/src/math/ec/rfc8032/Ed448.cs6
1 files changed, 3 insertions, 3 deletions
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));