📄 class_iterated_hash_with_static_transform.html
字号:
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d1d059e2cba2115f403befa9e6c070da"></a><!-- doxytag: member="IteratedHashWithStaticTransform::m_data" ref="d1d059e2cba2115f403befa9e6c070da" args="" --><a class="el" href="class_fixed_size_sec_block.html">FixedSizeSecBlock</a>< T_HashWordType,<br> T_BlockSize/sizeof(T_HashWordType)> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_iterated_hash.html#d1d059e2cba2115f403befa9e6c070da">m_data</a></td></tr></table><hr><h2>Member Function Documentation</h2><a class="anchor" name="39b0a4c4cdc11fda358f9975b5e4137e"></a><!-- doxytag: member="IteratedHashWithStaticTransform::Ref" ref="39b0a4c4cdc11fda358f9975b5e4137e" args="()" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="class_hash_transformation.html">HashTransformation</a>& HashTransformation::Ref </td> <td>(</td> <td class="paramname"> </td> <td> ) </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_hash_transformation.html" title="interface for hash functions and data processing part of MACs">HashTransformation</a> object to a function that takes a non-const reference. <p>Definition at line <a class="el" href="cryptlib_8h-source.html#l00533">533</a> of file <a class="el" href="cryptlib_8h-source.html">cryptlib.h</a>.</div></div><p><a class="anchor" name="a0b8c7a110d8968268fd02ec32b9a8e8"></a><!-- doxytag: member="IteratedHashWithStaticTransform::Final" ref="a0b8c7a110d8968268fd02ec32b9a8e8" args="(byte *digest)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void HashTransformation::Final </td> <td>(</td> <td class="paramtype">byte * </td> <td class="paramname"> <em>digest</em> </td> <td> ) </td> <td width="100%"><code> [inline, virtual, inherited]</code></td> </tr> </table></div><div class="memdoc"><p>compute hash for current message, then restart for a new message <p><dl class="pre" compact><dt><b>Precondition:</b></dt><dd>size of digest == <a class="el" href="class_hash_transformation.html#41faf8b1293a6c72390cb0c8bd668097" title="size of the hash returned by Final()">DigestSize()</a>. </dd></dl><p>Definition at line <a class="el" href="cryptlib_8h-source.html#l00543">543</a> of file <a class="el" href="cryptlib_8h-source.html">cryptlib.h</a>.<p>Referenced by <a class="el" href="pssr_8cpp-source.html#l00045">PSSR_MEM_Base::ComputeMessageRepresentative()</a>, <a class="el" href="pkcspad_8cpp-source.html#l00089">PKCS1v15_SignatureMessageEncodingMethod::ComputeMessageRepresentative()</a>, <a class="el" href="esign_8h-source.html#l00092">EMSA5Pad< T >::ComputeMessageRepresentative()</a>, <a class="el" href="pwdbased_8h-source.html#l00085">PKCS5_PBKDF2_HMAC< T >::DeriveKey()</a>, <a class="el" href="default_8cpp-source.html#l00083">DefaultEncryptor::FirstPut()</a>, <a class="el" href="randpool_8cpp-source.html#l00024">RandomPool::IncorporateEntropy()</a>, <a class="el" href="pssr_8cpp-source.html#l00084">PSSR_MEM_Base::RecoverMessageFromRepresentative()</a>, <a class="el" href="hmac_8cpp-source.html#l00067">HMAC_Base::TruncatedFinal()</a>, <a class="el" href="zlib_8cpp-source.html#l00033">ZlibCompressor::WritePoststreamTail()</a>, and <a class="el" href="gzip_8cpp-source.html#l00029">Gzip::WritePoststreamTail()</a>.</div></div><p><a class="anchor" name="16c4aecd047015d513feef4ed5b929ba"></a><!-- doxytag: member="IteratedHashWithStaticTransform::Verify" ref="16c4aecd047015d513feef4ed5b929ba" args="(const byte *digest)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool HashTransformation::Verify </td> <td>(</td> <td class="paramtype">const byte * </td> <td class="paramname"> <em>digest</em> </td> <td> ) </td> <td width="100%"><code> [inline, virtual, inherited]</code></td> </tr> </table></div><div class="memdoc"><p>verify that digest is a valid digest for the current message, then reinitialize the object <p>Default implementation is to call <a class="el" href="class_hash_transformation.html#a0b8c7a110d8968268fd02ec32b9a8e8" title="compute hash for current message, then restart for a new message">Final()</a> and do a bitwise comparison between its output and digest. <p>Definition at line <a class="el" href="cryptlib_8h-source.html#l00569">569</a> of file <a class="el" href="cryptlib_8h-source.html">cryptlib.h</a>.<p>Referenced by <a class="el" href="filters_8cpp-source.html#l00773">HashVerificationFilter::LastPut()</a>, <a class="el" href="gzip_8cpp-source.html#l00084">Gunzip::ProcessPoststreamTail()</a>, and <a class="el" href="pssr_8cpp-source.html#l00084">PSSR_MEM_Base::RecoverMessageFromRepresentative()</a>.</div></div><p><hr>The documentation for this class was generated from the following file:<ul><li><a class="el" href="iterhash_8h-source.html">iterhash.h</a></ul><hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 1 11:11:41 2007 for Crypto++ by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -