<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.14"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>Crypto++: ChaCha_Policy< R > 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.14 --> <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_cha_cha___policy-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">ChaCha_Policy< R > Class Template Reference</div> </div> </div><!--header--> <div class="contents"> <p>ChaCha stream cipher implementation. <a href="class_cha_cha___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 ChaCha_Policy< R >:</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_cha_cha___policy.png" usemap="#ChaCha_5FPolicy_3C_20R_20_3E_map" alt=""/> <map id="ChaCha_5FPolicy_3C_20R_20_3E_map" name="ChaCha_5FPolicy_3C_20R_20_3E_map"> <area href="struct_additive_cipher_concrete_policy.html" alt="AdditiveCipherConcretePolicy< word32, 16 >" shape="rect" coords="0,56,272,80"/> <area href="struct_additive_cipher_abstract_policy.html" title="Policy object for additive stream ciphers. " alt="AdditiveCipherAbstractPolicy" shape="rect" coords="0,0,272,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, 16 ></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, 16 ></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: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="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, 16 ></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<unsigned int R><br /> class ChaCha_Policy< R ></h3> <p>ChaCha stream cipher implementation. </p> <dl class="section since"><dt>Since</dt><dd>Crypto++ 5.6.4 </dd></dl> <p class="definition">Definition at line <a class="el" href="chacha_8h_source.html#l00034">34</a> of file <a class="el" href="chacha_8h_source.html">chacha.h</a>.</p> </div><hr/>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="chacha_8h_source.html">chacha.h</a></li> <li><a class="el" href="chacha_8cpp_source.html">chacha.cpp</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Sun Sep 16 2018 07:58:20 for Crypto++ by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.14 </small></address> </body> </html>