org.bouncycastle.math.ec
Class MixedNafR2LMultiplier
java.lang.Object
|
+--org.bouncycastle.math.ec.AbstractECMultiplier
|
+--org.bouncycastle.math.ec.MixedNafR2LMultiplier
- All Implemented Interfaces:
- ECMultiplier
- public class MixedNafR2LMultiplier
- extends AbstractECMultiplier
Class implementing the NAF (Non-Adjacent Form) multiplication algorithm (right-to-left) using
mixed coordinates.
Constructor Summary |
MixedNafR2LMultiplier()
By default, addition will be done in Jacobian coordinates, and doubling will be done in
Modified Jacobian coordinates (independent of the original coordinate system of each point). |
MixedNafR2LMultiplier(int additionCoord,
int doublingCoord)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
additionCoord
protected int additionCoord
doublingCoord
protected int doublingCoord
MixedNafR2LMultiplier
public MixedNafR2LMultiplier()
- By default, addition will be done in Jacobian coordinates, and doubling will be done in
Modified Jacobian coordinates (independent of the original coordinate system of each point).
MixedNafR2LMultiplier
public MixedNafR2LMultiplier(int additionCoord,
int doublingCoord)
multiplyPositive
protected ECPoint multiplyPositive(ECPoint p,
java.math.BigInteger k)
- Overrides:
multiplyPositive
in class AbstractECMultiplier
configureCurve
protected ECCurve configureCurve(ECCurve c,
int coord)