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 ECPoint
Multipliesthis
by an integerk
using the Window NAF method.Methods inherited from class org.bouncycastle.math.ec.AbstractECMultiplier
checkResult, multiply
-
Constructor Details
-
WNafL2RMultiplier
public WNafL2RMultiplier()
-
-
Method Details
-
multiplyPositive
Multipliesthis
by an integerk
using the Window NAF method.- Specified by:
multiplyPositive
in classAbstractECMultiplier
- Parameters:
k
- The integer by whichthis
is multiplied.- Returns:
- A new
ECPoint
which equalsthis
multiplied byk
.
-