Package org.bouncycastle.math.ec
Class WTauNafMultiplier
- java.lang.Object
-
- org.bouncycastle.math.ec.AbstractECMultiplier
-
- org.bouncycastle.math.ec.WTauNafMultiplier
-
- All Implemented Interfaces:
ECMultiplier
public class WTauNafMultiplier extends AbstractECMultiplier
Class implementing the WTNAF (Window τ-adic Non-Adjacent Form) algorithm.
-
-
Constructor Summary
Constructors Constructor Description WTauNafMultiplier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ECPoint
multiplyPositive(ECPoint point, java.math.BigInteger k)
Multiplies aECPoint.AbstractF2m
by k using the reduced τ-adic NAF (RTNAF) method.-
Methods inherited from class org.bouncycastle.math.ec.AbstractECMultiplier
checkResult, multiply
-
-
-
-
Method Detail
-
multiplyPositive
protected ECPoint multiplyPositive(ECPoint point, java.math.BigInteger k)
Multiplies aECPoint.AbstractF2m
by k using the reduced τ-adic NAF (RTNAF) method.- Specified by:
multiplyPositive
in classAbstractECMultiplier
- Parameters:
point
- The ECPoint.AbstractF2m to multiply.k
- The integer by which to multiply k.- Returns:
- p multiplied by k.
-
-