Home
last modified time | relevance | path

Searched refs:iv (Results 1 – 12 of 12) sorted by relevance

/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/
H A DPKCS1.php96 * @param string $iv
100 private static function generateSymmetricKey($password, $iv, $length) argument
103 $iv = substr($iv, 0, 8);
105 $symkey .= md5($symkey . $password . $iv, true);
139 $iv = Strings::hex2bin(trim($matches[2]));
147 … $crypto->setKey(self::generateSymmetricKey($password, $iv, $crypto->getKeyLength() >> 3));
148 $crypto->setIV($iv);
184 $iv = Random::string($cipher->getBlockLength() >> 3);
185 $cipher->setKey(self::generateSymmetricKey($password, $iv, $cipher->getKeyLength() >> 3));
186 $cipher->setIV($iv);
[all …]
H A DPKCS8.php407 $iv = $map['iv'];
421 $cipher->setIV($iv);
591 $iv = Random::string($crypto->getBlockLength() >> 3);
601 $params = ['octetString' => $iv];
605 'iv' => $iv
623 $crypto->setIV($iv);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/
H A DSymmetricKey.php234 protected $iv = false; variable in phpseclib3\\Crypt\\Common\\SymmetricKey
711 * @param string $iv
715 public function setIV($iv) argument
729 if (strlen($iv) != $this->block_size) {
730 …throw new \LengthException('Received initialization vector of size ' . strlen($iv) . ', but size '…
733 $this->iv = $this->origIV = $iv;
1160 $oldIV = $this->iv;
1161 Strings::increment_str($this->iv);
1164 $cipher->setIV($this->iv);
1173 $cipher->encryptIV = $this->iv = $this->encryptIV = $this->decryptIV = $oldIV;
[all …]
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DTripleDES.php193 * @param string $iv
195 public function setIV($iv) argument
197 parent::setIV($iv);
199 $this->des[0]->setIV($iv);
200 $this->des[1]->setIV($iv);
201 $this->des[2]->setIV($iv);
H A DSalsa20.php315 $iv = pack('V', $this->counter) . $this->p2;
321 $iv
352 $iv = pack('V', $buffer['counter']) . $this->p2;
360 $iv
378 $iv = pack('V', $buffer['counter']) . $this->p2;
385 $iv
H A DRandom.php138 $iv = sha1($seed . 'C', true);
167 $crypto->setIV(substr($iv, 0, $crypto->getBlockLength() >> 3));
H A DRijndael.php506 if (is_string($this->iv) && strlen($this->iv) != $this->block_size) {
507 …throw new InconsistentSetupException('The IV length (' . strlen($this->iv) . ') does not match the…
/dokuwiki/inc/lang/fi/
H A Dregistermail.txt7ivämäärä : @DATE@
H A Dmailtext.txt3ivämäärä : @DATE@
H A Dsubscr_single.txt10ivä : @DATE@
/dokuwiki/inc/
H A Dauth.php467 $iv = auth_randombytes(16);
470 $cipher->setIV($iv);
478 return $cipher->encrypt($iv . $data);
492 $iv = substr($ciphertext, 0, 16);
495 $cipher->setIV($iv);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSSH2.php1973 $iv = $kexHash->hash($keyBytes . $this->exchange_hash . 'A' . $this->session_id);
1974 while ($this->encrypt_block_size > strlen($iv)) {
1975 $iv .= $kexHash->hash($keyBytes . $this->exchange_hash . $iv);
1977 $this->encrypt->setIV(substr($iv, 0, $this->encrypt_block_size));
2018 $iv = $kexHash->hash($keyBytes . $this->exchange_hash . 'B' . $this->session_id);
2019 while ($this->decrypt_block_size > strlen($iv)) {
2020 $iv .= $kexHash->hash($keyBytes . $this->exchange_hash . $iv);
2022 $this->decrypt->setIV(substr($iv, 0, $this->decrypt_block_size));