Home
last modified time | relevance | path

Searched refs:BigInteger (Results 1 – 7 of 7) sorted by relevance

/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/
H A DASN1.php27 use phpseclib\Math\BigInteger; alias
985 $value = new BigInteger($value);
1151 $eighty = new BigInteger(80);
1162 $n = new BigInteger();
1169 $n = new BigInteger();
1204 $mask = new BigInteger(0x7F);
1205 $zero = new BigInteger();
1206 $forty = new BigInteger(40);
1218 $first = new BigInteger($part1);
1220 $first = $first->add(new BigInteger($part2));
[all …]
H A DX509.php33 use phpseclib\Math\BigInteger; alias
1001 'default' => new BigInteger(0)
3673 new BigInteger(Random::string(20) & ("\x7F" . str_repeat("\xFF", 19)), 256);
3972 $crlNumber = $crlNumber !== false ? $crlNumber->add(new BigInteger(1)) : null;
4128 $this->serialNumber = new BigInteger($serial, $base);
4835 $serial = new BigInteger($serial);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DRSA.php54 use phpseclib\Math\BigInteger; alias
518 $this->zero = new BigInteger();
519 $this->one = new BigInteger(1);
585 $e = new BigInteger(CRYPT_RSA_EXPONENT);
601 $generator = new BigInteger();
1289 $components['modulus'] = new BigInteger($temp, 256);
1619 $this->current = new BigInteger(base64_decode($this->current), 256);
2036 'min' => new BigInteger($min, 256),
2037 'max' => new BigInteger($max, 256)
2226 return new BigInteger($x, 256);
[all …]
H A DHash.php41 use phpseclib\Math\BigInteger; alias
645 $init384[$i] = new BigInteger($init384[$i], 16);
647 $init512[$i] = new BigInteger($init512[$i], 16);
677 $k[$i] = new BigInteger($k[$i], 16);
696 $temp = new BigInteger($this->_string_shift($chunk, 8), 256);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSSH1.php54 use phpseclib\Math\BigInteger; alias
582 …$server_key_public_exponent = new BigInteger($this->_string_shift($response[self::RESPONSE_DATA], …
589 …$server_key_public_modulus = new BigInteger($this->_string_shift($response[self::RESPONSE_DATA], c…
599 …$host_key_public_exponent = new BigInteger($this->_string_shift($response[self::RESPONSE_DATA], ce…
606 …$host_key_public_modulus = new BigInteger($this->_string_shift($response[self::RESPONSE_DATA], cei…
1339 * @param BigInteger $m
1341 * @return BigInteger
1376 $m = new BigInteger($temp, 256);
H A DSSH2.php1620 $prime = new BigInteger($primeBytes, -256);
1627 $g = new BigInteger($gBytes, -256);
1664 $g = new BigInteger(2);
1665 $prime = new BigInteger($prime, 16);
1685 $one = new BigInteger(1);
1768 $key = new BigInteger(sodium_crypto_scalarmult($x, $fBytes), 256);
1778 $f = new BigInteger($fBytes, -256);
4885 $zero = new BigInteger();
4920 $r = new BigInteger($this->_string_shift($signature, 20), 256);
4967 $n = new BigInteger($rawN, -256);
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Math/
H A DBigInteger.php62 class BigInteger class
68 * @see BigInteger::_reduce()
71 * @see BigInteger::_montgomery()
72 * @see BigInteger::_prepMontgomery()
76 * @see BigInteger::_barrett()
80 * @see BigInteger::_mod2()
84 * @see BigInteger::_remainder()
88 * @see BigInteger::__clone()
113 * @see BigInteger::_montgomery()
114 * @see BigInteger::_barrett()
[all …]