| /plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/ |
| D | OpenSSH.php | 21 use phpseclib3\Common\Functions\Strings; alias 73 if (!Strings::is_stringable($key)) { 83 $magic = Strings::shift($key, 15); 87 list($ciphername, $kdfname, $kdfoptions, $numKeys) = Strings::unpackSSH2('sssN', $key); 125 list($publicKey, $paddedKey) = Strings::unpackSSH2('ss', $key); 126 list($type) = Strings::unpackSSH2('s', $publicKey); 127 list($checkint1, $checkint2) = Strings::unpackSSH2('NN', $paddedKey); 152 list($type) = Strings::unpackSSH2('s', $key); 212 $paddedKey = Strings::packSSH2('NN', $checkint, $checkint) . 214 Strings::packSSH2('s', $comment); [all …]
|
| D | PuTTY.php | 22 use phpseclib3\Common\Functions\Strings; alias 145 if (!Strings::is_stringable($key)) { 193 if (Strings::shift($key[0], strlen('PuTTY-User-Key-File-')) != 'PuTTY-User-Key-File-') { 196 …$version = (int) Strings::shift($key[0], 3); // should be either "2: " or "3: 0" prior to int cast… 213 $source = Strings::packSSH2('ssss', $type, $encryption, $components['comment'], $public); 215 extract(unpack('Nlength', Strings::shift($public, 4))); 216 $newtype = Strings::shift($public, $length); 273 $source .= Strings::packSSH2('s', $private); 308 $public = Strings::packSSH2('s', $type) . $public; 310 $source = Strings::packSSH2('ssss', $type, $encryption, $comment, $public); [all …]
|
| /plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/ |
| D | PuTTY.php | 19 use phpseclib3\Common\Functions\Strings; alias 74 $temp = Base64::encode(Strings::packSSH2('s', $components['type']) . $components['public']); 78 if (Strings::shift($private, 4) != "\0\0\0\x20") { 83 list($components['dA']) = Strings::unpackSSH2('i', $private); 108 list(, $length) = unpack('N', Strings::shift($public, 4)); 109 Strings::shift($public, $length); 121 Strings::packSSH2('s', $privateKey->secret) : 122 Strings::packSSH2('s', $private); 140 list(, $length) = unpack('N', Strings::shift($public, 4)); 141 Strings::shift($public, $length);
|
| D | OpenSSH.php | 20 use phpseclib3\Common\Functions\Strings; alias 64 list($type) = Strings::unpackSSH2('s', $paddedKey); 69 list(, $key, $comment) = Strings::unpackSSH2('sss', $paddedKey); 74 … list($curveName, $publicKey, $privateKey, $comment) = Strings::unpackSSH2('ssis', $paddedKey); 86 if (Strings::shift($parsed['publicKey'], 4) != "\0\0\0\x20") { 93 list($curveName, $publicKey) = Strings::unpackSSH2('ss', $parsed['publicKey']); 153 $key = Strings::packSSH2('ss', 'ssh-ed25519', $curve->encodePoint($publicKey)); 166 $key = Strings::packSSH2('sss', 'ecdsa-sha2-' . $alias, $alias, $points); 200 $publicKey = Strings::packSSH2('ss', 'ssh-ed25519', $pubKey); 201 … $privateKey = Strings::packSSH2('sss', 'ssh-ed25519', $pubKey, $privateKey->secret . $pubKey); [all …]
|
| /plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/ |
| D | MSBLOB.php | 23 use phpseclib3\Common\Functions\Strings; alias 89 if (!Strings::is_stringable($key)) { 104 extract(unpack('atype/aversion/vreserved/Valgo', Strings::shift($key, 8))); 137 extract(unpack('Vmagic/Vbitlen/a4pubexp', Strings::shift($key, 12))); 160 $components['modulus'] = new BigInteger(strrev(Strings::shift($key, $bitlen / 8)), 256); 169 … $components['primes'] = [1 => new BigInteger(strrev(Strings::shift($key, $bitlen / 16)), 256)]; 171 $components['primes'][] = new BigInteger(strrev(Strings::shift($key, $bitlen / 16)), 256); 173 … $components['exponents'] = [1 => new BigInteger(strrev(Strings::shift($key, $bitlen / 16)), 256)]; 175 … $components['exponents'][] = new BigInteger(strrev(Strings::shift($key, $bitlen / 16)), 256); 177 …$components['coefficients'] = [2 => new BigInteger(strrev(Strings::shift($key, $bitlen / 16)), 256… [all …]
|
| D | PuTTY.php | 18 use phpseclib3\Common\Functions\Strings; alias 71 $result = Strings::unpackSSH2('ii', $public); 77 $result = Strings::unpackSSH2('iiii', $private); 112 $public = Strings::packSSH2('ii', $e, $n); 113 $private = Strings::packSSH2('iiii', $d, $primes[1], $primes[2], $coefficients[2]); 128 return self::wrapPublicKey(Strings::packSSH2('ii', $e, $n), 'ssh-rsa');
|
| D | OpenSSH.php | 20 use phpseclib3\Common\Functions\Strings; alias 58 list($type) = Strings::unpackSSH2('s', $parsed['paddedKey']); 73 ) = Strings::unpackSSH2('i6s', $parsed['paddedKey']); 85 list($publicExponent, $modulus) = Strings::unpackSSH2('ii', $parsed['publicKey']); 106 $RSAPublicKey = Strings::packSSH2('sii', 'ssh-rsa', $e, $n); 135 …$privateKey = Strings::packSSH2('si6', 'ssh-rsa', $n, $e, $d, $coefficients[2], $primes[1], $prime…
|
| D | PKCS8.php | 30 use phpseclib3\Common\Functions\Strings; alias 78 if (!Strings::is_stringable($key)) {
|
| D | PKCS1.php | 27 use phpseclib3\Common\Functions\Strings; alias 52 if (!Strings::is_stringable($key)) {
|
| D | XML.php | 26 use phpseclib3\Common\Functions\Strings; alias 50 if (!Strings::is_stringable($key)) {
|
| D | PSS.php | 28 use phpseclib3\Common\Functions\Strings; alias 111 if (!Strings::is_stringable($key)) {
|
| /plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Net/ |
| D | SFTP.php | 38 use phpseclib3\Common\Functions\Strings; alias 549 $packet = Strings::packSSH2( 567 $packet = Strings::packSSH2( 587 $packet = Strings::packSSH2( 618 list($this->defaultVersion) = Strings::unpackSSH2('N', $response); 620 list($key, $value) = Strings::unpackSSH2('ss', $response); 678 $packet = Strings::packSSH2('ss', 'version-select', "$ver"); 685 list($status) = Strings::unpackSSH2('N', $response); 816 list($status) = Strings::unpackSSH2('N', $response); 822 list($message) = Strings::unpackSSH2('s', $response); [all …]
|
| D | SSH2.php | 50 use phpseclib3\Common\Functions\Strings; alias 1303 if (Strings::is_stringable($host)) { 1621 $kexinit_payload_client .= Strings::packSSH2( 1655 Strings::shift($response, 1); // skip past the message number (it should be SSH_MSG_KEXINIT) 1656 $server_cookie = Strings::shift($response, 16); 1670 ) = Strings::unpackSSH2('L10C', $response); 1791 list($type, $primeBytes, $gBytes) = Strings::unpackSSH2('Css', $response); 1800 $exchange_hash_rfc4419 = $dh_group_sizes_packed . Strings::packSSH2( 1841 ) = Strings::unpackSSH2('Csss', $response); 1856 list($public_key_format) = Strings::unpackSSH2('s', $server_public_host_key); [all …]
|
| /plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/ |
| D | PuTTY.php | 23 use phpseclib3\Common\Functions\Strings; alias 69 list($p, $q, $g, $y) = Strings::unpackSSH2('iiii', $public); 70 list($x) = Strings::unpackSSH2('i', $private); 94 $public = Strings::packSSH2('iiii', $p, $q, $g, $y); 95 $private = Strings::packSSH2('i', $x); 116 return self::wrapPublicKey(Strings::packSSH2('iiii', $p, $q, $g, $y), 'ssh-dsa');
|
| D | OpenSSH.php | 20 use phpseclib3\Common\Functions\Strings; alias 53 list($type) = Strings::unpackSSH2('s', $parsed['paddedKey']); 58 list($p, $q, $g, $y, $x, $comment) = Strings::unpackSSH2('i5s', $parsed['paddedKey']); 63 list($p, $q, $g, $y) = Strings::unpackSSH2('iiii', $parsed['publicKey']); 93 $DSAPublicKey = Strings::packSSH2('siiii', 'ssh-dss', $p, $q, $g, $y); 121 $privateKey = Strings::packSSH2('si5', 'ssh-dss', $p, $q, $g, $y, $x);
|
| D | XML.php | 25 use phpseclib3\Common\Functions\Strings; alias 48 if (!Strings::is_stringable($key)) {
|
| D | PKCS8.php | 28 use phpseclib3\Common\Functions\Strings; alias 77 if (!Strings::is_stringable($key)) {
|
| /plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Signature/ |
| D | SSH2.php | 20 use phpseclib3\Common\Functions\Strings; alias 45 $result = Strings::unpackSSH2('ss', $sig); 60 $result = Strings::unpackSSH2('ii', $blob); 96 $blob = Strings::packSSH2('ii', $r, $s); 98 return Strings::packSSH2('ss', 'ecdsa-sha2-' . $curve, $blob);
|
| /plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Signature/ |
| D | SSH2.php | 20 use phpseclib3\Common\Functions\Strings; alias 45 $result = Strings::unpackSSH2('ss', $sig); 73 return Strings::packSSH2(
|
| /plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/System/SSH/Agent/ |
| D | Identity.php | 20 use phpseclib3\Common\Functions\Strings; alias 285 $packet = Strings::packSSH2( 292 $packet = Strings::packSSH2('s', $packet); 300 list($type, $signature_blob) = Strings::unpackSSH2('Cs', $packet); 309 list($type, $signature_blob) = Strings::unpackSSH2('ss', $signature_blob);
|
| /plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/System/SSH/ |
| D | Agent.php | 37 use phpseclib3\Common\Functions\Strings; alias 178 list($type, $keyCount) = Strings::unpackSSH2('CN', $packet); 185 list($key_blob, $comment) = Strings::unpackSSH2('ss', $packet); 187 list($key_type) = Strings::unpackSSH2('s', $temp);
|
| /plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/ |
| D | SymmetricKey.php | 39 use phpseclib3\Common\Functions\Strings; alias 1154 Strings::increment_str($this->iv); 1229 $iv = Strings::pop($ciphertext, $this->block_size); 1382 Strings::increment_str($xor); 1384 $key = Strings::shift($buffer['ciphertext'], $block_size); 1391 Strings::increment_str($xor); 1486 $key = Strings::shift($buffer['xor'], $block_size); 1541 Strings::increment_str($this->iv); 1756 Strings::increment_str($xor); 1758 $key = Strings::shift($buffer['ciphertext'], $block_size); [all …]
|
| /plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/ |
| D | BinaryField.php | 19 use phpseclib3\Common\Functions\Strings; alias 170 $str = Strings::bits2bin($x); 196 return Strings::bin2bits($x);
|
| /plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/DH/Formats/Keys/ |
| D | PKCS8.php | 24 use phpseclib3\Common\Functions\Strings; alias 73 if (!Strings::is_stringable($key)) {
|
| /plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/ |
| D | Salsa20.php | 18 use phpseclib3\Common\Functions\Strings; alias 347 $ciphertext = $text ^ Strings::shift($buffer['ciphertext'], strlen($text)); 356 $text2 = Strings::pop($text, $overflow); 368 $temp = Strings::pop($encrypted, 64);
|