Package org.bouncycastle.math.ec
Class AbstractECMultiplier
- java.lang.Object
-
- org.bouncycastle.math.ec.AbstractECMultiplier
-
- All Implemented Interfaces:
ECMultiplier
- Direct Known Subclasses:
FixedPointCombMultiplier
,GLVMultiplier
,WNafL2RMultiplier
,WTauNafMultiplier
public abstract class AbstractECMultiplier extends java.lang.Object implements ECMultiplier
-
-
Constructor Summary
Constructors Constructor Description AbstractECMultiplier()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected ECPoint
checkResult(ECPoint p)
ECPoint
multiply(ECPoint p, java.math.BigInteger k)
Multiplies theECPoint p
byk
, i.e.protected abstract ECPoint
multiplyPositive(ECPoint p, java.math.BigInteger k)
-
-
-
Method Detail
-
multiply
public ECPoint multiply(ECPoint p, java.math.BigInteger k)
Description copied from interface:ECMultiplier
Multiplies theECPoint p
byk
, i.e.p
is addedk
times to itself.- Specified by:
multiply
in interfaceECMultiplier
- Parameters:
p
- TheECPoint
to be multiplied.k
- The factor by whichp
is multiplied.- Returns:
p
multiplied byk
.
-
-