/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/ |
H A D | PublicKeyLoader.php | 45 } catch (NoKeyLoadedException $e) { 50 } catch (NoKeyLoadedException $e) { 55 } catch (NoKeyLoadedException $e) { 65 } catch (\Exception $e) {
|
H A D | RSA.php | 358 static $e; 359 if (!isset($e)) { 360 $e = new BigInteger(self::$defaultExponent); 402 $gcd = $temp->gcd($e); 408 $d = $e->modInverse($temp); 412 $exponents[$i] = $e->modInverse($temp); 431 $privatekey->publicExponent = $e;
|
H A D | Random.php | 55 } catch (\Exception $e) { 57 } catch (\Throwable $e) {
|
H A D | Rijndael.php | 869 $e = 's'; 880 list($s, $e) = [$e, $s]; 883 '$' . $e . $i . ' = 895 '$' . $e . $i . ' = 896 $sbox[ $' . $e . $i . ' & 0xff] | 897 ($sbox[($' . $e . $i . ' >> 8) & 0xff] << 8) | 898 ($sbox[($' . $e . $i . ' >> 16) & 0xff] << 16) | 926 $e = 's'; 937 list($s, $e) = [$e, $s]; 940 '$' . $e . $i . ' = [all …]
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/ |
H A D | MSBLOB.php | 200 …public static function savePrivateKey(BigInteger $n, BigInteger $e, BigInteger $d, array $primes, … argument 211 $e = str_pad(strrev($e->toBytes()), 4, "\0"); 213 $key .= pack('VVa*', self::RSA2, 8 * strlen($n), $e); 233 public static function savePublicKey(BigInteger $n, BigInteger $e) argument 236 $e = str_pad(strrev($e->toBytes()), 4, "\0"); 238 $key .= pack('VVa*', self::RSA1, 8 * strlen($n), $e);
|
H A D | OpenSSH.php | 104 public static function savePublicKey(BigInteger $n, BigInteger $e, array $options = []) argument 106 $RSAPublicKey = Strings::packSSH2('sii', 'ssh-rsa', $e, $n); 132 …public static function savePrivateKey(BigInteger $n, BigInteger $e, BigInteger $d, array $primes, … argument 134 $publicKey = self::savePublicKey($n, $e, ['binary' => true]); 135 …$privateKey = Strings::packSSH2('si6', 'ssh-rsa', $n, $e, $d, $coefficients[2], $primes[1], $prime…
|
H A D | PKCS1.php | 121 …public static function savePrivateKey(BigInteger $n, BigInteger $e, BigInteger $d, array $primes, … argument 127 'publicExponent' => $e, 156 public static function savePublicKey(BigInteger $n, BigInteger $e) argument 160 'publicExponent' => $e
|
H A D | PKCS8.php | 127 …public static function savePrivateKey(BigInteger $n, BigInteger $e, BigInteger $d, array $primes, … argument 129 $key = PKCS1::savePrivateKey($n, $e, $d, $primes, $exponents, $coefficients); 143 public static function savePublicKey(BigInteger $n, BigInteger $e, array $options = []) argument 145 $key = PKCS1::savePublicKey($n, $e);
|
H A D | PSS.php | 177 …public static function savePrivateKey(BigInteger $n, BigInteger $e, BigInteger $d, array $primes, … argument 181 $key = PKCS1::savePrivateKey($n, $e, $d, $primes, $exponents, $coefficients); 196 public static function savePublicKey(BigInteger $n, BigInteger $e, array $options = []) argument 200 $key = PKCS1::savePublicKey($n, $e);
|
H A D | PuTTY.php | 106 …public static function savePrivateKey(BigInteger $n, BigInteger $e, BigInteger $d, array $primes, … argument 112 $public = Strings::packSSH2('ii', $e, $n); 126 public static function savePublicKey(BigInteger $n, BigInteger $e) argument 128 return self::wrapPublicKey(Strings::packSSH2('ii', $e, $n), 'ssh-rsa');
|
H A D | Raw.php | 157 …public static function savePrivateKey(BigInteger $n, BigInteger $e, BigInteger $d, array $primes, … argument 164 'e' => clone $e, 187 public static function savePublicKey(BigInteger $n, BigInteger $e) argument 189 return ['e' => clone $e, 'n' => clone $n];
|
H A D | XML.php | 142 …public static function savePrivateKey(BigInteger $n, BigInteger $e, BigInteger $d, array $primes, … argument 154 ' <Exponent>' . Base64::encode($e->toBytes()) . "</Exponent>\r\n" . 172 public static function savePublicKey(BigInteger $n, BigInteger $e) argument 176 ' <Exponent>' . Base64::encode($e->toBytes()) . "</Exponent>\r\n" .
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/ |
H A D | PrivateKey.php | 283 } catch (\LengthException $e) {
|
H A D | PublicKey.php | 107 } catch (\LengthException $e) { 114 } catch (\LengthException $e) { 116 } catch (UnsupportedAlgorithmException $e) {
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/ |
H A D | BigInteger.php | 117 } catch (\Exception $e) { 156 } catch (\Exception $e) { 459 * @param BigInteger $e 463 public function powMod(BigInteger $e, BigInteger $n) argument 465 return new static($this->value->powMod($e->value, $n->value)); 471 * @param BigInteger $e 475 public function modPow(BigInteger $e, BigInteger $n) argument 477 return new static($this->value->modPow($e->value, $n->value));
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/ |
H A D | BCMath.php | 430 * @param BCMath $e 434 public function modPow(BCMath $e, BCMath $n) argument 436 return $this->powModOuter($e, $n); 444 * @param BCMath $e 448 public function powMod(BCMath $e, BCMath $n) argument 450 return $this->powModOuter($e, $n); 456 * @param BCMath $e 460 protected function powModInner(BCMath $e, BCMath $n) argument 464 return $class::powModHelper($this, $e, $n, static::class); 466 return BCMath\DefaultEngine::powModHelper($this, $e, $n, static::class);
|
H A D | Engine.php | 631 * @param Engine $e 635 protected function powModOuter(Engine $e, Engine $n) argument 639 if ($e->compare(new static()) < 0) { 640 $e = $e->abs(); 647 return $this->normalize($temp->powModInner($e, $n)); 650 return $this->powModInner($e, $n); 663 * @param Engine $e 668 protected static function slidingWindow(Engine $x, Engine $e, Engine $n, $class) argument 673 $e_bits = $e->toBits();
|
H A D | GMP.php | 423 * @param GMP $e 427 public function modPow(GMP $e, GMP $n) argument 429 return $this->powModOuter($e, $n); 437 * @param GMP $e 441 public function powMod(GMP $e, GMP $n) argument 443 return $this->powModOuter($e, $n); 449 * @param GMP $e 453 protected function powModInner(GMP $e, GMP $n) argument 456 return $class::powModHelper($this, $e, $n);
|
H A D | OpenSSL.php | 44 * @param Engine $e 48 public static function powModHelper(Engine $x, Engine $e, Engine $n) argument 56 new BigInteger($e)
|
H A D | PHP.php | 981 * @param PHP $e 985 protected function powModInner(PHP $e, PHP $n) argument 989 return $class::powModHelper($this, $e, $n, static::class); 991 return PHP\DefaultEngine::powModHelper($this, $e, $n, static::class);
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/ |
H A D | Base.php | 58 * @param BCMath $e 63 protected static function powModHelper(BCMath $x, BCMath $e, BCMath $n, $class) argument 65 if (empty($e->value)) { 71 return $x->normalize(static::slidingWindow($x, $e, $n, $class));
|
H A D | BuiltIn.php | 33 * @param BCMath $e 37 protected static function powModHelper(BCMath $x, BCMath $e, BCMath $n) argument 40 $temp->value = bcpowmod($x->value, $e->value, $n->value);
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/GMP/ |
H A D | DefaultEngine.php | 33 * @param GMP $e 37 protected static function powModHelper(GMP $x, GMP $e, GMP $n) argument 40 $temp->value = gmp_powm($x->value, $e->value, $n->value);
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/ |
H A D | Base.php | 78 * @param PHP $e 83 protected static function powModHelper(PHP $x, PHP $e, PHP $n, $class) argument 85 if (empty($e->value)) { 91 if ($e->value == [1]) { 96 if ($e->value == [2]) { 103 return $x->normalize(static::slidingWindow($x, $e, $n, $class));
|
H A D | Montgomery.php | 46 * @param Engine $e 51 protected static function slidingWindow(Engine $x, Engine $e, Engine $n, $class) argument 55 return parent::slidingWindow($x, $e, $n, $class); 76 $part1 = $mod1->value != [1] ? parent::slidingWindow($x, $e, $mod1, $class) : new $class(); 77 $part2 = PowerOfTwo::slidingWindow($x, $e, $mod2, $class);
|