Bouncy Castle Cryptography 1.50

org.bouncycastle.math.ec
Class WTauNafMultiplier

java.lang.Object
  extended by org.bouncycastle.math.ec.AbstractECMultiplier
      extended by org.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.F2m by k using the reduced τ-adic NAF (RTNAF) method.
 
Methods inherited from class org.bouncycastle.math.ec.AbstractECMultiplier
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.F2m by k using the reduced τ-adic NAF (RTNAF) method.

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

Bouncy Castle Cryptography 1.50