Class FpNafMultiplier

java.lang.Object
org.gudy.bouncycastle.math.ec.FpNafMultiplier
All Implemented Interfaces:
ECMultiplier

class FpNafMultiplier extends Object implements ECMultiplier
Class implementing the NAF (Non-Adjacent Form) multiplication algorithm.
  • Constructor Details

    • FpNafMultiplier

      FpNafMultiplier()
  • Method Details

    • multiply

      public ECPoint multiply(ECPoint p, BigInteger k, PreCompInfo preCompInfo)
      D.3.2 pg 101
      Specified by:
      multiply in interface ECMultiplier
      Parameters:
      p - The ECPoint to be multiplied.
      k - The factor by which p i multiplied.
      Returns:
      p multiplied by k.
      See Also:
      • org.gudy.bouncycastle.math.ec.ECMultiplier#multiply(org.gudy.bouncycastle.math.ec.ECPoint, java.math.BigInteger)