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 ECPointcheckResult(ECPoint p)ECPointmultiply(ECPoint p, java.math.BigInteger k)Multiplies the ECPoint p by k, i.e.protected abstract ECPointmultiplyPositive(ECPoint p, java.math.BigInteger k)
-
-
-
Method Detail
-
multiply
public ECPoint multiply(ECPoint p, java.math.BigInteger k)
Description copied from interface:ECMultiplierMultiplies the ECPoint p by k, i.e. p is added k times to itself.- Specified by:
multiplyin interfaceECMultiplier- Parameters:
p- The ECPoint to be multiplied.k- The factor by which p is multiplied.- Returns:
- p multiplied by k.
-
-