| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/ |
| H A D | ChaCha20.php | 45 case self::ENGINE_LIBSODIUM: 57 case self::ENGINE_OPENSSL: 85 if ($this->engine == self::ENGINE_LIBSODIUM) { 107 if ($this->engine == self::ENGINE_LIBSODIUM) { 247 if ($this->engine == self::ENGINE_LIBSODIUM) { 282 $a+= $b; $d = self::leftRotate(self::safe_intval($d) ^ self::safe_intval($a), 16); 283 $c+= $d; $b = self::leftRotate(self::safe_intval($b) ^ self::safe_intval($c), 12); 284 $a+= $b; $d = self::leftRotate(self::safe_intval($d) ^ self::safe_intval($a), 8); 285 $c+= $d; $b = self::leftRotate(self::safe_intval($b) ^ self::safe_intval($c), 7); 360 $x0+= $x4; $x12 = self::leftRotate(self::safe_intval($x12) ^ self::safe_intval($x0), 16); [all …]
|
| H A D | DES.php | 99 self::MODE_ECB => 'des-ecb', 100 self::MODE_CBC => 'des-cbc', 101 self::MODE_CFB => 'des-cfb', 102 self::MODE_OFB => 'des-ofb' 579 if ($this->mode == self::MODE_STREAM) { 596 if ($engine == self::ENGINE_OPENSSL) { 642 return $this->processBlock($in, self::ENCRYPT); 656 return $this->processBlock($in, self::DECRYPT); 676 $sbox1 = array_map([self::class, 'safe_intval'], self::$sbox1); 677 $sbox2 = array_map([self::class, 'safe_intval'], self::$sbox2); [all …]
|
| H A D | Blowfish.php | 343 if ($this->mode == self::MODE_STREAM) { 377 if ($engine == self::ENGINE_OPENSSL) { 410 'sb' => self::$sbox 425 $this->bctx['p'][] = self::$parray[$i] ^ intval($data); 450 if (is_float(self::$sbox[0x200])) { 451 self::$sbox = array_map([self::class, 'safe_intval'], self::$sbox); 452 self::$parray = array_map([self::class, 'safe_intval'], self::$parray); 468 $p = self::$parray; 469 $sbox = self::$sbox; 475 self::expandstate($sha2salt, $sha2pass, $sbox, $p); [all …]
|
| H A D | RSA.php | 151 protected $encryptionPadding = self::ENCRYPTION_OAEP; 158 protected $signaturePadding = self::SIGNATURE_PSS; 269 self::$defaultExponent = $val; 281 self::$smallestPrime = $val; 294 self::initialize_static_variables(); 301 …if (self::$forcedEngine == 'libsodium' || (self::$forcedEngine == 'OpenSSL' && !function_exists('o… 302 …throw new BadConfigurationException('Engine ' . self::$forcedEngine . ' is forced but unsupported … 306 if ($regSize > self::$smallestPrime) { 307 $num_primes = floor($bits / self::$smallestPrime); 308 $regSize = self::$smallestPrime; [all …]
|
| H A D | DSA.php | 115 self::initialize_static_variables(); 151 $p = $x->subtract($c->subtract(self::$one)); 154 $p_1 = $p->subtract(self::$one); 164 if (!$g->equals(self::$one)) { 167 $h = $h->add(self::$one); 191 self::initialize_static_variables(); 193 if (self::$forcedEngine == 'libsodium') { 194 …throw new BadConfigurationException('Engine ' . self::$forcedEngine . ' is forced but unsupported … 197 if (self::$forcedEngine == 'OpenSSL' && !defined('OPENSSL_KEYTYPE_DSA')) { 207 $params = self::createParameters($args[0], $args[1]); [all …]
|
| /dokuwiki/_test/tests/Remote/OpenApiDoc/ |
| H A D | TypeTest.php | 15 ['string', 'string', 'string', self::class], 17 ['int', 'int', 'int', self::class], 19 ['file', 'string', 'file', self::class], 21 ['date', 'int', 'date', self::class], 23 ['boolean', 'bool', 'bool', self::class], 25 ['false', 'bool', 'bool', self::class], 27 ['true', 'bool', 'bool', self::class], 29 ['integer', 'int', 'int', self::class], 31 ['array', 'array', 'array', self::class], 33 ['array[]', 'array', 'array', self::class], [all …]
|
| /dokuwiki/vendor/composer/ |
| H A D | InstalledVersions.php | 66 foreach (self::getInstalled() as $installed) { 88 foreach (self::getInstalled() as $installed) { 110 foreach (self::getInstalled() as $installed) { 134 $provided = $parser->parseConstraints(self::getVersionRanges($packageName)); 150 foreach (self::getInstalled() as $installed) { 181 foreach (self::getInstalled() as $installed) { 202 foreach (self::getInstalled() as $installed) { 223 foreach (self::getInstalled() as $installed) { 244 foreach (self::getInstalled() as $installed) { 261 $installed = self::getInstalled(); [all …]
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/ |
| H A D | PKCS.php | 42 protected static $format = self::MODE_ANY; 50 self::$format = self::MODE_PEM; 59 self::$format = self::MODE_DER; 70 self::$format = self::MODE_ANY;
|
| /dokuwiki/_test/tests/test/ |
| H A D | globals.test.php | 17 $self = $this; 19 function() use ($self) { 20 … $self->assertTrue($_SERVER['testvar'], 'Server variable not set correctly: testvar'); 21 …$self->assertEquals('172.17.18.19', $_SERVER['REMOTE_ADDR'], 'Server variable not set correctly: R… 38 $self = $this; 40 function() use ($self) { 41 … $self->assertFalse($_SERVER['testvar'], 'Server variable not set correctly: testvar'); 42 …$self->assertEquals('172.17.18.19', $_SERVER['REMOTE_ADDR'], 'Server variable not set correctly: R… 43 $self->assertFalse(isset($_SERVER['tmpvar']));
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/ |
| H A D | ASN1.php | 144 self::TYPE_BOOLEAN => true, 145 self::TYPE_INTEGER => true, 146 self::TYPE_BIT_STRING => 'bitString', 147 self::TYPE_OCTET_STRING => 'octetString', 148 self::TYPE_NULL => 'null', 149 self::TYPE_OBJECT_IDENTIFIER => 'objectIdentifier', 150 self::TYPE_REAL => true, 151 self::TYPE_ENUMERATED => 'enumerated', 152 self::TYPE_UTF8_STRING => 'utf8String', 153 self::TYPE_NUMERIC_STRING => 'numericString', [all …]
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/Reductions/ |
| H A D | MontgomeryMult.php | 47 self::VARIABLE => [], 48 self::DATA => [] 51 if (($key = array_search($m, $cache[self::VARIABLE])) === false) { 52 $key = count($cache[self::VARIABLE]); 53 $cache[self::VARIABLE][] = $m; 54 $cache[self::DATA][] = self::modInverse67108864($m, $class); 61 $a = [self::VALUE => self::array_repeat(0, $n + 1)]; 63 $temp = $a[self::VALUE][0] + $x[$i] * $y[0]; 65 $temp = $temp * $cache[self::DATA][$key]; 68 $a = $class::addHelper($a[self::VALUE], false, $temp[self::VALUE], false); [all …]
|
| H A D | Barrett.php | 52 self::VARIABLE => [], 53 self::DATA => [] 70 return self::regularBarrett($n, $m, $class); 81 if (($key = array_search($m, $cache[self::VARIABLE])) === false) { 82 $key = count($cache[self::VARIABLE]); 83 $cache[self::VARIABLE][] = $m; 87 $lhs_value = self::array_repeat(0, $m_length + ($m_length >> 1)); 96 $cache[self::DATA][] = [ 101 $cacheValues = $cache[self::DATA][$key]; 110 $lsd = self::trim($lsd); [all …]
|
| H A D | Montgomery.php | 36 $lhs->value = array_merge(self::array_repeat(0, count($n)), $x); 58 self::VARIABLE => [], 59 self::DATA => [] 62 if (($key = array_search($n, $cache[self::VARIABLE])) === false) { 63 $key = count($cache[self::VARIABLE]); 64 $cache[self::VARIABLE][] = $x; 65 $cache[self::DATA][] = self::modInverse67108864($n, $class); 70 $result = [self::VALUE => $x]; 73 $temp = $result[self::VALUE][$i] * $cache[self::DATA][$key]; 76 $temp = array_merge(self::array_repeat(0, $i), $temp); [all …]
|
| /dokuwiki/vendor/splitbrain/php-cli/src/ |
| H A D | Colors.php | 39 self::C_RESET => "\33[0m", 40 self::C_BLACK => "\33[0;30m", 41 self::C_DARKGRAY => "\33[1;30m", 42 self::C_BLUE => "\33[0;34m", 43 self::C_LIGHTBLUE => "\33[1;34m", 44 self::C_GREEN => "\33[0;32m", 45 self::C_LIGHTGREEN => "\33[1;32m", 46 self::C_CYAN => "\33[0;36m", 47 self::C_LIGHTCYAN => "\33[1;36m", 48 self::C_RED => "\33[0;31m", [all …]
|
| /dokuwiki/inc/ |
| H A D | SafeFN.class.php | 51 return self::unicodeToSafe(Unicode::fromUtf8($filename)); 81 return Unicode::toUtf8(self::safeToUnicode(strtolower($filename))); 91 …return !preg_match('#[^' . self::$plain . self::$post_indicator . self::$pre_indicator . ']#', $sa… 109 … if ($codepoint < 127 && (str_contains(self::$plain . self::$post_indicator, chr($codepoint)))) { 111 $safe .= self::$post_indicator; 115 } elseif ($codepoint == ord(self::$pre_indicator)) { 116 $safe .= self::$pre_indicator; 119 $safe .= self::$pre_indicator . base_convert((string)($codepoint - 32), 10, 36); 123 if ($converted) $safe .= self::$post_indicator; 140 '#(?=[' . self::$post_indicator . self::$pre_indicator . '])#', [all …]
|
| /dokuwiki/lib/plugins/extension/ |
| H A D | Notice.php | 13 self::INFO => 'I', 14 self::WARNING => 'W', 15 self::ERROR => 'E', 16 self::SECURITY => 'S', 20 self::INFO => [], 21 self::WARNING => [], 22 self::ERROR => [], 23 self::SECURITY => [], 60 $self = new self($extension); 61 return $self->notices; [all …]
|
| /dokuwiki/vendor/simplepie/simplepie/src/XML/Declaration/ |
| H A D | Parser.php | 69 public $state = self::STATE_BEFORE_VERSION_NAME; 115 while ($this->state && $this->state !== self::STATE_EMIT && $this->has_data()) { 120 if ($this->state === self::STATE_EMIT) { 177 $this->state = self::STATE_VERSION_NAME; 179 $this->state = self::STATE_ERROR; 188 $this->state = self::STATE_VERSION_EQUALS; 190 $this->state = self::STATE_ERROR; 199 $this->state = self::STATE_VERSION_VALUE; 201 $this->state = self::STATE_ERROR; 211 $this->state = self::STATE_ENCODING_NAME; [all …]
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/ |
| H A D | SCP.php | 92 public function put($remote_file, $data, $mode = self::SOURCE_STRING, $callback = null) 94 if (!($this->bitmap & self::MASK_LOGIN)) { 107 $temp = $this->get_channel_packet(self::CHANNEL_EXEC, true); 109 $this->close_channel(self::CHANNEL_EXEC, true); 113 $packet_size = $this->packet_size_client_to_server[self::CHANNEL_EXEC] - 4; 120 $mode = $mode & ~self::SOURCE_LOCAL_FILE; 130 case $mode & self::SOURCE_LOCAL_FILE: 136 $this->close_channel(self::CHANNEL_EXEC, true); 152 $this->send_channel_packet(self::CHANNEL_EXEC, $temp); 154 $temp = $this->get_channel_packet(self::CHANNEL_EXEC, true); [all …]
|
| /dokuwiki/inc/Debug/ |
| H A D | DebugHelper.php | 44 if (!self::isEnabled()) return; 51 [$self, $call] = $backtrace; 53 self::triggerDeprecationEvent( 56 $thing ?: self::formatCall($self), 57 self::formatCall($call), 58 $self['file'] ?? $call['file'] ?? '', 59 $self['line'] ?? $call['line'] ?? 0 91 if (!self::isEnabled()) return; 98 self::triggerDeprecationEvent( 129 if (!self::isEnabled()) return; [all …]
|
| /dokuwiki/vendor/simplepie/simplepie/src/ |
| H A D | SimplePie.php | 552 public $autodiscovery = self::LOCATOR_ALL; 847 self::class 882 self::class 915 self::class 1091 public function set_autodiscovery_level(int $level = self::LOCATOR_ALL) 1376 self::class 1799 if (!($this->get_type() & ~self::TYPE_NONE)) { 2042 $self = $locate->get_rel_link('self'); 2043 if ($hub || $self) { 2044 $file = $this->store_links($file, $hub, $self); [all …]
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/ |
| H A D | XML.php | 62 self::initialize_static_variables(); 78 $temp = self::isolateNamespace($key, 'http://www.w3.org/2009/xmldsig11#'); 96 $curve = self::loadCurveByParam($xpath); 98 $pubkey = self::query($xpath, 'publickey', 'Public Key is not present'); 100 $QA = self::query($xpath, 'ecdsakeyvalue')->length ? 101 self::extractPointRFC4050($xpath, $curve) : 102 self::extractPoint("\0" . $pubkey, $curve); 133 … return $decode ? self::decodeValue($result->item(0)->textContent) : $result->item(0)->textContent; 180 $x = self::query($xpath, 'publickey/x'); 181 $y = self::query($xpath, 'publickey/y'); [all …]
|
| H A D | OpenSSH.php | 70 $curve = self::loadCurveByParam(['namedCurve' => $curveName]); 75 'QA' => self::extractPoint("\0$publicKey", $curve), 86 $qa = self::extractPoint($parsed['publicKey'], $curve); 92 $qa = self::extractPoint("\0" . $publicKey, $curve); 109 self::initialize_static_variables(); 114 if (!isset(self::$curveOIDs[$name])) { 117 $oid = self::$curveOIDs[$name]; 118 $aliases = array_filter(self::$curveOIDs, function ($v) use ($oid) { 124 if (in_array('ecdsa-sha2-' . $aliases[$i], self::$types)) { 147 $comment = isset($options['comment']) ? $options['comment'] : self::$comment; [all …]
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/Reductions/ |
| H A D | Barrett.php | 63 self::VARIABLE => [], 64 self::DATA => [] 70 return self::BCMOD_THREE_PARAMS ? bcmod($n, $m, 0) : bcmod($n, $m); 75 return self::regularBarrett($n, $m); 86 if (($key = array_search($m, $cache[self::VARIABLE])) === false) { 87 $key = count($cache[self::VARIABLE]); 88 $cache[self::VARIABLE][] = $m; 94 $cache[self::DATA][] = [ 99 $cacheValues = $cache[self::DATA][$key]; 159 self::VARIABLE => [], [all …]
|
| /dokuwiki/inc/Utf8/ |
| H A D | Sort.php | 45 if (!self::$useIntl || !class_exists('\Collator')) { 50 if (!isset(self::$collators[$lc])) { 62 self::$collators[$lc] = $collator; 65 return self::$collators[$lc]; 78 self::$useIntl = $use; 93 $collator = self::getCollator(); 112 $collator = self::getCollator(); 131 $collator = self::getCollator(); 150 $collator = self::getCollator(); 171 $collator = self::getCollator();
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/ |
| H A D | AsymmetricKey.php | 107 self::initialize_static_variables(); 118 if (!isset(self::$zero)) { 119 self::$zero = new BigInteger(0); 120 self::$one = new BigInteger(1); 123 if (!isset(self::$configFile)) { 124 self::$configFile = dirname(__FILE__) . '/../../openssl.cnf'; 127 self::loadPlugins('Keys'); 129 self::loadPlugins('Signature'); 142 self::initialize_static_variables(); 150 foreach (self::$plugins[static::ALGORITHM]['Keys'] as $format) { [all …]
|