public class WNafL2RMultiplier extends AbstractECMultiplier
Constructor and Description |
---|
WNafL2RMultiplier() |
Modifier and Type | Method and Description |
---|---|
protected int |
getWindowSize(int bits)
Determine window width to use for a scalar multiplication of the given size.
|
protected ECPoint |
multiplyPositive(ECPoint p,
java.math.BigInteger k)
Multiplies
this by an integer k using the
Window NAF method. |
checkResult, multiply
protected ECPoint multiplyPositive(ECPoint p, java.math.BigInteger k)
this
by an integer k
using the
Window NAF method.multiplyPositive
in class AbstractECMultiplier
k
- The integer by which this
is multiplied.ECPoint
which equals this
multiplied by k
.protected int getWindowSize(int bits)
bits
- the bit-length of the scalar to multiply by