Esempio n. 1
0
        protected internal bool SatisfiesCofactor()
        {
            BigInteger cofactor = Curve.Cofactor;

            if (cofactor != null && !cofactor.Equals(BigInteger.One))
            {
                return(!ECAlgorithms.ReferenceMultiply(this, cofactor).IsInfinity);
            }
            return(true);
        }
Esempio n. 2
0
        protected internal bool SatisfiesCofactor()
        {
            BigInteger cofactor = Curve.Cofactor;

            return(cofactor == null || cofactor.Equals(BigInteger.One) || !ECAlgorithms.ReferenceMultiply(this, cofactor).IsInfinity);
        }