<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Crypto++: ThreeWay class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.7 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> <h1>ThreeWay Class Reference</h1><code>#include <<a class="el" href="3way_8h-source.html">3way.h</a>></code> <p> <p>Inheritance diagram for ThreeWay: <p><center><img src="class_three_way.png" usemap="#ThreeWay_map" border="0" alt=""></center> <map name="ThreeWay_map"> <area href="struct_three_way___info.html" alt="ThreeWay_Info" shape="rect" coords="174,56,338,80"> <area href="struct_block_cipher_documentation.html" alt="BlockCipherDocumentation" shape="rect" coords="348,56,512,80"> <area href="class_fixed_block_size.html" alt="FixedBlockSize< 12 >" shape="rect" coords="0,0,164,24"> <area href="class_fixed_key_length.html" alt="FixedKeyLength< 12 >" shape="rect" coords="174,0,338,24"> <area href="class_variable_rounds.html" alt="VariableRounds< 11 >" shape="rect" coords="348,0,512,24"> </map> <a href="class_three_way-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> <a href="http://www.weidai.com/scan-mirror/cs.html#3-Way">3-Way</a> <p> <p> Definition at line <a class="el" href="3way_8h-source.html#l00019">19</a> of file <a class="el" href="3way_8h-source.html">3way.h</a>.<table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Public Types</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="_three_wayw0" doxytag="ThreeWay::Encryption" ></a> typedef <a class="el" href="class_block_cipher_final.html">BlockCipherFinal</a><<br> ENCRYPTION, Enc > </td><td class="memItemRight" valign=bottom><a class="el" href="class_three_way.html#_three_wayw0">Encryption</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">implements the <a class="el" href="class_block_cipher.html">BlockCipher</a> interface <br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="_three_wayw1" doxytag="ThreeWay::Decryption" ></a> typedef <a class="el" href="class_block_cipher_final.html">BlockCipherFinal</a><<br> DECRYPTION, Dec > </td><td class="memItemRight" valign=bottom><a class="el" href="class_three_way.html#_three_wayw1">Decryption</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">implements the <a class="el" href="class_block_cipher.html">BlockCipher</a> interface <br><br></td></tr> <tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="_three_way___infoe0" doxytag="ThreeWay::StaticAlgorithmName" ></a> const char * </td><td class="memItemRight" valign=bottom><b>StaticAlgorithmName</b> ()</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="_fixed_key_lengthe0" doxytag="ThreeWay::StaticGetValidKeyLength" ></a> unsigned int </td><td class="memItemRight" valign=bottom><b>StaticGetValidKeyLength</b> (unsigned int)</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="_variable_roundse0" doxytag="ThreeWay::StaticGetDefaultRounds" ></a> unsigned int </td><td class="memItemRight" valign=bottom><b>StaticGetDefaultRounds</b> (unsigned int keylength)</td></tr> <tr><td colspan=2><br><h2>Static Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="_variable_roundsf0" doxytag="ThreeWay::AssertValidRounds" ></a> void </td><td class="memItemRight" valign=bottom><b>AssertValidRounds</b> (unsigned int rounds)</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="_variable_roundsf1" doxytag="ThreeWay::CheckedSetKey" ></a> void </td><td class="memItemRight" valign=bottom><b>CheckedSetKey</b> (T *obj, <a class="el" href="cryptlib_8h.html#a11">CipherDir</a> dir, const byte *key, unsigned int length, const <a class="el" href="class_name_value_pairs.html">NameValuePairs</a> &param)</td></tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="3way_8h-source.html">3way.h</a></ul> <hr size="1"><address style="align: right;"><small>Generated on Sun Nov 7 08:24:11 2004 for Crypto++ by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address> </body> </html>