Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2013-09-27 08:39:21 +0400
committerPeter Dettman <peter.dettman@bouncycastle.org>2013-09-27 08:39:21 +0400
commit58ff82fcf21651b73151a244c448f98463e2687c (patch)
treebbfd1502c404d46d9a7f68fbf3f9e54ad21d5a7b /core/src/main/java/org/bouncycastle/math
parent40a1725603e90ed90950547b01ca32df1d57c150 (diff)
Normalize twiceP
Diffstat (limited to 'core/src/main/java/org/bouncycastle/math')
-rw-r--r--core/src/main/java/org/bouncycastle/math/ec/WNafUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/java/org/bouncycastle/math/ec/WNafUtil.java b/core/src/main/java/org/bouncycastle/math/ec/WNafUtil.java
index 412d64e6..bbeadab9 100644
--- a/core/src/main/java/org/bouncycastle/math/ec/WNafUtil.java
+++ b/core/src/main/java/org/bouncycastle/math/ec/WNafUtil.java
@@ -254,7 +254,7 @@ public abstract class WNafUtil
ECPoint twiceP = wnafPreCompInfo.getTwiceP();
if (twiceP == null)
{
- twiceP = preComp[0].twice();
+ twiceP = preComp[0].twice().normalize();
wnafPreCompInfo.setTwiceP(twiceP);
}