Lines Matching refs:xor

1258 …$xor = openssl_encrypt($iv, $this->cipher_name_openssl_ecb, $this->key, $this->openssl_options, $t…
1259 $ciphertext .= $plaintext[$i] ^ $xor;
1260 $iv = substr($iv, 1) . $xor[0];
1364 $xor = $this->encryptIV;
1367 $block = $this->encryptBlock($block ^ $xor);
1368 $xor = $block;
1372 $this->encryptIV = $xor;
1376 $xor = $this->encryptIV;
1381 $buffer['ciphertext'] .= $this->encryptBlock($xor);
1382 Strings::increment_str($xor);
1390 $key = $this->encryptBlock($xor);
1391 Strings::increment_str($xor);
1396 $this->encryptIV = $xor;
1468 $xor = $this->encryptBlock($iv);
1469 $ciphertext .= $plaintext[$i] ^ $xor;
1470 $iv = substr($iv, 1) . $xor[0];
1478 $xor = $this->encryptIV;
1483 $xor = $this->encryptBlock($xor);
1484 $buffer['xor'] .= $xor;
1491 $xor = $this->encryptBlock($xor);
1492 $ciphertext .= substr($plaintext, $i, $block_size) ^ $xor;
1494 $key = $xor;
1497 $this->encryptIV = $xor;
1647 …$xor = openssl_encrypt($iv, $this->cipher_name_openssl_ecb, $this->key, $this->openssl_options, $t…
1648 $plaintext .= $ciphertext[$i] ^ $xor;
1649 $iv = substr($iv, 1) . $xor[0];
1739 $xor = $this->decryptIV;
1742 $plaintext .= $this->decryptBlock($block) ^ $xor;
1743 $xor = $block;
1746 $this->decryptIV = $xor;
1750 $xor = $this->decryptIV;
1755 $buffer['ciphertext'] .= $this->encryptBlock($xor);
1756 Strings::increment_str($xor);
1764 $key = $this->encryptBlock($xor);
1765 Strings::increment_str($xor);
1770 $this->decryptIV = $xor;
1841 $xor = $this->encryptBlock($iv);
1842 $plaintext .= $ciphertext[$i] ^ $xor;
1843 $iv = substr($iv, 1) . $xor[0];
1851 $xor = $this->decryptIV;
1856 $xor = $this->encryptBlock($xor);
1857 $buffer['xor'] .= $xor;
1864 $xor = $this->encryptBlock($xor);
1865 $plaintext .= substr($ciphertext, $i, $block_size) ^ $xor;
1867 $key = $xor;
1870 $this->decryptIV = $xor;
1987 $xor = $encryptIV;
1992 …$buffer['ciphertext'] .= openssl_encrypt($xor, $this->cipher_name_openssl_ecb, $key, OPENSSL_RAW_D…
1994 Strings::increment_str($xor);
2001 …$otp = openssl_encrypt($xor, $this->cipher_name_openssl_ecb, $key, OPENSSL_RAW_DATA | OPENSSL_ZERO…
2002 Strings::increment_str($xor);
2007 $encryptIV = $xor;
2086 $xor = Strings::pop($ciphertext, $block_size);
2088 $encryptIV = $xor;
2090 $ciphertext .= Strings::shift($xor, $overflow) ^ substr($plaintext, -$overflow);
2092 $buffer['xor'] = $xor;