<!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++: DL_BasePrecomputation_LUC Class 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="#pub-methods">Public Member Functions</a> | <a href="class_d_l___base_precomputation___l_u_c-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">DL_BasePrecomputation_LUC Class Reference</div> </div> </div><!--header--> <div class="contents"> <p><a class="el" href="struct_l_u_c.html" title="LUC cryptosystem. ">LUC</a> Precomputation. <a href="class_d_l___base_precomputation___l_u_c.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 DL_BasePrecomputation_LUC:</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_d_l___base_precomputation___l_u_c.png" usemap="#DL_5FBasePrecomputation_5FLUC_map" alt=""/> <map id="DL_5FBasePrecomputation_5FLUC_map" name="DL_5FBasePrecomputation_5FLUC_map"> <area href="class_d_l___fixed_base_precomputation.html" alt="DL_FixedBasePrecomputation< Integer >" shape="rect" coords="0,0,244,24"/> </map> </div></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:aa827de4576c4d1b8a3a474872ff14796"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_l___base_precomputation___l_u_c.html#aa827de4576c4d1b8a3a474872ff14796">IsInitialized</a> () const</td></tr> <tr class="memdesc:aa827de4576c4d1b8a3a474872ff14796"><td class="mdescLeft"> </td><td class="mdescRight">Determines whether this object is initialized. <a href="#aa827de4576c4d1b8a3a474872ff14796">More...</a><br /></td></tr> <tr class="separator:aa827de4576c4d1b8a3a474872ff14796"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6d865ec1833d0d4c5f30647ca7b2e9a7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_l___base_precomputation___l_u_c.html#a6d865ec1833d0d4c5f30647ca7b2e9a7">SetBase</a> (const <a class="el" href="class_d_l___group_precomputation.html">DL_GroupPrecomputation</a>< Element > &group, const <a class="el" href="class_integer.html">Integer</a> &base)</td></tr> <tr class="memdesc:a6d865ec1833d0d4c5f30647ca7b2e9a7"><td class="mdescLeft"> </td><td class="mdescRight">Set the base element. <a href="#a6d865ec1833d0d4c5f30647ca7b2e9a7">More...</a><br /></td></tr> <tr class="separator:a6d865ec1833d0d4c5f30647ca7b2e9a7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae3f798a940fa6e8817e63d252905b628"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_integer.html">Integer</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_l___base_precomputation___l_u_c.html#ae3f798a940fa6e8817e63d252905b628">GetBase</a> (const <a class="el" href="class_d_l___group_precomputation.html">DL_GroupPrecomputation</a>< Element > &group) const</td></tr> <tr class="memdesc:ae3f798a940fa6e8817e63d252905b628"><td class="mdescLeft"> </td><td class="mdescRight">Get the base element. <a href="#ae3f798a940fa6e8817e63d252905b628">More...</a><br /></td></tr> <tr class="separator:ae3f798a940fa6e8817e63d252905b628"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a635c3728cec2a472716bbab2dc6bbe29"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_l___base_precomputation___l_u_c.html#a635c3728cec2a472716bbab2dc6bbe29">Precompute</a> (const <a class="el" href="class_d_l___group_precomputation.html">DL_GroupPrecomputation</a>< Element > &group, unsigned int maxExpBits, unsigned int storage)</td></tr> <tr class="memdesc:a635c3728cec2a472716bbab2dc6bbe29"><td class="mdescLeft"> </td><td class="mdescRight">Perform precomputation. <a href="#a635c3728cec2a472716bbab2dc6bbe29">More...</a><br /></td></tr> <tr class="separator:a635c3728cec2a472716bbab2dc6bbe29"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a29ef2941ab5722671d60a35e5f11a357"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_l___base_precomputation___l_u_c.html#a29ef2941ab5722671d60a35e5f11a357">Load</a> (const <a class="el" href="class_d_l___group_precomputation.html">DL_GroupPrecomputation</a>< Element > &group, <a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &storedPrecomputation)</td></tr> <tr class="memdesc:a29ef2941ab5722671d60a35e5f11a357"><td class="mdescLeft"> </td><td class="mdescRight">Retrieve previously saved precomputation. <a href="#a29ef2941ab5722671d60a35e5f11a357">More...</a><br /></td></tr> <tr class="separator:a29ef2941ab5722671d60a35e5f11a357"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a53f91378ed493e00439e40f30eb26e25"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_l___base_precomputation___l_u_c.html#a53f91378ed493e00439e40f30eb26e25">Save</a> (const <a class="el" href="class_d_l___group_precomputation.html">DL_GroupPrecomputation</a>< Element > &group, <a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &storedPrecomputation) const</td></tr> <tr class="memdesc:a53f91378ed493e00439e40f30eb26e25"><td class="mdescLeft"> </td><td class="mdescRight">Save precomputation for later use. <a href="#a53f91378ed493e00439e40f30eb26e25">More...</a><br /></td></tr> <tr class="separator:a53f91378ed493e00439e40f30eb26e25"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2b0a6a3d250074a50e3445b5a984d82d"><td class="memItemLeft" align="right" valign="top"><a id="a2b0a6a3d250074a50e3445b5a984d82d"></a> <a class="el" href="class_integer.html">Integer</a> </td><td class="memItemRight" valign="bottom"><b>Exponentiate</b> (const <a class="el" href="class_d_l___group_precomputation.html">DL_GroupPrecomputation</a>< Element > &group, const <a class="el" href="class_integer.html">Integer</a> &exponent) const</td></tr> <tr class="separator:a2b0a6a3d250074a50e3445b5a984d82d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a938f563acc6ec78ae18a658eaa6f70e2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_integer.html">Integer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_l___base_precomputation___l_u_c.html#a938f563acc6ec78ae18a658eaa6f70e2">CascadeExponentiate</a> (const <a class="el" href="class_d_l___group_precomputation.html">DL_GroupPrecomputation</a>< Element > &group, const <a class="el" href="class_integer.html">Integer</a> &exponent, const <a class="el" href="class_d_l___fixed_base_precomputation.html">DL_FixedBasePrecomputation</a>< <a class="el" href="class_integer.html">Integer</a> > &pc2, const <a class="el" href="class_integer.html">Integer</a> &exponent2) const</td></tr> <tr class="memdesc:a938f563acc6ec78ae18a658eaa6f70e2"><td class="mdescLeft"> </td><td class="mdescRight">Exponentiates an element. <a href="#a938f563acc6ec78ae18a658eaa6f70e2">More...</a><br /></td></tr> <tr class="separator:a938f563acc6ec78ae18a658eaa6f70e2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_class_d_l___fixed_base_precomputation"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_d_l___fixed_base_precomputation')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_d_l___fixed_base_precomputation.html">DL_FixedBasePrecomputation< Integer ></a></td></tr> <tr class="memitem:ac11f5d82936a1e62395230aba2a34ae4 inherit pub_methods_class_d_l___fixed_base_precomputation"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_integer.html">Element</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_l___fixed_base_precomputation.html#ac11f5d82936a1e62395230aba2a34ae4">Exponentiate</a> (const <a class="el" href="class_d_l___group_precomputation.html">DL_GroupPrecomputation</a>< <a class="el" href="class_integer.html">Element</a> > &group, const <a class="el" href="class_integer.html">Integer</a> &exponent) const=0</td></tr> <tr class="memdesc:ac11f5d82936a1e62395230aba2a34ae4 inherit pub_methods_class_d_l___fixed_base_precomputation"><td class="mdescLeft"> </td><td class="mdescRight">Exponentiates an element. <a href="class_d_l___fixed_base_precomputation.html#ac11f5d82936a1e62395230aba2a34ae4">More...</a><br /></td></tr> <tr class="separator:ac11f5d82936a1e62395230aba2a34ae4 inherit pub_methods_class_d_l___fixed_base_precomputation"><td class="memSeparator" colspan="2"> </td></tr> </table><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_class_d_l___fixed_base_precomputation"><td colspan="2" onclick="javascript:toggleInherit('pub_types_class_d_l___fixed_base_precomputation')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="class_d_l___fixed_base_precomputation.html">DL_FixedBasePrecomputation< Integer ></a></td></tr> <tr class="memitem:a5d0a97b7a92644dda0c571f65c904879 inherit pub_types_class_d_l___fixed_base_precomputation"><td class="memItemLeft" align="right" valign="top"><a id="a5d0a97b7a92644dda0c571f65c904879"></a> typedef <a class="el" href="class_integer.html">Integer</a> </td><td class="memItemRight" valign="bottom"><b>Element</b></td></tr> <tr class="separator:a5d0a97b7a92644dda0c571f65c904879 inherit pub_types_class_d_l___fixed_base_precomputation"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p><a class="el" href="struct_l_u_c.html" title="LUC cryptosystem. ">LUC</a> Precomputation. </p> <dl class="section since"><dt>Since</dt><dd>Crypto++ 2.1 </dd></dl> <p class="definition">Definition at line <a class="el" href="luc_8h_source.html#l00192">192</a> of file <a class="el" href="luc_8h_source.html">luc.h</a>.</p> </div><h2 class="groupheader">Member Function Documentation</h2> <a id="aa827de4576c4d1b8a3a474872ff14796"></a> <h2 class="memtitle"><span class="permalink"><a href="#aa827de4576c4d1b8a3a474872ff14796">◆ </a></span>IsInitialized()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">bool DL_BasePrecomputation_LUC::IsInitialized </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Determines whether this object is initialized. </p> <dl class="section return"><dt>Returns</dt><dd>true if this object is initialized, false otherwise </dd></dl> <p>Implements <a class="el" href="class_d_l___fixed_base_precomputation.html#af3d9c16b963bfbb7e931809278f87185">DL_FixedBasePrecomputation< Integer ></a>.</p> <p class="definition">Definition at line <a class="el" href="luc_8h_source.html#l00198">198</a> of file <a class="el" href="luc_8h_source.html">luc.h</a>.</p> </div> </div> <a id="a6d865ec1833d0d4c5f30647ca7b2e9a7"></a> <h2 class="memtitle"><span class="permalink"><a href="#a6d865ec1833d0d4c5f30647ca7b2e9a7">◆ </a></span>SetBase()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void DL_BasePrecomputation_LUC::SetBase </td> <td>(</td> <td class="paramtype">const <a class="el" href="class_d_l___group_precomputation.html">DL_GroupPrecomputation</a>< Element > & </td> <td class="paramname"><em>group</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="class_integer.html">Integer</a> & </td> <td class="paramname"><em>base</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Set the base element. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">group</td><td>the group </td></tr> <tr><td class="paramname">base</td><td>element in the group </td></tr> </table> </dd> </dl> <p>Implements <a class="el" href="class_d_l___fixed_base_precomputation.html#a5e0a929c25a9d6035abd57f7b26685f3">DL_FixedBasePrecomputation< Integer ></a>.</p> <p class="definition">Definition at line <a class="el" href="luc_8h_source.html#l00199">199</a> of file <a class="el" href="luc_8h_source.html">luc.h</a>.</p> </div> </div> <a id="ae3f798a940fa6e8817e63d252905b628"></a> <h2 class="memtitle"><span class="permalink"><a href="#ae3f798a940fa6e8817e63d252905b628">◆ </a></span>GetBase()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="class_integer.html">Integer</a>& DL_BasePrecomputation_LUC::GetBase </td> <td>(</td> <td class="paramtype">const <a class="el" href="class_d_l___group_precomputation.html">DL_GroupPrecomputation</a>< Element > & </td> <td class="paramname"><em>group</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Get the base element. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">group</td><td>the group </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>base element in the group </dd></dl> <p>Implements <a class="el" href="class_d_l___fixed_base_precomputation.html#a3bd10f56a621c1a828a3f9eeaac19075">DL_FixedBasePrecomputation< Integer ></a>.</p> <p class="definition">Definition at line <a class="el" href="luc_8h_source.html#l00201">201</a> of file <a class="el" href="luc_8h_source.html">luc.h</a>.</p> </div> </div> <a id="a635c3728cec2a472716bbab2dc6bbe29"></a> <h2 class="memtitle"><span class="permalink"><a href="#a635c3728cec2a472716bbab2dc6bbe29">◆ </a></span>Precompute()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void DL_BasePrecomputation_LUC::Precompute </td> <td>(</td> <td class="paramtype">const <a class="el" href="class_d_l___group_precomputation.html">DL_GroupPrecomputation</a>< Element > & </td> <td class="paramname"><em>group</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned int </td> <td class="paramname"><em>maxExpBits</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">unsigned int </td> <td class="paramname"><em>storage</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Perform precomputation. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">group</td><td>the group </td></tr> <tr><td class="paramname">maxExpBits</td><td>used to calculate the exponent base </td></tr> <tr><td class="paramname">storage</td><td>the suggested number of objects for the precompute table</td></tr> </table> </dd> </dl> <p>The exact semantics of <a class="el" href="class_d_l___base_precomputation___l_u_c.html#a635c3728cec2a472716bbab2dc6bbe29" title="Perform precomputation. ">Precompute()</a> varies, but it typically means calculate a table of n objects that can be used later to speed up computation.</p> <p>If a derived class does not override <a class="el" href="class_d_l___base_precomputation___l_u_c.html#a635c3728cec2a472716bbab2dc6bbe29" title="Perform precomputation. ">Precompute()</a>, then the base class throws <a class="el" href="class_not_implemented.html" title="A method was called which was not implemented. ">NotImplemented</a>. </p><dl class="section see"><dt>See also</dt><dd>SupportsPrecomputation(), LoadPrecomputation(), SavePrecomputation() </dd></dl> <p>Implements <a class="el" href="class_d_l___fixed_base_precomputation.html#ab1e4f72616dc91d0a9629e97c21c643e">DL_FixedBasePrecomputation< Integer ></a>.</p> <p class="definition">Definition at line <a class="el" href="luc_8h_source.html#l00203">203</a> of file <a class="el" href="luc_8h_source.html">luc.h</a>.</p> </div> </div> <a id="a29ef2941ab5722671d60a35e5f11a357"></a> <h2 class="memtitle"><span class="permalink"><a href="#a29ef2941ab5722671d60a35e5f11a357">◆ </a></span>Load()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void DL_BasePrecomputation_LUC::Load </td> <td>(</td> <td class="paramtype">const <a class="el" href="class_d_l___group_precomputation.html">DL_GroupPrecomputation</a>< Element > & </td> <td class="paramname"><em>group</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> & </td> <td class="paramname"><em>storedPrecomputation</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Retrieve previously saved precomputation. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">group</td><td>the the group </td></tr> <tr><td class="paramname">storedPrecomputation</td><td><a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations. ">BufferedTransformation</a> with the saved precomputation </td></tr> </table> </dd> </dl> <dl class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="class_not_implemented.html" title="A method was called which was not implemented. ">NotImplemented</a></td><td></td></tr> </table> </dd> </dl> <dl class="section see"><dt>See also</dt><dd>SupportsPrecomputation(), <a class="el" href="class_d_l___base_precomputation___l_u_c.html#a635c3728cec2a472716bbab2dc6bbe29" title="Perform precomputation. ">Precompute()</a> </dd></dl> <p>Implements <a class="el" href="class_d_l___fixed_base_precomputation.html#afae968910cd467ec807f14c858045b5b">DL_FixedBasePrecomputation< Integer ></a>.</p> <p class="definition">Definition at line <a class="el" href="luc_8h_source.html#l00205">205</a> of file <a class="el" href="luc_8h_source.html">luc.h</a>.</p> </div> </div> <a id="a53f91378ed493e00439e40f30eb26e25"></a> <h2 class="memtitle"><span class="permalink"><a href="#a53f91378ed493e00439e40f30eb26e25">◆ </a></span>Save()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void DL_BasePrecomputation_LUC::Save </td> <td>(</td> <td class="paramtype">const <a class="el" href="class_d_l___group_precomputation.html">DL_GroupPrecomputation</a>< Element > & </td> <td class="paramname"><em>group</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> & </td> <td class="paramname"><em>storedPrecomputation</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Save precomputation for later use. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">group</td><td>the the group </td></tr> <tr><td class="paramname">storedPrecomputation</td><td><a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations. ">BufferedTransformation</a> to write the precomputation </td></tr> </table> </dd> </dl> <dl class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="class_not_implemented.html" title="A method was called which was not implemented. ">NotImplemented</a></td><td></td></tr> </table> </dd> </dl> <dl class="section see"><dt>See also</dt><dd>SupportsPrecomputation(), <a class="el" href="class_d_l___base_precomputation___l_u_c.html#a635c3728cec2a472716bbab2dc6bbe29" title="Perform precomputation. ">Precompute()</a> </dd></dl> <p>Implements <a class="el" href="class_d_l___fixed_base_precomputation.html#a2d1ac13f18ad0df31e9b269f1bdc4ac7">DL_FixedBasePrecomputation< Integer ></a>.</p> <p class="definition">Definition at line <a class="el" href="luc_8h_source.html#l00207">207</a> of file <a class="el" href="luc_8h_source.html">luc.h</a>.</p> </div> </div> <a id="a938f563acc6ec78ae18a658eaa6f70e2"></a> <h2 class="memtitle"><span class="permalink"><a href="#a938f563acc6ec78ae18a658eaa6f70e2">◆ </a></span>CascadeExponentiate()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="class_integer.html">Integer</a> DL_BasePrecomputation_LUC::CascadeExponentiate </td> <td>(</td> <td class="paramtype">const <a class="el" href="class_d_l___group_precomputation.html">DL_GroupPrecomputation</a>< Element > & </td> <td class="paramname"><em>pc1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="class_integer.html">Integer</a> & </td> <td class="paramname"><em>exponent1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="class_d_l___fixed_base_precomputation.html">DL_FixedBasePrecomputation</a>< <a class="el" href="class_integer.html">Integer</a> > & </td> <td class="paramname"><em>pc2</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="class_integer.html">Integer</a> & </td> <td class="paramname"><em>exponent2</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Exponentiates an element. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pc1</td><td>the first the group precomputation </td></tr> <tr><td class="paramname">exponent1</td><td>the first exponent </td></tr> <tr><td class="paramname">pc2</td><td>the second the group precomputation </td></tr> <tr><td class="paramname">exponent2</td><td>the first exponent2 </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the public element raised to the exponent</dd></dl> <p>CascadeExponentiateBaseAndPublicElement raises the public element to the base element and precomputation. </p> <p>Implements <a class="el" href="class_d_l___fixed_base_precomputation.html#aeebf79fe3b74224d5ce63147a47bf2b5">DL_FixedBasePrecomputation< Integer ></a>.</p> <p class="definition">Definition at line <a class="el" href="luc_8h_source.html#l00210">210</a> of file <a class="el" href="luc_8h_source.html">luc.h</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="luc_8h_source.html">luc.h</a></li> <li><a class="el" href="luc_8cpp_source.html">luc.cpp</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Sun Sep 16 2018 07:58:26 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>