Top Description Fields Constructors Methods
org.bouncycastle.math.ec

public Class WNafPreCompInfo

extends Object
implements PreCompInfo
Class Inheritance
All Implemented Interfaces
org.bouncycastle.math.ec.PreCompInfo

Class holding precomputation data for the WNAF (Window Non-Adjacent Form) algorithm.

Field Summary

Modifier and TypeField and Description
protected ECPoint[]
preComp

Array holding the precomputed ECPoints used for a Window NAF multiplication.

protected ECPoint[]
preCompNeg

Array holding the negations of the precomputed ECPoints used for a Window NAF multiplication.

protected ECPoint
twice

Holds an ECPoint representing twice(this).

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ECPoint[]
public ECPoint[]
public ECPoint
public void
setPreComp(ECPoint[] preComp)

public void
setPreCompNeg(ECPoint[] preCompNeg)

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

preCompback to summary
protected ECPoint[] preComp

Array holding the precomputed ECPoints used for a Window NAF multiplication.

preCompNegback to summary
protected ECPoint[] preCompNeg

Array holding the negations of the precomputed ECPoints used for a Window NAF multiplication.

twiceback to summary
protected ECPoint twice

Holds an ECPoint representing twice(this). Used for the Window NAF multiplication to create or extend the precomputed values.

Constructor Detail

WNafPreCompInfoback to summary
public WNafPreCompInfo()

Method Detail

getPreCompback to summary
public ECPoint[] getPreComp()
getPreCompNegback to summary
public ECPoint[] getPreCompNeg()
getTwiceback to summary
public ECPoint getTwice()
setPreCompback to summary
public void setPreComp(ECPoint[] preComp)
setPreCompNegback to summary
public void setPreCompNeg(ECPoint[] preCompNeg)
setTwiceback to summary
public void setTwice(ECPoint twice)