⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 class_c_b_c___c_t_s___decryption.html

📁 著名的密码库Crypto++的文档 C++语言的杰作。程序员必备。
💻 HTML
📖 第 1 页 / 共 4 页
字号:
Definition at line <a class="el" href="cryptlib_8h-source.html#l00382">382</a> of file <a class="el" href="cryptlib_8h-source.html">cryptlib.h</a>.</div></div><p><hr><h2>Member Function Documentation</h2><a class="anchor" name="2f23aad280dc56920f16ea0711b39d89"></a><!-- doxytag: member="CBC_CTS_Decryption::ProcessLastBlock" ref="2f23aad280dc56920f16ea0711b39d89" args="(byte *outString, const byte *inString, size_t length)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">void CBC_CTS_Decryption::ProcessLastBlock           </td>          <td>(</td>          <td class="paramtype">byte *&nbsp;</td>          <td class="paramname"> <em>outString</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">const byte *&nbsp;</td>          <td class="paramname"> <em>inString</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">size_t&nbsp;</td>          <td class="paramname"> <em>length</em></td><td>&nbsp;</td>        </tr>        <tr>          <td></td>          <td>)</td>          <td></td><td></td><td width="100%"><code> [virtual]</code></td>        </tr>      </table></div><div class="memdoc"><p>for ciphers where the last block of data is special, encrypt or decrypt the last block of data <p>For now the only use of this function is for CBC-CTS mode. <p>Reimplemented from <a class="el" href="class_stream_transformation.html#0668b78edaea082f87bf3e878c4c02f7">StreamTransformation</a>.<p>Definition at line <a class="el" href="modes_8cpp-source.html#l00173">173</a> of file <a class="el" href="modes_8cpp-source.html">modes.cpp</a>.<p>References <a class="el" href="modes_8h-source.html#l00046">CipherModeBase::BlockSize()</a>, <a class="el" href="modes_8h-source.html#l00057">CipherModeBase::m_cipher</a>, <a class="el" href="modes_8h-source.html#l00058">CipherModeBase::m_register</a>, <a class="el" href="modes_8h-source.html#l00247">CBC_Decryption::m_temp</a>, and <a class="el" href="cryptlib_8h-source.html#l00434">BlockTransformation::ProcessBlock()</a>.</div></div><p><a class="anchor" name="947329920de17742397a7c0fd01d3364"></a><!-- doxytag: member="CBC_CTS_Decryption::ProcessData" ref="947329920de17742397a7c0fd01d3364" args="(byte *outString, const byte *inString, size_t length)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">void BlockOrientedCipherModeBase::ProcessData           </td>          <td>(</td>          <td class="paramtype">byte *&nbsp;</td>          <td class="paramname"> <em>outString</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">const byte *&nbsp;</td>          <td class="paramname"> <em>inString</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">size_t&nbsp;</td>          <td class="paramname"> <em>length</em></td><td>&nbsp;</td>        </tr>        <tr>          <td></td>          <td>)</td>          <td></td><td></td><td width="100%"><code> [virtual, inherited]</code></td>        </tr>      </table></div><div class="memdoc"><p>encrypt or decrypt an array of bytes of specified length <p><dl class="note" compact><dt><b>Note:</b></dt><dd>either inString == outString, or they don't overlap </dd></dl><p>Implements <a class="el" href="class_stream_transformation.html#26feabde21bc4d1783195969733e3bb0">StreamTransformation</a>.<p>Definition at line <a class="el" href="modes_8cpp-source.html#l00095">95</a> of file <a class="el" href="modes_8cpp-source.html">modes.cpp</a>.<p>References <a class="el" href="cryptlib_8cpp-source.html#l00114">BlockTransformation::BlockAlignment()</a>, <a class="el" href="modes_8h-source.html#l00046">CipherModeBase::BlockSize()</a>, <a class="el" href="modes_8h-source.html#l00188">BlockOrientedCipherModeBase::m_buffer</a>, <a class="el" href="modes_8h-source.html#l00057">CipherModeBase::m_cipher</a>, and <a class="el" href="modes_8h-source.html#l00180">BlockOrientedCipherModeBase::RequireAlignedInput()</a>.</div></div><p><a class="anchor" name="8c9304fff5af593ee68d3cf0d33c06e9"></a><!-- doxytag: member="CBC_CTS_Decryption::Ref" ref="8c9304fff5af593ee68d3cf0d33c06e9" args="()" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname"><a class="el" href="class_stream_transformation.html">StreamTransformation</a>&amp; StreamTransformation::Ref           </td>          <td>(</td>          <td class="paramname">          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"><code> [inline, inherited]</code></td>        </tr>      </table></div><div class="memdoc"><p>return a reference to this object, <p>This function is useful for passing a temporary <a class="el" href="class_stream_transformation.html" title="interface for the data processing part of stream ciphers">StreamTransformation</a> object to a function that takes a non-const reference. <p>Definition at line <a class="el" href="cryptlib_8h-source.html#l00470">470</a> of file <a class="el" href="cryptlib_8h-source.html">cryptlib.h</a>.</div></div><p><a class="anchor" name="f66ef64545279c01310718af3d627534"></a><!-- doxytag: member="CBC_CTS_Decryption::OptimalBlockSize" ref="f66ef64545279c01310718af3d627534" args="() const" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">virtual unsigned int StreamTransformation::OptimalBlockSize           </td>          <td>(</td>          <td class="paramname">          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"> const<code> [inline, virtual, inherited]</code></td>        </tr>      </table></div><div class="memdoc"><p>returns the input block size that is most efficient for this cipher <p>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -