<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.15"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>Crypto++: WAKE_Policy< B > Class Template Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">Crypto++  <span id="projectnumber">7.0</span> </div> <div id="projectbrief">Free C++ class library of cryptographic schemes</div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.15 --> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('',false,false,'search.php','Search'); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="class_w_a_k_e___policy-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">WAKE_Policy< B > Class Template Reference</div> </div> </div><!--header--> <div class="contents"> <p>WAKE stream cipher operation. <a href="class_w_a_k_e___policy.html#details">More...</a></p> <div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for WAKE_Policy< B >:</div> <div id="dynsection-0-summary" class="dynsummary" style="display:block;"> </div> <div id="dynsection-0-content" class="dyncontent" style="display:none;"> <div class="center"> <img src="class_w_a_k_e___policy.png" usemap="#WAKE_5FPolicy_3C_20B_20_3E_map" alt=""/> <map id="WAKE_5FPolicy_3C_20B_20_3E_map" name="WAKE_5FPolicy_3C_20B_20_3E_map"> <area href="struct_additive_cipher_concrete_policy.html" alt="AdditiveCipherConcretePolicy< word32, 1, 64 >" shape="rect" coords="0,56,288,80"/> <area href="class_w_a_k_e___base.html" alt="WAKE_Base" shape="rect" coords="298,56,586,80"/> <area href="struct_additive_cipher_abstract_policy.html" title="Policy object for additive stream ciphers." alt="AdditiveCipherAbstractPolicy" shape="rect" coords="0,0,288,24"/> </map> </div></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> Additional Inherited Members</h2></td></tr> <tr class="inherit_header pub_types_struct_additive_cipher_concrete_policy"><td colspan="2" onclick="javascript:toggleInherit('pub_types_struct_additive_cipher_concrete_policy')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="struct_additive_cipher_concrete_policy.html">AdditiveCipherConcretePolicy< word32, 1, 64 ></a></td></tr> <tr class="memitem:a94149b18cb6bf530f196ba0132ba904f inherit pub_types_struct_additive_cipher_concrete_policy"><td class="memItemLeft" align="right" valign="top"><a id="a94149b18cb6bf530f196ba0132ba904f"></a> typedef word32 </td><td class="memItemRight" valign="bottom"><b>WordType</b></td></tr> <tr class="separator:a94149b18cb6bf530f196ba0132ba904f inherit pub_types_struct_additive_cipher_concrete_policy"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_struct_additive_cipher_concrete_policy"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_struct_additive_cipher_concrete_policy')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="struct_additive_cipher_concrete_policy.html">AdditiveCipherConcretePolicy< word32, 1, 64 ></a></td></tr> <tr class="memitem:a5bdc1cb44b0ddc8df0fb6953aec93602 inherit pub_methods_struct_additive_cipher_concrete_policy"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_additive_cipher_concrete_policy.html#a5bdc1cb44b0ddc8df0fb6953aec93602">GetAlignment</a> () const</td></tr> <tr class="memdesc:a5bdc1cb44b0ddc8df0fb6953aec93602 inherit pub_methods_struct_additive_cipher_concrete_policy"><td class="mdescLeft"> </td><td class="mdescRight">Provides data alignment requirements. <a href="struct_additive_cipher_concrete_policy.html#a5bdc1cb44b0ddc8df0fb6953aec93602">More...</a><br /></td></tr> <tr class="separator:a5bdc1cb44b0ddc8df0fb6953aec93602 inherit pub_methods_struct_additive_cipher_concrete_policy"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3518c4f5404dd2eb483599bb1109d715 inherit pub_methods_struct_additive_cipher_concrete_policy"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_additive_cipher_concrete_policy.html#a3518c4f5404dd2eb483599bb1109d715">GetBytesPerIteration</a> () const</td></tr> <tr class="memdesc:a3518c4f5404dd2eb483599bb1109d715 inherit pub_methods_struct_additive_cipher_concrete_policy"><td class="mdescLeft"> </td><td class="mdescRight">Provides number of bytes operated upon during an iteration. <a href="struct_additive_cipher_concrete_policy.html#a3518c4f5404dd2eb483599bb1109d715">More...</a><br /></td></tr> <tr class="separator:a3518c4f5404dd2eb483599bb1109d715 inherit pub_methods_struct_additive_cipher_concrete_policy"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad7d421c4073891ad3522c50052d32f60 inherit pub_methods_struct_additive_cipher_concrete_policy"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_additive_cipher_concrete_policy.html#ad7d421c4073891ad3522c50052d32f60">GetIterationsToBuffer</a> () const</td></tr> <tr class="memdesc:ad7d421c4073891ad3522c50052d32f60 inherit pub_methods_struct_additive_cipher_concrete_policy"><td class="mdescLeft"> </td><td class="mdescRight">Provides buffer size based on iterations. <a href="struct_additive_cipher_concrete_policy.html#ad7d421c4073891ad3522c50052d32f60">More...</a><br /></td></tr> <tr class="separator:ad7d421c4073891ad3522c50052d32f60 inherit pub_methods_struct_additive_cipher_concrete_policy"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4d61dfcd462d71960fe8567e2d475f14 inherit pub_methods_struct_additive_cipher_concrete_policy"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_additive_cipher_concrete_policy.html#a4d61dfcd462d71960fe8567e2d475f14">CanOperateKeystream</a> () const</td></tr> <tr class="memdesc:a4d61dfcd462d71960fe8567e2d475f14 inherit pub_methods_struct_additive_cipher_concrete_policy"><td class="mdescLeft"> </td><td class="mdescRight">Flag indicating. <a href="struct_additive_cipher_concrete_policy.html#a4d61dfcd462d71960fe8567e2d475f14">More...</a><br /></td></tr> <tr class="separator:a4d61dfcd462d71960fe8567e2d475f14 inherit pub_methods_struct_additive_cipher_concrete_policy"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_struct_additive_cipher_abstract_policy"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_struct_additive_cipher_abstract_policy')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="struct_additive_cipher_abstract_policy.html">AdditiveCipherAbstractPolicy</a></td></tr> <tr class="memitem:a32bbafa12b59e77d4d8bc67e9d5a4004 inherit pub_methods_struct_additive_cipher_abstract_policy"><td class="memItemLeft" align="right" valign="top">virtual unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_additive_cipher_abstract_policy.html#a32bbafa12b59e77d4d8bc67e9d5a4004">GetOptimalBlockSize</a> () const</td></tr> <tr class="memdesc:a32bbafa12b59e77d4d8bc67e9d5a4004 inherit pub_methods_struct_additive_cipher_abstract_policy"><td class="mdescLeft"> </td><td class="mdescRight">Provides number of ideal bytes to process. <a href="struct_additive_cipher_abstract_policy.html#a32bbafa12b59e77d4d8bc67e9d5a4004">More...</a><br /></td></tr> <tr class="separator:a32bbafa12b59e77d4d8bc67e9d5a4004 inherit pub_methods_struct_additive_cipher_abstract_policy"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aea8268ee42cbc98cf9be638bf77aafef inherit pub_methods_struct_additive_cipher_abstract_policy"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_additive_cipher_abstract_policy.html#aea8268ee42cbc98cf9be638bf77aafef">WriteKeystream</a> (byte *keystream, size_t iterationCount)</td></tr> <tr class="memdesc:aea8268ee42cbc98cf9be638bf77aafef inherit pub_methods_struct_additive_cipher_abstract_policy"><td class="mdescLeft"> </td><td class="mdescRight">Generate the keystream. <a href="struct_additive_cipher_abstract_policy.html#aea8268ee42cbc98cf9be638bf77aafef">More...</a><br /></td></tr> <tr class="separator:aea8268ee42cbc98cf9be638bf77aafef inherit pub_methods_struct_additive_cipher_abstract_policy"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae00639d9aeb20b7da3ac5e3a0f877fa0 inherit pub_methods_struct_additive_cipher_abstract_policy"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_additive_cipher_abstract_policy.html#ae00639d9aeb20b7da3ac5e3a0f877fa0">CipherResynchronize</a> (byte *keystreamBuffer, const byte *iv, size_t length)</td></tr> <tr class="memdesc:ae00639d9aeb20b7da3ac5e3a0f877fa0 inherit pub_methods_struct_additive_cipher_abstract_policy"><td class="mdescLeft"> </td><td class="mdescRight">Resynchronize the cipher. <a href="struct_additive_cipher_abstract_policy.html#ae00639d9aeb20b7da3ac5e3a0f877fa0">More...</a><br /></td></tr> <tr class="separator:ae00639d9aeb20b7da3ac5e3a0f877fa0 inherit pub_methods_struct_additive_cipher_abstract_policy"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8fce38d2b7d84732fc3efea410b82d54 inherit pub_methods_struct_additive_cipher_abstract_policy"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_additive_cipher_abstract_policy.html#a8fce38d2b7d84732fc3efea410b82d54">SeekToIteration</a> (lword iterationCount)</td></tr> <tr class="memdesc:a8fce38d2b7d84732fc3efea410b82d54 inherit pub_methods_struct_additive_cipher_abstract_policy"><td class="mdescLeft"> </td><td class="mdescRight">Seeks to a random position in the stream. <a href="struct_additive_cipher_abstract_policy.html#a8fce38d2b7d84732fc3efea410b82d54">More...</a><br /></td></tr> <tr class="separator:a8fce38d2b7d84732fc3efea410b82d54 inherit pub_methods_struct_additive_cipher_abstract_policy"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_static_attribs_struct_additive_cipher_concrete_policy"><td colspan="2" onclick="javascript:toggleInherit('pub_static_attribs_struct_additive_cipher_concrete_policy')"><img src="closed.png" alt="-"/> Static Public Attributes inherited from <a class="el" href="struct_additive_cipher_concrete_policy.html">AdditiveCipherConcretePolicy< word32, 1, 64 ></a></td></tr> <tr class="memitem:a0c584b68c2f3a8208ff245cd8d09fcd5 inherit pub_static_attribs_struct_additive_cipher_concrete_policy"><td class="memItemLeft" align="right" valign="top"><a id="a0c584b68c2f3a8208ff245cd8d09fcd5"></a> static const int </td><td class="memItemRight" valign="bottom"><b>BYTES_PER_ITERATION</b></td></tr> <tr class="separator:a0c584b68c2f3a8208ff245cd8d09fcd5 inherit pub_static_attribs_struct_additive_cipher_concrete_policy"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><h3>template<class B = BigEndian><br /> class WAKE_Policy< B ></h3> <p>WAKE stream cipher operation. </p> <dl class="tparams"><dt>Template Parameters</dt><dd> <table class="tparams"> <tr><td class="paramname">B</td><td>Endianness of the stream cipher </td></tr> </table> </dd> </dl> <dl class="section since"><dt>Since</dt><dd>Crypto++ 1.0 </dd></dl> <p class="definition">Definition at line <a class="el" href="wake_8h_source.html#l00038">38</a> of file <a class="el" href="wake_8h_source.html">wake.h</a>.</p> </div><hr/>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="wake_8h_source.html">wake.h</a></li> <li><a class="el" href="wake_8cpp_source.html">wake.cpp</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Wed Nov 27 2019 15:04:48 for Crypto++ by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.15 </small></address> </body> </html>