Home
last modified time | relevance | path

Searched refs:temp (Results 26 – 50 of 244) sorted by path

12345678910

/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DRC2.php418 $temp = $this->key;
421 $this->key = $temp;
441 $temp = $this->key;
444 $this->key = $temp;
H A DRC4.php255 $temp = $keyStream[$i];
257 $keyStream[$j] = $temp;
H A DRSA.php393 $temp = $primes[$i]->subtract(self::$one);
397 $lcm['top'] = $lcm['top']->multiply($temp);
398 $lcm['bottom'] = $lcm['bottom'] === false ? $temp : $lcm['bottom']->gcd($temp);
401 list($temp) = $lcm['top']->divide($lcm['bottom']);
402 $gcd = $temp->gcd($e);
408 $d = $e->modInverse($temp);
411 $temp = $prime->subtract(self::$one);
412 $exponents[$i] = $e->modInverse($temp);
H A DRijndael.php365 $temp = [];
383 $state = $temp;
411 return pack('N*', ...$temp);
447 $temp = [];
465 $state = $temp;
490 return pack('N*', ...$temp);
582 $temp = $w[$i - 1];
588 $temp = (($temp << 8) & 0xFFFFFF00) | (($temp >> 24) & 0x000000FF); // rotWord
589 $temp = $this->subWord($temp) ^ $rcon[$i / $this->Nk];
591 $temp = $this->subWord($temp);
[all …]
H A DSalsa20.php368 $temp = Strings::pop($encrypted, 64);
377 $temp = static::salsa20($this->p1 . pack('V', $buffer['counter']++) . $this->p2);
379 $ciphertext .= $encrypted . ($text2 ^ $temp);
380 $buffer['ciphertext'] = substr($temp, $overflow);
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/
H A DOpenSSH.php75 $temp = $primes[1]->subtract($one);
76 $exponents = [1 => $publicExponent->modInverse($temp)];
77 $temp = $primes[2]->subtract($one);
78 $exponents[] = $publicExponent->modInverse($temp);
H A DPSS.php237 $temp = ['algorithm' => 'id-' . $options['MGFHash']];
238 $temp = ASN1::encodeDER($temp, Maps\HashAlgorithm::MAP);
241 'parameters' => new ASN1\Element($temp)
H A DPuTTY.php84 $temp = $primes[1]->subtract($one);
85 $exponents = [1 => $publicExponent->modInverse($temp)];
86 $temp = $primes[2]->subtract($one);
87 $exponents[] = $publicExponent->modInverse($temp);
H A DRaw.php122 $temp = $components['primes'][1]->subtract($one);
123 $exponents = [1 => $components['publicExponent']->modInverse($temp)];
124 $temp = $components['primes'][2]->subtract($one);
125 $exponents[] = $components['publicExponent']->modInverse($temp);
H A DXML.php79 …$temp = $xpath->query("//*[translate(local-name(), 'ABCDEFGHIJKLMNOPQRSTUVWXYZ','abcdefghijklmnopq…
80 if (!$temp->length) {
83 $value = new BigInteger(Base64::decode($temp->item(0)->nodeValue), 256);
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/
H A DPrivateKey.php443 $temp = $this->os2ip($m);
444 $temp = $this->rsadp($temp);
445 return $this->i2osp($temp, $this->k);
H A DPublicKey.php252 $temp = chr(0xFF << ($emBits & 7));
253 if ((~$maskedDB[0] & $temp) != $temp) {
259 $temp = $emLen - $this->hLen - $sLen - 2;
260 if (substr($db, 0, $temp) != str_repeat(chr(0), $temp) || ord($db[$temp]) != 1) {
263 $salt = substr($db, $temp + 1); // should be $sLen long
350 $temp = Random::string($psLen - strlen($ps));
351 $temp = str_replace("\x00", '', $temp);
352 $ps .= $temp;
447 $temp = $this->os2ip($m);
448 $temp = $this->rsaep($temp);
[all …]
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/File/
H A DANSI.php334 $temp = $attr_cell->background;
336 $attr_cell->foreground = $temp;
H A DASN1.php815 $temp = (int) $temp->toString();
957 $temp = $subtag . self::encodeLength(strlen($temp)) . $temp;
960 $temp = $subtag . substr($temp, 1);
991 $temp = $subtag . self::encodeLength(strlen($temp)) . $temp;
994 $temp = $subtag . substr($temp, 1);
1258 $temp[strlen($temp) - 1] = $temp[strlen($temp) - 1] & chr(0x7F);
1490 $temp = str_replace(["\r", "\n", ' '], '', $temp);
1492 $temp = preg_replace('#^-+[^-]+-+|-+[^-]+-+$#', '', $temp);
1493 $temp = preg_match('#^[a-zA-Z\d/+]*={0,2}$#', $temp) ? Base64::decode($temp) : false;
1494 return $temp != false ? $temp : $str;
[all …]
H A DX509.php815 $decoded = ASN1::decodeBER($temp);
1182 if ($temp[1] != '200') {
1191 $temp = fread($fsock, 1024);
1192 if ($temp === false) {
1195 $data .= $temp;
2363 $temp = preg_match('#^[a-zA-Z\d/+]*={0,2}$#', $temp) ? Base64::decode($temp) : false;
2364 if ($temp != false) {
2365 $spkac = $temp;
3128 $temp = '99991231235959Z';
3129 $temp = chr(ASN1::TYPE_GENERALIZED_TIME) . ASN1::encodeLength(strlen($temp)) . $temp;
[all …]
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/
H A DBigInteger.php433 $temp = new static($this->hex, -16);
434 $this->value = $temp->value;
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/
H A DBCMath.php113 $this->value = $this->is_negative ? '-' . $temp->value : $temp->value;
158 $value = chr($temp >> 16) . chr($temp >> 8) . chr($temp) . $value;
175 $temp = new self();
189 $temp = new self();
276 $temp = $u;
280 $temp = $a;
284 $temp = $b;
323 return $temp;
694 return $temp;
697 $temp->value = $temp->value[0] == '-' ?
[all …]
H A DEngine.php320 $temp = $temp->modInverse($n);
475 $temp = ~$temp;
494 $temp = str_pad($temp, strlen($leading_ones), chr(0), STR_PAD_LEFT);
728 return $temp;
782 $temp = $max;
784 $min = $temp;
813 $temp = $max;
815 $min = $temp;
1180 $temp = $u;
1184 $temp = $a;
[all …]
H A DGMP.php174 $temp = new self();
188 $temp = new self();
202 $temp = new self();
287 $temp = new self();
290 return $temp->value === false ? false : $this->normalize($temp);
337 $temp = new self();
340 return $temp;
351 $temp = new self();
365 $temp = new self();
379 $temp = new self();
[all …]
H A DPHP.php129 $temp = $temp->multiply($multiplier);
164 $temp = clone $this;
172 list($temp, $mod) = $temp->divide($divisor);
260 return $temp;
337 return $temp;
652 $temp = $temp->multiply($y);
826 return $temp;
1163 $temp = $temp->multiply($this);
1167 return $temp;
1217 $temp->is_negative = !$temp->is_negative;
[all …]
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/
H A DBase.php66 $temp = new $class();
67 $temp->value = '1';
68 return $x->normalize($temp);
H A DBuiltIn.php39 $temp = new BCMath();
40 $temp->value = bcpowmod($x->value, $e->value, $n->value);
42 return $x->normalize($temp);
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/Reductions/
H A DBarrett.php113 $temp = substr($n, 0, -$m_length + 1);
116 $temp = bcmul($temp, $u);
119 $temp = substr($temp, 0, -($m_length >> 1) - 1);
122 $temp = bcmul($temp, $m);
128 $result = bcsub($n, $temp);
132 $temp = '1' . str_repeat('0', $m_length + 1);
133 $result = bcadd($result, $temp);
173 $temp = substr($x, 0, -$n_length + 1);
174 $temp = bcmul($temp, $cache[self::DATA][$key]);
175 $temp = substr($temp, 0, -$n_length - 1);
[all …]
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/GMP/
H A DDefaultEngine.php39 $temp = new GMP();
40 $temp->value = gmp_powm($x->value, $e->value, $n->value);
42 return $x->normalize($temp);
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/
H A DBase.php86 $temp = new $class();
87 $temp->value = [1];
88 return $x->normalize($temp);
92 list(, $temp) = $x->divide($n);
93 return $x->normalize($temp);
97 $temp = new $class();
98 $temp->value = $class::square($x->value);
99 list(, $temp) = $temp->divide($n);
100 return $x->normalize($temp);
132 $temp = $class::multiplyHelper($x, false, $y, false);
[all …]

12345678910