| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/ |
| H A D | MSBLOB.php | 91 $unpacked = unpack('atype/aversion/vreserved/Valgo', Strings::shift($key, 8)); 122 $unpacked = unpack('Vmagic/Vbitlen/a4pubexp', Strings::shift($key, 12)); 143 $components['modulus'] = new BigInteger(strrev(Strings::shift($key, $bitlen / 8)), 256); 152 … $components['primes'] = [1 => new BigInteger(strrev(Strings::shift($key, $bitlen / 16)), 256)]; 154 $components['primes'][] = new BigInteger(strrev(Strings::shift($key, $bitlen / 16)), 256); 156 … $components['exponents'] = [1 => new BigInteger(strrev(Strings::shift($key, $bitlen / 16)), 256)]; 158 … $components['exponents'][] = new BigInteger(strrev(Strings::shift($key, $bitlen / 16)), 256); 160 …$components['coefficients'] = [2 => new BigInteger(strrev(Strings::shift($key, $bitlen / 16)), 256… 165 … $components['privateExponent'] = new BigInteger(strrev(Strings::shift($key, $bitlen / 8)), 256);
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/ |
| H A D | PuTTY.php | 70 if (Strings::shift($private, 4) != "\0\0\0\x20") { 102 list(, $length) = unpack('N', Strings::shift($public, 4)); 103 Strings::shift($public, $length); 133 list(, $length) = unpack('N', Strings::shift($public, 4)); 134 Strings::shift($public, $length);
|
| H A D | OpenSSH.php | 81 if (Strings::shift($parsed['publicKey'], 4) != "\0\0\0\x20") {
|
| H A D | Common.php | 302 if (($val = Strings::shift($str)) != "\0") {
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/ |
| H A D | BigInteger.php | 597 * @param int $shift 600 public function bitwise_rightShift($shift) argument 602 return new static($this->value->bitwise_rightShift($shift)); 610 * @param int $shift 613 public function bitwise_leftShift($shift) argument 615 return new static($this->value->bitwise_leftShift($shift)); 623 * @param int $shift 626 public function bitwise_leftRotate($shift) argument 628 return new static($this->value->bitwise_leftRotate($shift)); 636 * @param int $shift [all …]
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/ |
| H A D | PHP64.php | 83 $shift = 8 - $step; 84 $digit >>= $shift; 85 $shift = 32 - $shift; 86 $digit &= (1 << $shift) - 1; 88 $digit |= ($temp << $shift) & 0x7F000000;
|
| H A D | PHP.php | 571 for ($shift = 0; !($msb & static::MSB); ++$shift) { 574 $x->lshift($shift); 575 $y->lshift($shift); 666 $x->rshift($shift); 672 $y->rshift($shift); 849 * @param int $shift 852 public function bitwise_rightShift($shift) argument 859 $temp->rshift($shift); 869 * @param int $shift 872 public function bitwise_leftShift($shift) argument [all …]
|
| H A D | Engine.php | 538 * @param int $shift 541 protected static function base256_lshift(&$x, $shift) argument 543 if ($shift == 0) { 547 $num_bytes = $shift >> 3; // eg. floor($shift/8) 548 $shift &= 7; // eg. $shift % 8 552 $temp = (ord($x[$i]) << $shift) | $carry; 565 * @param int $shift 568 public function bitwise_leftRotate($shift) argument 588 if ($shift < 0) { 589 $shift += $precision; [all …]
|
| H A D | GMP.php | 385 * @param int $shift 388 public function bitwise_rightShift($shift) argument 394 $temp->value = $this->value >> $shift; 404 * @param int $shift 407 public function bitwise_leftShift($shift) argument 410 $temp->value = $this->value << $shift;
|
| H A D | BCMath.php | 362 * @param int $shift 365 public function bitwise_rightShift($shift) argument 368 $temp->value = bcdiv($this->value, bcpow('2', $shift, 0), 0); 378 * @param int $shift 381 public function bitwise_leftShift($shift) argument 384 $temp->value = bcmul($this->value, bcpow('2', $shift, 0), 0);
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Common/Functions/ |
| H A D | Strings.php | 38 public static function shift(&$string, $index = 1) function in phpseclib3\\Common\\Functions\\Strings 113 $result[] = ord(self::shift($data)); 116 $result[] = ord(self::shift($data)) != 0; 119 list(, $temp) = unpack('N', self::shift($data, 4)); 129 $unpacked = unpack('Nupper/Nlower', self::shift($data, 8)); 138 list(, $length) = unpack('N', self::shift($data, 4)); 142 $temp = self::shift($data, $length);
|
| /dokuwiki/lib/scripts/ |
| H A D | hotkeys.js | 186 shift : false property 203 …t.shortcuts.push((o.ctrl ? 'ctrl' : '') + ',' + (o.alt ? 'alt' : '') + ',' + (o.shift ? 'shift' : … 281 if (o.shift != e.shiftKey)
|
| /dokuwiki/inc/Utf8/ |
| H A D | Unicode.php | 108 $shift = ($mState - 1) * 6; 110 $tmp = ($tmp & 0x0000003F) << $shift;
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/ |
| H A D | Hash.php | 1403 * @param int $shift 1405 private static function rotateLeft32($x, $shift) argument 1407 if ($shift < 32) { 1410 $shift -= 32; 1414 $mask = -1 ^ (-1 << $shift); 1416 ($hi << $shift) | (($lo >> (32 - $shift)) & $mask), 1417 ($lo << $shift) | (($hi >> (32 - $shift)) & $mask) 1570 * @param int $shift 1572 private static function rotateLeft64($x, $shift) argument 1574 $mask = -1 ^ (-1 << $shift); [all …]
|
| H A D | Salsa20.php | 341 $ciphertext = $text ^ Strings::shift($buffer['ciphertext'], strlen($text));
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/ |
| H A D | PuTTY.php | 180 if (Strings::shift($key[0], strlen('PuTTY-User-Key-File-')) != 'PuTTY-User-Key-File-') { 183 …$version = (int) Strings::shift($key[0], 3); // should be either "2: " or "3: 0" prior to int cast… 202 $length = unpack('Nlength', Strings::shift($public, 4))['length']; 203 $newtype = Strings::shift($public, $length);
|
| H A D | OpenSSH.php | 75 $magic = Strings::shift($key, 15);
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/PrimeField/ |
| H A D | Integer.php | 402 … $shift = !$d->equals($zero) && $d->bitwise_and($mask)->equals($zero) ? $w : 1; // $w or $w + 1? 403 $d = $d->bitwise_rightShift($shift); 404 while (--$shift > 0) {
|
| /dokuwiki/vendor/splitbrain/php-archive/src/ |
| H A D | Tar.php | 776 $shift = 0; 778 $value += ord(substr($field, $i, 1)) << $shift; 779 $shift += 8; 783 $shift = 0; 785 $value += ord(substr($field, $i, 1)) << $shift; 786 $shift += 8;
|
| /dokuwiki/lib/scripts/jquery/ |
| H A D | jquery.cookie.js | 87 var name = decode(parts.shift());
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/ |
| H A D | SSH2.php | 1693 Strings::shift($response, 1); // skip past the message number (it should be SSH_MSG_KEXINIT) 1694 $server_cookie = Strings::shift($response, 16); 3227 return Strings::shift($this->interactiveBuffer, $pos + strlen($match)); 3231 return Strings::shift($this->interactiveBuffer, strlen($this->interactiveBuffer)); 3696 $this->decrypt->setAAD(Strings::shift($raw, $packet_length_header_size)); 3713 $this->decrypt->setAAD(Strings::shift($raw, $packet_length_header_size)); 3721 Strings::shift($raw, $this->decrypt_block_size); 3726 Strings::shift($raw, $packet_length_header_size); 3732 Strings::shift($raw, $packet_length_header_size); 3754 $padding_length = unpack('Cpadding_length', Strings::shift($payload, 1))['padding_length']; [all …]
|
| H A D | SFTP.php | 3365 $length = unpack('Nlength', Strings::shift($this->packet_buffer, 4))['length']; 3392 $this->packet_type = ord(Strings::shift($this->packet_buffer)); 3395 …$packet_id = unpack('Npacket_id', Strings::shift($this->packet_buffer, 4))['packet_id']; // remove… 3401 $packet = Strings::shift($this->packet_buffer, $length);
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/ |
| H A D | PublicKey.php | 160 if (Strings::shift($em, 2) != "\0\1") { 165 if (Strings::shift($em) != "\0") {
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/ |
| H A D | SymmetricKey.php | 1391 $key = Strings::shift($buffer['ciphertext'], $block_size); 1493 $key = Strings::shift($buffer['xor'], $block_size); 1764 $key = Strings::shift($buffer['ciphertext'], $block_size); 1865 $key = Strings::shift($buffer['xor'], $block_size); 1997 $otp = Strings::shift($buffer['ciphertext'], $block_size); 2019 $ciphertext = $plaintext ^ Strings::shift($buffer['ciphertext'], strlen($plaintext)); 2091 $ciphertext .= Strings::shift($xor, $overflow) ^ substr($plaintext, -$overflow); 3361 $r = Strings::shift($s, 16);
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/ |
| H A D | ASN1.php | 822 $length = ord(Strings::shift($string)); 825 $temp = Strings::shift($string, $length);
|