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 ECPoint
multiplyPositive(ECPoint p, java.math.BigInteger k)
Multipliesthis
by an integerk
using 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)
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
.
-
-