|
Bouncy Castle Cryptography 1.50 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.math.ec.AbstractECMultiplier
org.bouncycastle.math.ec.WNafL2RMultiplier
public class WNafL2RMultiplier
Class implementing the WNAF (Window Non-Adjacent Form) multiplication algorithm.
Constructor Summary | |
---|---|
WNafL2RMultiplier()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.bouncycastle.math.ec.AbstractECMultiplier |
---|
multiply |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WNafL2RMultiplier()
Method Detail |
---|
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
|
Bouncy Castle Cryptography 1.50 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |