Lines Matching refs:encryptIV

259     protected $encryptIV;  variable in phpseclib3\\Crypt\\Common\\SymmetricKey
1166 $cipher->encryptIV = $this->iv = $this->encryptIV = $this->decryptIV = $oldIV;
1187 …$this->cipher_name_openssl, $this->key, OPENSSL_RAW_DATA | OPENSSL_ZERO_PADDING, $this->encryptIV);
1189 $this->encryptIV = substr($result, -$this->block_size);
1193 … return $this->openssl_ctr_process($plaintext, $this->encryptIV, $this->enbuffer);
1199 $iv = &$this->encryptIV;
1202 $iv = $this->encryptIV;
1243 …$this->cipher_name_openssl, $this->key, OPENSSL_RAW_DATA | OPENSSL_ZERO_PADDING, $this->encryptIV);
1246 $this->encryptIV = substr($ciphertext, -$this->block_size);
1248 …$this->encryptIV = substr($this->encryptIV, $len - $this->block_size) . substr($ciphertext, -$len);
1255 $iv = $this->encryptIV;
1264 $this->encryptIV = $iv;
1268 … return $this->openssl_ofb_process($plaintext, $this->encryptIV, $this->enbuffer);
1276 mcrypt_generic_init($this->enmcrypt, $this->key, $this->getIV($this->encryptIV));
1285 $iv = &$this->encryptIV;
1341 mcrypt_generic_init($this->enmcrypt, $this->key, $this->getIV($this->encryptIV));
1364 $xor = $this->encryptIV;
1372 $this->encryptIV = $xor;
1376 $xor = $this->encryptIV;
1396 $this->encryptIV = $xor;
1406 $iv = &$this->encryptIV;
1409 $iv = $this->encryptIV;
1447 $iv = $this->encryptIV;
1456 $this->encryptIV = substr($ciphertext, -$block_size);
1458 … $this->encryptIV = substr($this->encryptIV, $len - $block_size) . substr($ciphertext, -$len);
1465 $iv = $this->encryptIV;
1474 $this->encryptIV = $iv;
1478 $xor = $this->encryptIV;
1497 $this->encryptIV = $xor;
1553 $cipher->encryptIV = $this->iv = $this->encryptIV = $this->decryptIV = $oldIV;
1974 * @param string $encryptIV
1979 private function openssl_ctr_process($plaintext, &$encryptIV, &$buffer) argument
1987 $xor = $encryptIV;
2007 $encryptIV = $xor;
2028 …lock_size), $this->cipher_name_openssl, $key, OPENSSL_RAW_DATA | OPENSSL_ZERO_PADDING, $encryptIV);
2033 $encryptIV = $temp;
2036 …lock_size), $this->cipher_name_openssl, $key, OPENSSL_RAW_DATA | OPENSSL_ZERO_PADDING, $encryptIV);
2039 $encryptIV = $temp;
2043 …$encryptIV = openssl_decrypt($encryptIV, $this->cipher_name_openssl_ecb, $key, OPENSSL_RAW_DATA | …
2045 Strings::increment_str($encryptIV);
2062 * @param string $encryptIV
2067 private function openssl_ofb_process($plaintext, &$encryptIV, &$buffer) argument
2085 …lock_size), $this->cipher_name_openssl, $key, OPENSSL_RAW_DATA | OPENSSL_ZERO_PADDING, $encryptIV);
2088 $encryptIV = $xor;
2095 …$plaintext, $this->cipher_name_openssl, $key, OPENSSL_RAW_DATA | OPENSSL_ZERO_PADDING, $encryptIV);
2097 … $encryptIV = substr($ciphertext, -$block_size) ^ substr($plaintext, -$block_size);
2509 $this->encryptIV = $this->decryptIV = $this->iv;