From 26f31767019ceb2f113a280aa7ad64cbbfa3b55f Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Tue, 4 Feb 2014 16:08:03 +0700 Subject: Initial work on a fixed-point comb multiplier --- .../src/math/ec/multiplier/FixedPointPreCompInfo.cs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 crypto/src/math/ec/multiplier/FixedPointPreCompInfo.cs (limited to 'crypto/src/math/ec/multiplier/FixedPointPreCompInfo.cs') diff --git a/crypto/src/math/ec/multiplier/FixedPointPreCompInfo.cs b/crypto/src/math/ec/multiplier/FixedPointPreCompInfo.cs new file mode 100644 index 000000000..306f40a11 --- /dev/null +++ b/crypto/src/math/ec/multiplier/FixedPointPreCompInfo.cs @@ -0,0 +1,21 @@ +namespace Org.BouncyCastle.Math.EC.Multiplier +{ + /** + * Class holding precomputation data for fixed-point multiplications. + */ + public class FixedPointPreCompInfo + : PreCompInfo + { + /** + * Array holding the precomputed ECPoints used for a fixed + * point multiplication. + */ + protected ECPoint[] m_preComp = null; + + public virtual ECPoint[] PreComp + { + get { return m_preComp; } + set { this.m_preComp = value; } + } + } +} -- cgit 1.5.1