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