Package org.bouncycastle.math.ec
Class WNafL2RMultiplier
- java.lang.Object
-
- org.bouncycastle.math.ec.AbstractECMultiplier
-
- org.bouncycastle.math.ec.WNafL2RMultiplier
-
- All Implemented Interfaces:
ECMultiplier
public class WNafL2RMultiplier extends AbstractECMultiplier
Class implementing the WNAF (Window Non-Adjacent Form) multiplication algorithm.
-
-
Constructor Summary
Constructors Constructor Description WNafL2RMultiplier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ECPointmultiplyPositive(ECPoint p, java.math.BigInteger k)Multipliesthisby an integerkusing the Window NAF method.-
Methods inherited from class org.bouncycastle.math.ec.AbstractECMultiplier
checkResult, multiply
-
-
-
-
Method Detail
-
multiplyPositive
protected ECPoint multiplyPositive(ECPoint p, java.math.BigInteger k)
Multipliesthisby an integerkusing the Window NAF method.- Specified by:
multiplyPositivein classAbstractECMultiplier- Parameters:
k- The integer by whichthisis multiplied.- Returns:
- A new
ECPointwhich equalsthismultiplied byk.
-
-