Bouncy Castle Cryptography Library 1.81

org.bouncycastle.math.ec
Class WTauNafMultiplier

java.lang.Object
  extended byorg.bouncycastle.math.ec.AbstractECMultiplier
      extended byorg.bouncycastle.math.ec.WTauNafMultiplier
All Implemented Interfaces:
ECMultiplier

public class WTauNafMultiplier
extends AbstractECMultiplier

Class implementing the WTNAF (Window τ-adic Non-Adjacent Form) algorithm.


Constructor Summary
WTauNafMultiplier()
           
 
Method Summary
protected  ECPoint multiplyPositive(ECPoint point, java.math.BigInteger k)
          Multiplies a ECPoint.AbstractF2m by k using the reduced τ-adic NAF (RTNAF) method.
 
Methods inherited from class org.bouncycastle.math.ec.AbstractECMultiplier
checkResult, multiply
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WTauNafMultiplier

public WTauNafMultiplier()
Method Detail

multiplyPositive

protected ECPoint multiplyPositive(ECPoint point,
                                   java.math.BigInteger k)
Multiplies a ECPoint.AbstractF2m by k using the reduced τ-adic NAF (RTNAF) method.

Specified by:
multiplyPositive in class AbstractECMultiplier
Parameters:
point - The ECPoint.AbstractF2m to multiply.
k - The integer by which to multiply k.
Returns:
p multiplied by k.

Bouncy Castle Cryptography Library 1.81