Lines Matching refs:block

1232                         $block = $iv ^ substr($plaintext, -$overflow);
1233 $iv = substr_replace($iv, $block, 0, $overflow);
1234 $ciphertext .= $block;
1327 $block = $iv ^ substr($plaintext, -$len);
1328 $iv = substr_replace($iv, $block, 0, $len);
1329 $ciphertext .= $block;
1366 $block = substr($plaintext, $i, $block_size);
1367 $block = $this->encryptBlock($block ^ $xor);
1368 $xor = $block;
1369 $ciphertext .= $block;
1379 $block = substr($plaintext, $i, $block_size);
1380 if (strlen($block) > strlen($buffer['ciphertext'])) {
1385 $ciphertext .= $block ^ $key;
1389 $block = substr($plaintext, $i, $block_size);
1392 $ciphertext .= $block ^ $key;
1438 $block = $iv ^ substr($plaintext, $i);
1439 $iv = substr_replace($iv, $block, 0, $len);
1440 $ciphertext .= $block;
1481 $block = substr($plaintext, $i, $block_size);
1482 if (strlen($block) > strlen($buffer['xor'])) {
1487 $ciphertext .= $block ^ $key;
1741 $block = substr($ciphertext, $i, $block_size);
1742 $plaintext .= $this->decryptBlock($block) ^ $xor;
1743 $xor = $block;
1753 $block = substr($ciphertext, $i, $block_size);
1754 if (strlen($block) > strlen($buffer['ciphertext'])) {
1759 $plaintext .= $block ^ $key;
1763 $block = substr($ciphertext, $i, $block_size);
1766 $plaintext .= $block ^ $key;
1854 $block = substr($ciphertext, $i, $block_size);
1855 if (strlen($block) > strlen($buffer['xor'])) {
1860 $plaintext .= $block ^ $key;
1990 $block = substr($plaintext, $i, $block_size);
1991 if (strlen($block) > strlen($buffer['ciphertext'])) {
1996 $ciphertext .= $block ^ $otp;
2000 $block = substr($plaintext, $i, $block_size);
2003 $ciphertext .= $block ^ $otp;
3396 foreach ($blocks as $block) {
3397 $n = strrev($block . chr(1));