Lines Matching refs:factory
46 protected $factory; variable in phpseclib3\\Crypt\\EC\\BaseCurves\\Prime
124 $this->factory = new PrimeField($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));
138 if (!isset($this->factory)) {
141 $this->a = $this->factory->newInteger($a);
142 $this->b = $this->factory->newInteger($b);
160 if (!isset($this->factory)) {
164 $x instanceof BigInteger ? $this->factory->newInteger($x) : $x,
165 $y instanceof BigInteger ? $this->factory->newInteger($y) : $y
176 if (!isset($this->factory)) {
301 if (!isset($this->factory)) {
413 if (!isset($this->factory)) {