diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2013-09-27 08:39:21 +0400 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2013-09-27 08:39:21 +0400 |
commit | 58ff82fcf21651b73151a244c448f98463e2687c (patch) | |
tree | bbfd1502c404d46d9a7f68fbf3f9e54ad21d5a7b /core/src/main/java/org/bouncycastle/math | |
parent | 40a1725603e90ed90950547b01ca32df1d57c150 (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.java | 2 |
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); } |