Top Constructors Methods
org.bouncycastle.math.ec

public abstract Class AbstractECMultiplier

extends Object
implements ECMultiplier
Class Inheritance
All Implemented Interfaces
org.bouncycastle.math.ec.ECMultiplier
Known Direct Subclasses
org.bouncycastle.math.ec.FixedPointCombMultiplier, org.bouncycastle.math.ec.GLVMultiplier, org.bouncycastle.math.ec.WNafL2RMultiplier, org.bouncycastle.math.ec.WTauNafMultiplier
Imports
java.math.BigInteger

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected ECPoint
public ECPoint
multiply(ECPoint
The ECPoint to be multiplied.
p
,
BigInteger
The factor by which p is multiplied.
k
)

Implements org.bouncycastle.math.ec.ECMultiplier.multiply.

Multiplies the ECPoint p by k, i.e. p is added k times to itself.

protected abstract ECPoint
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AbstractECMultiplierback to summary
public AbstractECMultiplier()

Method Detail

checkResultback to summary
protected ECPoint checkResult(ECPoint p)
multiplyback to summary
public ECPoint multiply(ECPoint p, BigInteger k)

Implements org.bouncycastle.math.ec.ECMultiplier.multiply.

Doc from org.bouncycastle.math.ec.ECMultiplier.multiply.

Multiplies the ECPoint p by k, i.e. p is added k times to itself.

Parameters
p:ECPoint

The ECPoint to be multiplied.

k:BigInteger

The factor by which p is multiplied.

Returns:ECPoint

p multiplied by k.

multiplyPositiveback to summary
protected abstract ECPoint multiplyPositive(ECPoint p, BigInteger k)