Exemplo 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);
        }
Exemplo n.º 2
0
        protected internal bool SatisfiesCofactor()
        {
            BigInteger cofactor = Curve.Cofactor;

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