/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/BaseCurves/ |
H A D | Prime.php | 199 $h = $u2->subtract($u1); 200 $r = $s2->subtract($s1); 204 $x3 = $r->multiply($r)->subtract($h3)->subtract($v->multiply($this->two)); 206 $v->subtract($x3) 207 )->subtract( 236 $h = $u2->subtract($u1); 237 $r = $s2->subtract($s1); 241 $x3 = $r->multiply($r)->subtract($h3)->subtract($v->multiply($this->two)); 243 $v->subtract($x3) 244 )->subtract( [all …]
|
H A D | KoblitzPrime.php | 83 $inv->subtract($s) 100 $inv->subtract($s) 142 $k1 = $k->subtract($p1)->subtract($p2); 211 $d = $d->multiply($d)->subtract($a)->subtract($c)->multiply($this->two); 214 $x3 = $f->subtract($this->two->multiply($d)); 215 $y3 = $e->multiply($d->subtract($x3))->subtract( 236 $s = $s->multiply($s)->subtract($xx)->subtract($yyyy)->multiply($this->two); 238 $t = $m->multiply($m)->subtract($this->two->multiply($s)); 240 $y3 = $s->subtract($t); 241 $y3 = $m->multiply($y3)->subtract($this->eight->multiply($yyyy)); [all …]
|
H A D | Montgomery.php | 117 $this->a24 = $this->a->subtract($two)->divide($four); 188 $b = $x2->subtract($z2); 190 $e = $aa->subtract($bb); 192 $d = $x3->subtract($z3); 197 $temp = $da->subtract($cb);
|
H A D | Base.php | 118 return BigInteger::randomRange($one, $this->order->subtract($one));
|
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/ |
H A D | Ed448.php | 68 $u = $y2->subtract($this->one); 69 $v = $this->d->multiply($y2)->subtract($this->one); 82 if (!$x->multiply($x)->subtract($x2)->equals($this->zero)) { 215 $j = $e->subtract($this->two->multiply($h)); 217 $x3 = $b->subtract($e)->multiply($j); 218 $y3 = $c->subtract($d)->multiply($e); 263 $f = $b->subtract($e); 267 $x3 = $a->multiply($f)->multiply($h->subtract($c)->subtract($d)); 268 $y3 = $a->multiply($g)->multiply($d->subtract($c));
|
H A D | Ed25519.php | 112 $u = $y2->subtract($this->one); 135 if (!$x->multiply($x)->subtract($x2)->equals($this->zero)) { 136 $temp = $this->getModulo()->subtract(new BigInteger(1)); 140 if (!$x->multiply($x)->subtract($x2)->equals($this->zero)) { 271 $e = $h->subtract($temp->multiply($temp)); 272 $g = $a->subtract($b); 317 $a = $y1->subtract($x1)->multiply($y2->subtract($x2)); 321 $e = $b->subtract($a); 322 $f = $d->subtract($c);
|
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/PrimeField/ |
H A D | Integer.php | 173 $temp->value = $temp->value->subtract(static::$modulo[$this->instanceID]); 184 public function subtract(self $x) function in phpseclib3\\Math\\PrimeField\\Integer 189 $temp->value = $this->value->subtract($x->value); 249 $p_1 = static::$modulo[$this->instanceID]->subtract($one); 276 … $b = $c->powMod($two->pow($m->subtract($i)->subtract($one)), static::$modulo[$this->instanceID]); 306 … return new static($this->instanceID, static::$modulo[$this->instanceID]->subtract($this->value)); 371 $d->bitwise_and($mask)->subtract($sub) : 375 $d = $d->subtract($bigInteger);
|
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/ |
H A D | DSA.php | 146 $p = $x->subtract($c->subtract(self::$one)); 149 $p_1 = $p->subtract(self::$one); 212 $private->x = BigInteger::randomRange(self::$one, $private->q->subtract(self::$one));
|
H A D | DH.php | 258 $max = $max->subtract($one); 260 $max = $params->prime->subtract($one);
|
H A D | RSA.php | 378 $temp = $primes[$i]->subtract(self::$one); 396 $temp = $prime->subtract(self::$one);
|
H A D | Hash.php | 935 $y = $k->multiply($y)->add($m->subtract($offset)); 1005 … self::$offset64 = self::$factory64->newInteger(self::$offset64->subtract($prime64)); 1007 … self::$offset128 = self::$factory128->newInteger(self::$offset128->subtract($prime128)); 1009 self::$marker64 = self::$factory64->newInteger($prime64->subtract($one)); 1010 self::$marker128 = self::$factory128->newInteger($prime128->subtract($one)); 1012 … $maxwordrange64 = $one->bitwise_leftShift(64)->subtract($one->bitwise_leftShift(32)); 1015 … $maxwordrange128 = $one->bitwise_leftShift(128)->subtract($one->bitwise_leftShift(96));
|
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/Reductions/ |
H A D | PowerOfTwo.php | 56 $result = $lhs->bitwise_and($rhs->subtract($temp));
|
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/ |
H A D | PuTTY.php | 77 $temp = $primes[1]->subtract($one); 79 $temp = $primes[2]->subtract($one);
|
H A D | OpenSSH.php | 70 $temp = $primes[1]->subtract($one); 72 $temp = $primes[2]->subtract($one);
|
H A D | Raw.php | 117 $temp = $components['primes'][1]->subtract($one); 119 $temp = $components['primes'][2]->subtract($one);
|
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/ |
H A D | Engine.php | 316 return $this->normalize($n->subtract($temp)); 331 …return $this->compare(static::$zero[static::class]) < 0 ? $this->normalize($n->subtract($x)) : $th… 541 $mask = $this->bitmask->subtract(new static(1)); 829 $max = $max->subtract($min->subtract(static::$one[static::class])); 855 $random = $random->subtract($max_multiple); 856 $random_max = $random_max->subtract($max_multiple); 959 $n_1 = $n->subtract(static::$one[static::class]); 960 $n_2 = $n->subtract(static::$two[static::class]); 1064 …$step = $og->subtract($g)->divide(static::$two[static::class])[0]; // step is the half of upper bo… 1078 $g = $g->subtract($step); [all …]
|
H A D | PHP64.php | 128 public function subtract(PHP64 $y) function in phpseclib3\\Math\\BigInteger\\Engines\\PHP64
|
H A D | PHP32.php | 127 public function subtract(PHP32 $y) function in phpseclib3\\Math\\BigInteger\\Engines\\PHP32
|
H A D | PHP.php | 561 $x = $y->subtract($x); 602 $x = $x->subtract($temp); 650 $x = $x->subtract($temp); 670 $x = $y->subtract($x); 1156 $n = $n->subtract(static::$one[static::class]);
|
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/ |
H A D | PrivateKey.php | 113 $h = $m_i[1]->subtract($m_i[2]); 124 $h = $m_i->subtract($m); 138 $r = BigInteger::randomRange(self::$one, $smallest->subtract(self::$one)); 144 $h = $m_i[1]->subtract($m_i[2]); 155 $h = $m_i->subtract($m);
|
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/ |
H A D | PublicKey.php | 55 $q_1 = $this->q->subtract(self::$one);
|
H A D | PrivateKey.php | 101 $k = BigInteger::randomRange(self::$one, $this->q->subtract(self::$one));
|
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/ |
H A D | BigInteger.php | 263 public function subtract(BigInteger $y) function in phpseclib3\\Math\\BigInteger 265 return new static($this->value->subtract($y->value));
|
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/ |
H A D | PublicKey.php | 130 $n_1 = $order->subtract(self::$one);
|
H A D | PrivateKey.php | 173 $k = BigInteger::randomRange(self::$one, $order->subtract(self::$one));
|