Package org.gudy.bouncycastle.math.ec
Class FpNafMultiplier
- java.lang.Object
-
- org.gudy.bouncycastle.math.ec.FpNafMultiplier
-
- All Implemented Interfaces:
ECMultiplier
class FpNafMultiplier extends java.lang.Object implements ECMultiplier
Class implementing the NAF (Non-Adjacent Form) multiplication algorithm.
-
-
Constructor Summary
Constructors Constructor Description FpNafMultiplier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ECPoint
multiply(ECPoint p, java.math.BigInteger k, PreCompInfo preCompInfo)
D.3.2 pg 101
-
-
-
Method Detail
-
multiply
public ECPoint multiply(ECPoint p, java.math.BigInteger k, PreCompInfo preCompInfo)
D.3.2 pg 101- Specified by:
multiply
in interfaceECMultiplier
- Parameters:
p
- TheECPoint
to be multiplied.k
- The factor by whichp
i multiplied.- Returns:
p
multiplied byk
.- See Also:
org.gudy.bouncycastle.math.ec.ECMultiplier#multiply(org.gudy.bouncycastle.math.ec.ECPoint, java.math.BigInteger)
-
-