/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/ |
H A D | PKCS8.php | 688 $r = ASN1::asn1map($decoded[0], ASN1\Maps\EncryptedPrivateKeyInfo::MAP); 689 if (!is_array($r)) { 693 if ($r['encryptionAlgorithm']['algorithm'] == 'id-PBES2') { 694 $decoded = ASN1::decodeBER($r['encryptionAlgorithm']['parameters']->element); 695 … $r['encryptionAlgorithm']['parameters'] = ASN1::asn1map($decoded[0], ASN1\Maps\PBES2params::MAP); 697 $kdf = &$r['encryptionAlgorithm']['parameters']['keyDerivationFunc']; 705 return $r['encryptionAlgorithm'];
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Signature/ |
H A D | Raw.php | 62 public static function save(BigInteger $r, BigInteger $s) argument
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/ |
H A D | SymmetricKey.php | 3386 $r = Strings::shift($s, 16); 3387 $r = strrev($r); 3388 $r &= "\x0f\xff\xff\xfc\x0f\xff\xff\xfc\x0f\xff\xff\xfc\x0f\xff\xff\xff"; 3391 $r = self::$poly1305Field->newInteger(new BigInteger($r, 256)); 3400 $a = $a->multiply($r); 3402 $r = $a->toBigInteger()->add($s->toBigInteger()); 3404 return strrev($r->toBytes()) & $mask;
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/ |
H A D | DES.php | 713 list($l, $r) = [$t['l'], $t['r']]; 733 $b1 = (($r >> 3) & 0x1FFFFFFF) ^ ($r << 29) ^ $keys[++$ki]; 734 $b2 = (($r >> 31) & 0x00000001) ^ ($r << 1) ^ $keys[++$ki]; 743 $l = $r; 744 $r = $t; 749 $l = $r; 750 $r = $t; 1361 $r = '$r'; 1371 … $b1 = ((' . $r . ' >> 3) & 0x1FFFFFFF) ^ (' . $r . ' << 29) ^ ' . $k[$c][++$ki] . '; 1382 list($l, $r) = [$r, $l]; [all …]
|
H A D | Hash.php | 975 * @param int $r 979 private static function sha3_32($p, $c, $r, $d, $padType) argument 981 $block_size = $r >> 3; 987 $n = strlen($p) / $r; // number of blocks 1168 * @param int $r 1172 private static function sha3_64($p, $c, $r, $d, $padType) argument 1174 $block_size = $r >> 3; 1180 $n = strlen($p) / $r; // number of blocks
|
H A D | Random.php | 185 $r = $crypto->encrypt($i ^ $v); // strlen($v) == 20 186 $v = $crypto->encrypt($r ^ $i); // strlen($r) == 20 187 $result .= $r;
|
H A D | Rijndael.php | 635 foreach ($this->w as $r => $wr) { 638 $dw[] = $this->dw[$r][$c];
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Signature/ |
H A D | ASN1.php | 64 public static function save(BigInteger $r, BigInteger $s) argument
|
H A D | SSH2.php | 68 public static function save(BigInteger $r, BigInteger $s) argument 70 if ($r->getLength() > 160 || $s->getLength() > 160) { 76 str_pad($r->toBytes(), 20, "\0", STR_PAD_LEFT) .
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/ |
H A D | PrivateKey.php | 100 return $format::save($r, $s); 109 $r = $this->g->powMod($k, $this->p); 110 list(, $r) = $r->divide($this->q); 111 if ($r->equals(self::$zero)) { 115 $temp = $h->add($this->x->multiply($r)); 139 return $format::save($r, $s);
|
H A D | PublicKey.php | 51 $sig = $format != 'ASN1' ? ASN1Signature::save($r, $s) : $signature; 61 if (!$r->between(self::$one, $q_1) || !$s->between(self::$one, $q_1)) { 69 list(, $u2) = $r->multiply($w)->divide($this->q); 75 return $v->equals($r);
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/BaseCurves/ |
H A D | Base.php | 110 $r = $alreadyInternal ? 117 $r[1 - $d_i] = $this->addPoint($r[0], $r[1]); 118 $r[$d_i] = $this->doublePoint($r[$d_i]); 121 return $alreadyInternal ? $r[0] : $this->convertToAffine($r[0]); 233 $r = $this->addPoint($p1, $p2); 234 return $this->convertToAffine($r);
|
H A D | KoblitzPrime.php | 115 list($c1, $r) = $c1->divide($this->order); 116 if ($this->order->compare($r->multiply($two)) <= 0) { 121 list($c2, $r) = $c2->divide($this->order); 122 if ($this->order->compare($r->multiply($two)) <= 0) {
|
H A D | Prime.php | 204 $r = $s2->subtract($s1); 208 $x3 = $r->multiply($r)->subtract($h3)->subtract($v->multiply($this->two)); 209 $y3 = $r->multiply( 241 $r = $s2->subtract($s1); 245 $x3 = $r->multiply($r)->subtract($h3)->subtract($v->multiply($this->two)); 246 $y3 = $r->multiply( 280 $r = $s2->subtract($s1); 284 $x3 = $r->multiply($r)->subtract($h3)->subtract($v->multiply($this->two)); 285 $y3 = $r->multiply(
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Signature/ |
H A D | ASN1.php | 64 public static function save(BigInteger $r, BigInteger $s) argument
|
H A D | SSH2.php | 80 public static function save(BigInteger $r, BigInteger $s, $curve) argument 96 $blob = Strings::packSSH2('ii', $r, $s);
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/ |
H A D | PrivateKey.php | 130 $r = $hash->hash($dom . $secret . $message); 131 $r = strrev($r); 132 $r = new BigInteger($r, 256); 133 list(, $r) = $r->divide($order); 134 $R = $curve->multiplyPoint($curve->getBasePoint(), $r); 140 $S = $k->multiply($dA)->add($r); 162 … return $shortFormat == 'SSH2' ? $format::save($r, $s, $this->getCurve()) : $format::save($r, $s); 176 list(, $r) = $x->divide($order); 177 if ($r->equals(self::$zero)) { 181 $temp = $z->add($dA->multiply($r)); [all …]
|
H A D | PublicKey.php | 126 $sig = $format != 'ASN1' ? ASN1Signature::save($r, $s) : $signature; 136 if (!$r->between(self::$one, $n_1) || !$s->between(self::$one, $n_1)) { 148 list(, $u2) = $r->multiply($w)->divide($order); 161 return $x1->equals($r);
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/ |
H A D | PrivateKey.php | 130 $r = $this->primes[1]; 134 $r = $r->multiply($this->primes[$i - 1]); 140 $m = $m->add($r->multiply($h)); 153 1 => $this->blind($x, $r, 1), 154 2 => $this->blind($x, $r, 2) 161 $r = $this->primes[1]; 165 $r = $r->multiply($this->primes[$i - 1]); 171 $m = $m->add($r->multiply($h)); 190 private function blind($x, $r, $i) argument 195 $r = $r->modInverse($this->primes[$i]); [all …]
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/File/ |
H A D | X509.php | 2619 $r = PSS::load($issuer->privateKey->withPassword()->toString('PSS')); 2622 'parameters' => PSS::savePSSParams($r)
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/ |
H A D | BigInteger.php | 309 list($q, $r) = $this->value->divide($y->value); 312 new static($r) 856 * @param BigInteger $r 859 public static function scan1divide(BigInteger $r) argument 862 return $class::scan1divide($r->value);
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/ |
H A D | BCMath.php | 556 $r = bcmod($this->value, $prime); 557 if ($r == '0') { 570 * @param BCMath $r 574 public static function scan1divide(BCMath $r) argument 576 $r_value = &$r->value;
|
H A D | Engine.php | 955 $r = clone $n_1; 956 $s = static::scan1divide($r); 960 $y = $a->modPow($r, $n);
|
H A D | GMP.php | 254 $r = gmp_cmp($this->value, $y->value); 255 if ($r < -1) { 256 $r = -1; 258 if ($r > 1) { 259 $r = 1; 261 return $r; 325 $r = gmp_gcd($this->value, $n->value); 326 return $this->normalize(new self($r)); 648 * @param GMP $r 653 $s = gmp_scan1($r->value, 0); [all …]
|
H A D | PHP.php | 540 list($q, $r) = $this->divide_digit($this->value, $y->value[0]); 544 $remainder->value = [$r]; 1115 list(, $r) = self::divide_digit($value, $prime); 1116 if (!$r) { 1129 * @param PHP $r 1133 public static function scan1divide(PHP $r) argument 1135 $r_value = &$r->value; 1145 $r->rshift($s);
|