Package org.gudy.bouncycastle.math.ec
Class FpNafMultiplier
java.lang.Object
org.gudy.bouncycastle.math.ec.FpNafMultiplier
- All Implemented Interfaces:
ECMultiplier
Class implementing the NAF (Non-Adjacent Form) multiplication algorithm.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmultiply
(ECPoint p, BigInteger k, PreCompInfo preCompInfo) D.3.2 pg 101
-
Constructor Details
-
FpNafMultiplier
FpNafMultiplier()
-
-
Method Details
-
multiply
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:
-