Lines Matching refs:BigInteger
27 use phpseclib3\Math\BigInteger; alias
107 * @var BigInteger
114 * @var BigInteger
121 public function setModulo(BigInteger $modulo)
125 $this->two = $this->factory->newInteger(new BigInteger(2));
126 $this->three = $this->factory->newInteger(new BigInteger(3));
128 $this->one = $this->factory->newInteger(new BigInteger(1));
129 $this->four = $this->factory->newInteger(new BigInteger(4));
130 $this->eight = $this->factory->newInteger(new BigInteger(8));
136 public function setCoefficients(BigInteger $a, BigInteger $b)
148 * @param BigInteger|PrimeInteger $x
149 * @param BigInteger|PrimeInteger $y
155 case !$x instanceof BigInteger && !$x instanceof PrimeInteger:
157 case !$y instanceof BigInteger && !$y instanceof PrimeInteger:
164 $x instanceof BigInteger ? $this->factory->newInteger($x) : $x,
165 $y instanceof BigInteger ? $this->factory->newInteger($y) : $y
447 $x = new BigInteger($m, 256);
690 $three = new BigInteger(3);
699 while ($k1->compare(new BigInteger(-$d1)) > 0 || $k2->compare(new BigInteger(-$d2)) > 0) {