Home
last modified time | relevance | path

Searched refs:powMod (Results 1 – 11 of 11) sorted by path

/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DDH.php259 $key->publicKey = $key->base->powMod($key->privateKey, $key->prime);
279 … return $public->publicKey->powMod($private->privateKey, $private->prime)->toBytes(true);
284 return $public->powMod($private->privateKey, $private->prime)->toBytes(true);
H A DDSA.php165 $g = $h->powMod($e, $p);
216 $private->y = $private->g->powMod($private->x, $private->p);
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/DH/
H A DPrivateKey.php57 $this->publicKey = $this->base->powMod($this->privateKey, $this->prime);
77 $this->publicKey = $this->base->powMod($this->privateKey, $this->prime);
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/
H A DPrivateKey.php67 $this->y = $this->g->powMod($this->x, $this->p);
109 $r = $this->g->powMod($k, $this->p);
154 $this->y = $this->g->powMod($this->x, $this->p);
H A DPublicKey.php70 $v1 = $this->g->powMod($u1, $this->p);
71 $v2 = $this->y->powMod($u2, $this->p);
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/
H A DBigInteger.php463 public function powMod(BigInteger $e, BigInteger $n) function in phpseclib3\\Math\\BigInteger
465 return new static($this->value->powMod($e->value, $n->value));
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/
H A DBCMath.php448 public function powMod(BCMath $e, BCMath $n) function in phpseclib3\\Math\\BigInteger\\Engines\\BCMath
H A DGMP.php441 public function powMod(GMP $e, GMP $n) function in phpseclib3\\Math\\BigInteger\\Engines\\GMP
H A DPHP32.php292 public function powMod(PHP32 $e, PHP32 $n) function in phpseclib3\\Math\\BigInteger\\Engines\\PHP32
H A DPHP64.php296 public function powMod(PHP64 $e, PHP64 $n) function in phpseclib3\\Math\\BigInteger\\Engines\\PHP64
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/PrimeField/
H A DInteger.php233 $temp->value = $this->value->powMod($x, static::$modulo[$this->instanceID]);
257 $temp = $z->powMod($pow, static::$modulo[$this->instanceID]);
264 $c = $z->powMod($q, static::$modulo[$this->instanceID]);
265 $t = $this->value->powMod($q, static::$modulo[$this->instanceID]);
267 $r = $this->value->powMod($temp, static::$modulo[$this->instanceID]);
272 while (!$t->powMod($two->pow($i), static::$modulo[$this->instanceID])->equals($one)) {
279 … $b = $c->powMod($two->pow($m->subtract($i)->subtract($one)), static::$modulo[$this->instanceID]);