Class WNafL2RMultiplier

java.lang.Object
org.bouncycastle.math.ec.AbstractECMultiplier
org.bouncycastle.math.ec.WNafL2RMultiplier
All Implemented Interfaces:
ECMultiplier

public class WNafL2RMultiplier extends AbstractECMultiplier
Class implementing the WNAF (Window Non-Adjacent Form) multiplication algorithm.
  • Constructor Details

    • WNafL2RMultiplier

      public WNafL2RMultiplier()
  • Method Details

    • multiplyPositive

      protected ECPoint multiplyPositive(ECPoint p, BigInteger k)
      Multiplies this by an integer k using the Window NAF method.
      Specified by:
      multiplyPositive in class AbstractECMultiplier
      Parameters:
      k - The integer by which this is multiplied.
      Returns:
      A new ECPoint which equals this multiplied by k.