Lines Matching refs:decrypt

410     private $decrypt = false;  variable in phpseclib3\\Net\\SSH2
1680 …$decrypt = self::array_intersect_first($s2c_encryption_algorithms, $this->encryption_algorithms_se…
1681 $decryptKeyLength = $this->encryption_algorithm_to_key_size($decrypt);
1974 $this->decrypt = self::encryption_algorithm_to_crypt_instance($decrypt);
1975 if ($this->decrypt) {
1977 $this->decrypt->setPreferredEngine(self::$crypto_engine);
1979 if ($this->decrypt->getBlockLengthInBytes()) {
1980 $this->decrypt_block_size = $this->decrypt->getBlockLengthInBytes();
1982 $this->decrypt->disablePadding();
1984 if ($this->decrypt->usesIV()) {
1989 $this->decrypt->setIV(substr($iv, 0, $this->decrypt_block_size));
1992 switch ($decrypt) {
2003 $this->decrypt->enableContinuousBuffer();
2010 switch ($decrypt) {
2013 $this->lengthDecrypt = self::encryption_algorithm_to_crypt_instance($decrypt);
2016 $this->decrypt->setKey(substr($key, 0, $decryptKeyLength));
2017 $this->decryptName = $decrypt;
2030 if ($decrypt == 'arcfour128' || $decrypt == 'arcfour256') {
2031 $this->decrypt->decrypt(str_repeat("\0", 1536));
2053 if (!$this->decrypt->usesNonce()) {
3379 $this->decrypt = $this->encrypt = false;
3461 if ($this->decrypt) {
3465 $this->decrypt->setNonce(
3470 $this->decrypt->setAAD($temp = Strings::shift($raw, 4));
3479 $this->decrypt->setTag($tag);
3480 $raw = $this->decrypt->decrypt($raw);
3486 if (!($this->decrypt instanceof ChaCha20)) {
3493 $temp = $this->lengthDecrypt->decrypt($aad = Strings::shift($raw, 4));
3503 $this->decrypt->setNonce($nonce);
3504 $this->decrypt->setCounter(0);
3508 $this->decrypt->setPoly1305Key(
3509 $this->decrypt->encrypt(str_repeat("\0", 32))
3511 $this->decrypt->setAAD($aad);
3512 $this->decrypt->setCounter(1);
3513 $this->decrypt->setTag($tag);
3514 $raw = $this->decrypt->decrypt($raw);
3520 $raw = $this->decrypt->decrypt($raw);
3530 $raw = $temp . $this->decrypt->decrypt($raw);
3555 $raw .= $this->decrypt ? $this->decrypt->decrypt($buffer) : $buffer;
3651 if ($this->decrypt) {
3667 …if (!$this->bad_key_size_fix && self::bad_algorithm_candidate($this->decrypt ? $this->decryptName …