< Summary

Information
Class: Renci.SshNet.Security.Org.BouncyCastle.Math.EC.Multiplier.WNafPreCompInfo
Assembly: Renci.SshNet
File(s): \home\appveyor\projects\ssh-net\src\Renci.SshNet\Security\BouncyCastle\math\ec\multiplier\WNafPreCompInfo.cs
Line coverage
88%
Covered lines: 8
Uncovered lines: 1
Coverable lines: 9
Total lines: 46
Line coverage: 88.8%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
.ctor()100%1100%
get_PreComp()100%1100%
set_PreComp(...)100%1100%
get_PreCompNeg()100%1100%
set_PreCompNeg(...)100%1100%
get_Twice()100%10%
set_Twice(...)100%1100%

File(s)

\home\appveyor\projects\ssh-net\src\Renci.SshNet\Security\BouncyCastle\math\ec\multiplier\WNafPreCompInfo.cs

#LineLine coverage
 1namespace Renci.SshNet.Security.Org.BouncyCastle.Math.EC.Multiplier
 2{
 3    /**
 4    * Class holding precomputation data for the WNAF (Window Non-Adjacent Form)
 5    * algorithm.
 6    */
 7    internal class WNafPreCompInfo
 8        : PreCompInfo
 9    {
 10        /**
 11         * Array holding the precomputed <code>ECPoint</code>s used for a Window
 12         * NAF multiplication.
 13         */
 914        protected ECPoint[] m_preComp = null;
 15
 16        /**
 17         * Array holding the negations of the precomputed <code>ECPoint</code>s used
 18         * for a Window NAF multiplication.
 19         */
 920        protected ECPoint[] m_preCompNeg = null;
 21
 22        /**
 23         * Holds an <code>ECPoint</code> representing Twice(this). Used for the
 24         * Window NAF multiplication to create or extend the precomputed values.
 25         */
 926        protected ECPoint m_twice = null;
 27
 28        public virtual ECPoint[] PreComp
 29        {
 2730            get { return m_preComp; }
 2731            set { this.m_preComp = value; }
 32        }
 33
 34        public virtual ECPoint[] PreCompNeg
 35        {
 2736            get { return m_preCompNeg; }
 2737            set { this.m_preCompNeg = value; }
 38        }
 39
 40        public virtual ECPoint Twice
 41        {
 042            get { return m_twice; }
 2743            set { this.m_twice = value; }
 44        }
 45    }
 46}