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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ECPoint
multiply
(ECPoint p, BigInteger k) Multiplies theECPoint p
byk
, i.e.protected abstract ECPoint
-
Constructor Details
-
AbstractECMultiplier
public AbstractECMultiplier()
-
-
Method Details
-
multiply
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
.
-
multiplyPositive
-
checkResult
-