namespace Org.BouncyCastle.Math.EC.Multiplier { /** * Class holding precomputation data for the WNAF (Window Non-Adjacent Form) * algorithm. */ internal class WNafPreCompInfo : PreCompInfo { /** * Array holding the precomputed ECPoints used for the Window * NAF multiplication in * {@link org.bouncycastle.math.ec.multiplier.WNafMultiplier.multiply() * WNafMultiplier.multiply()}. */ private ECPoint[] preComp = null; /** * Holds an ECPoint representing twice(this). Used for the * Window NAF multiplication in * {@link org.bouncycastle.math.ec.multiplier.WNafMultiplier.multiply() * WNafMultiplier.multiply()}. */ private ECPoint twiceP = null; internal ECPoint[] GetPreComp() { return preComp; } internal void SetPreComp(ECPoint[] preComp) { this.preComp = preComp; } internal ECPoint GetTwiceP() { return twiceP; } internal void SetTwiceP(ECPoint twiceThis) { this.twiceP = twiceThis; } } }