<!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++: ECDH< EC, COFACTOR_OPTION > Struct 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="#pub-types">Public Types</a> | <a href="struct_e_c_d_h-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">ECDH< EC, COFACTOR_OPTION > Struct Template Reference</div> </div> </div><!--header--> <div class="contents"> <p>Elliptic Curve Diffie-Hellman. <a href="struct_e_c_d_h.html#details">More...</a></p> <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:aabca05c217c844df9b23ded4488b02a2"><td class="memItemLeft" align="right" valign="top"><a id="aabca05c217c844df9b23ded4488b02a2"></a> typedef <a class="el" href="class_d_h___domain.html">DH_Domain</a>< <a class="el" href="class_d_l___group_parameters___e_c.html">DL_GroupParameters_EC</a>< EC >, COFACTOR_OPTION > </td><td class="memItemRight" valign="bottom"><b>Domain</b></td></tr> <tr class="separator:aabca05c217c844df9b23ded4488b02a2"><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 EC, class COFACTOR_OPTION = typename DL_GroupParameters_EC<EC>::DefaultCofactorOption><br /> struct ECDH< EC, COFACTOR_OPTION ></h3> <p>Elliptic Curve Diffie-Hellman. </p> <dl class="tparams"><dt>Template Parameters</dt><dd> <table class="tparams"> <tr><td class="paramname">EC</td><td>elliptic curve field </td></tr> <tr><td class="paramname">COFACTOR_OPTION</td><td>cofactor multiplication option </td></tr> </table> </dd> </dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="pubkey_8h.html#ae4b59f7b9d3c7e03bb739f0584905ff1" title="Methods for avoiding "Small-Subgroup" attacks on Diffie-Hellman Key Agreement. ">CofactorMultiplicationOption</a>, <a href="http://www.weidai.com/scan-mirror/ka.html#ECDH">Elliptic Curve Diffie-Hellman, AKA ECDH</a> </dd></dl> <dl class="section since"><dt>Since</dt><dd>Crypto++ 3.0 </dd></dl> <p class="definition">Definition at line <a class="el" href="eccrypto_8h_source.html#l00263">263</a> of file <a class="el" href="eccrypto_8h_source.html">eccrypto.h</a>.</p> </div><hr/>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="eccrypto_8h_source.html">eccrypto.h</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Sun Sep 16 2018 07:58:31 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>