summary refs log tree commit diff
path: root/crypto/src/math/ec/ECAlgorithms.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/math/ec/ECAlgorithms.cs')
-rw-r--r--crypto/src/math/ec/ECAlgorithms.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/math/ec/ECAlgorithms.cs b/crypto/src/math/ec/ECAlgorithms.cs
index 8b7184006..4976b73b0 100644
--- a/crypto/src/math/ec/ECAlgorithms.cs
+++ b/crypto/src/math/ec/ECAlgorithms.cs
@@ -586,8 +586,8 @@ namespace Org.BouncyCastle.Math.EC
                     secretIndexL ^= secretBitL;
                 }
 
-                ECPoint addP = lookupTableP.Lookup((int)secretIndexK);
-                ECPoint addQ = lookupTableQ.Lookup((int)secretIndexL);
+                ECPoint addP = lookupTableP.LookupVar((int)secretIndexK);
+                ECPoint addQ = lookupTableQ.LookupVar((int)secretIndexL);
 
                 ECPoint T = addP.Add(addQ);