<!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++: DL_GroupParametersImpl< GROUP_PRECOMP, BASE_PRECOMP, BASE > 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="#pub-types">Public Types</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="class_d_l___group_parameters_impl-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">DL_GroupParametersImpl< GROUP_PRECOMP, BASE_PRECOMP, BASE > Class Template Reference</div> </div> </div><!--header--> <div class="contents"> <p>Base implementation of Discrete Log (DL) group parameters. <a href="class_d_l___group_parameters_impl.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_GroupParametersImpl< GROUP_PRECOMP, BASE_PRECOMP, BASE >:</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___group_parameters_impl.png" alt=""/> </div></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a> Public Types</h2></td></tr> <tr class="memitem:acb47af3b21275ad8570601888c903e29"><td class="memItemLeft" align="right" valign="top"><a id="acb47af3b21275ad8570601888c903e29"></a> typedef GROUP_PRECOMP </td><td class="memItemRight" valign="bottom"><b>GroupPrecomputation</b></td></tr> <tr class="separator:acb47af3b21275ad8570601888c903e29"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af7edcf0b8021decccd2d992b962a7105"><td class="memItemLeft" align="right" valign="top"><a id="af7edcf0b8021decccd2d992b962a7105"></a> typedef GROUP_PRECOMP::Element </td><td class="memItemRight" valign="bottom"><b>Element</b></td></tr> <tr class="separator:af7edcf0b8021decccd2d992b962a7105"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:adf098dcc0eb88b0c408ac6762d54a5d9"><td class="memItemLeft" align="right" valign="top"><a id="adf098dcc0eb88b0c408ac6762d54a5d9"></a> typedef BASE_PRECOMP </td><td class="memItemRight" valign="bottom"><b>BasePrecomputation</b></td></tr> <tr class="separator:adf098dcc0eb88b0c408ac6762d54a5d9"><td class="memSeparator" colspan="2"> </td></tr> </table><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:a6d8848121098fc1e59a4148def34d449"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_d_l___group_precomputation.html">DL_GroupPrecomputation</a>< Element > & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_l___group_parameters_impl.html#a6d8848121098fc1e59a4148def34d449">GetGroupPrecomputation</a> () const</td></tr> <tr class="memdesc:a6d8848121098fc1e59a4148def34d449"><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the group precomputation. <a href="#a6d8848121098fc1e59a4148def34d449">More...</a><br /></td></tr> <tr class="separator:a6d8848121098fc1e59a4148def34d449"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad87e2b22a736dda0cf6f5b87bcb7055d"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_d_l___fixed_base_precomputation.html">DL_FixedBasePrecomputation</a>< Element > & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_l___group_parameters_impl.html#ad87e2b22a736dda0cf6f5b87bcb7055d">GetBasePrecomputation</a> () const</td></tr> <tr class="memdesc:ad87e2b22a736dda0cf6f5b87bcb7055d"><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the group precomputation. <a href="#ad87e2b22a736dda0cf6f5b87bcb7055d">More...</a><br /></td></tr> <tr class="separator:ad87e2b22a736dda0cf6f5b87bcb7055d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae697d28fa013dd60f78b943cdd4fa973"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_d_l___fixed_base_precomputation.html">DL_FixedBasePrecomputation</a>< Element > & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_l___group_parameters_impl.html#ae697d28fa013dd60f78b943cdd4fa973">AccessBasePrecomputation</a> ()</td></tr> <tr class="memdesc:ae697d28fa013dd60f78b943cdd4fa973"><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the group precomputation. <a href="#ae697d28fa013dd60f78b943cdd4fa973">More...</a><br /></td></tr> <tr class="separator:ae697d28fa013dd60f78b943cdd4fa973"><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 GROUP_PRECOMP, class BASE_PRECOMP = DL_FixedBasePrecomputationImpl<typename GROUP_PRECOMP::Element>, class BASE = DL_GroupParameters<typename GROUP_PRECOMP::Element>><br /> class DL_GroupParametersImpl< GROUP_PRECOMP, BASE_PRECOMP, BASE ></h3> <p>Base implementation of Discrete Log (DL) group parameters. </p> <dl class="tparams"><dt>Template Parameters</dt><dd> <table class="tparams"> <tr><td class="paramname">GROUP_PRECOMP</td><td>group precomputation class </td></tr> <tr><td class="paramname">BASE_PRECOMP</td><td>fixed base precomputation class </td></tr> <tr><td class="paramname">BASE</td><td>class or type of an element </td></tr> </table> </dd> </dl> <p class="definition">Definition at line <a class="el" href="pubkey_8h_source.html#l00983">983</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p> </div><h2 class="groupheader">Member Function Documentation</h2> <a id="a6d8848121098fc1e59a4148def34d449"></a> <h2 class="memtitle"><span class="permalink"><a href="#a6d8848121098fc1e59a4148def34d449">◆ </a></span>GetGroupPrecomputation()</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class GROUP_PRECOMP, class BASE_PRECOMP = DL_FixedBasePrecomputationImpl<typename GROUP_PRECOMP::Element>, class BASE = DL_GroupParameters<typename GROUP_PRECOMP::Element>> </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="class_d_l___group_precomputation.html">DL_GroupPrecomputation</a><Element>& <a class="el" href="class_d_l___group_parameters_impl.html">DL_GroupParametersImpl</a>< GROUP_PRECOMP, BASE_PRECOMP, BASE >::GetGroupPrecomputation </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> </td> </tr> </table> </div><div class="memdoc"> <p>Retrieves the group precomputation. </p> <dl class="section return"><dt>Returns</dt><dd>a const reference to the group precomputation </dd></dl> <p class="definition">Definition at line <a class="el" href="pubkey_8h_source.html#l00994">994</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p> </div> </div> <a id="ad87e2b22a736dda0cf6f5b87bcb7055d"></a> <h2 class="memtitle"><span class="permalink"><a href="#ad87e2b22a736dda0cf6f5b87bcb7055d">◆ </a></span>GetBasePrecomputation()</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class GROUP_PRECOMP, class BASE_PRECOMP = DL_FixedBasePrecomputationImpl<typename GROUP_PRECOMP::Element>, class BASE = DL_GroupParameters<typename GROUP_PRECOMP::Element>> </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="class_d_l___fixed_base_precomputation.html">DL_FixedBasePrecomputation</a><Element>& <a class="el" href="class_d_l___group_parameters_impl.html">DL_GroupParametersImpl</a>< GROUP_PRECOMP, BASE_PRECOMP, BASE >::GetBasePrecomputation </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> </td> </tr> </table> </div><div class="memdoc"> <p>Retrieves the group precomputation. </p> <dl class="section return"><dt>Returns</dt><dd>a const reference to the group precomputation using a fixed base </dd></dl> <p class="definition">Definition at line <a class="el" href="pubkey_8h_source.html#l00998">998</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p> </div> </div> <a id="ae697d28fa013dd60f78b943cdd4fa973"></a> <h2 class="memtitle"><span class="permalink"><a href="#ae697d28fa013dd60f78b943cdd4fa973">◆ </a></span>AccessBasePrecomputation()</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class GROUP_PRECOMP, class BASE_PRECOMP = DL_FixedBasePrecomputationImpl<typename GROUP_PRECOMP::Element>, class BASE = DL_GroupParameters<typename GROUP_PRECOMP::Element>> </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="class_d_l___fixed_base_precomputation.html">DL_FixedBasePrecomputation</a><Element>& <a class="el" href="class_d_l___group_parameters_impl.html">DL_GroupParametersImpl</a>< GROUP_PRECOMP, BASE_PRECOMP, BASE >::AccessBasePrecomputation </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Retrieves the group precomputation. </p> <dl class="section return"><dt>Returns</dt><dd>a non-const reference to the group precomputation using a fixed base </dd></dl> <p class="definition">Definition at line <a class="el" href="pubkey_8h_source.html#l01002">1002</a> of file <a class="el" href="pubkey_8h_source.html">pubkey.h</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="pubkey_8h_source.html">pubkey.h</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Wed Nov 27 2019 15:04:09 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>