Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-release > by-pkgid > 0a67b807a02637f2cae68649d519a89d > files > 867

libcryptopp-devel-7.0.0-1.mga7.armv7hl.rpm

<!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++: EcPrecomputation&lt; ECP &gt; 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++
   &#160;<span id="projectnumber">7.0</span>
   </div>
   <div id="projectbrief">Free&nbsp;C&#43;&#43;&nbsp;class&nbsp;library&nbsp;of&nbsp;cryptographic&nbsp;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&amp;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> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_ec_precomputation_3_01_e_c_p_01_4-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">EcPrecomputation&lt; ECP &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="class_e_c_p.html" title="Elliptic Curve over GF(p), where p is prime. ">ECP</a> precomputation specialization.  
 <a href="class_ec_precomputation_3_01_e_c_p_01_4.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 EcPrecomputation&lt; ECP &gt;:</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_ec_precomputation_3_01_e_c_p_01_4.png" usemap="#EcPrecomputation_3C_20ECP_20_3E_map" alt=""/>
  <map id="EcPrecomputation_3C_20ECP_20_3E_map" name="EcPrecomputation_3C_20ECP_20_3E_map">
<area href="class_d_l___group_precomputation.html" alt="DL_GroupPrecomputation&lt; ECP::Point &gt;" shape="rect" coords="0,0,240,24"/>
</map>
 </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:a9d3922397513fa11f1d4073d28744f54"><td class="memItemLeft" align="right" valign="top"><a id="a9d3922397513fa11f1d4073d28744f54"></a>
typedef <a class="el" href="class_e_c_p.html">ECP</a>&#160;</td><td class="memItemRight" valign="bottom"><b>EllipticCurve</b></td></tr>
<tr class="separator:a9d3922397513fa11f1d4073d28744f54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_class_d_l___group_precomputation"><td colspan="2" onclick="javascript:toggleInherit('pub_types_class_d_l___group_precomputation')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="class_d_l___group_precomputation.html">DL_GroupPrecomputation&lt; ECP::Point &gt;</a></td></tr>
<tr class="memitem:ae54cf09e58043cb37253a0ede3a1a435 inherit pub_types_class_d_l___group_precomputation"><td class="memItemLeft" align="right" valign="top"><a id="ae54cf09e58043cb37253a0ede3a1a435"></a>
typedef <a class="el" href="struct_e_c_p_point.html">ECP::Point</a>&#160;</td><td class="memItemRight" valign="bottom"><b>Element</b></td></tr>
<tr class="separator:ae54cf09e58043cb37253a0ede3a1a435 inherit pub_types_class_d_l___group_precomputation"><td class="memSeparator" colspan="2">&#160;</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:aaa3c36266f631554e46119da76be1f5e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ec_precomputation_3_01_e_c_p_01_4.html#aaa3c36266f631554e46119da76be1f5e">NeedConversions</a> () const</td></tr>
<tr class="memdesc:aaa3c36266f631554e46119da76be1f5e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if elements needs conversion.  <a href="#aaa3c36266f631554e46119da76be1f5e">More...</a><br /></td></tr>
<tr class="separator:aaa3c36266f631554e46119da76be1f5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72e3e4612db7c4351f3653a66ccf15a4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_e_c_p_point.html">Element</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ec_precomputation_3_01_e_c_p_01_4.html#a72e3e4612db7c4351f3653a66ccf15a4">ConvertIn</a> (const <a class="el" href="struct_e_c_p_point.html">Element</a> &amp;P) const</td></tr>
<tr class="memdesc:a72e3e4612db7c4351f3653a66ccf15a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts an element between representations.  <a href="#a72e3e4612db7c4351f3653a66ccf15a4">More...</a><br /></td></tr>
<tr class="separator:a72e3e4612db7c4351f3653a66ccf15a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6500e1cc79cbc01ccc283695a5a334de"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_e_c_p_point.html">Element</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ec_precomputation_3_01_e_c_p_01_4.html#a6500e1cc79cbc01ccc283695a5a334de">ConvertOut</a> (const <a class="el" href="struct_e_c_p_point.html">Element</a> &amp;P) const</td></tr>
<tr class="memdesc:a6500e1cc79cbc01ccc283695a5a334de"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts an element between representations.  <a href="#a6500e1cc79cbc01ccc283695a5a334de">More...</a><br /></td></tr>
<tr class="separator:a6500e1cc79cbc01ccc283695a5a334de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a439d3669a926c82cc7623d611cec778f"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_abstract_group.html">AbstractGroup</a>&lt; <a class="el" href="struct_e_c_p_point.html">Element</a> &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ec_precomputation_3_01_e_c_p_01_4.html#a439d3669a926c82cc7623d611cec778f">GetGroup</a> () const</td></tr>
<tr class="memdesc:a439d3669a926c82cc7623d611cec778f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves <a class="el" href="class_abstract_group.html" title="Abstract group. ">AbstractGroup</a> interface.  <a href="#a439d3669a926c82cc7623d611cec778f">More...</a><br /></td></tr>
<tr class="separator:a439d3669a926c82cc7623d611cec778f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f736454a36635ee27d3eb87acaebab2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_e_c_p_point.html">Element</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ec_precomputation_3_01_e_c_p_01_4.html#a8f736454a36635ee27d3eb87acaebab2">BERDecodeElement</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;bt) const</td></tr>
<tr class="memdesc:a8f736454a36635ee27d3eb87acaebab2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Decodes element in DER format.  <a href="#a8f736454a36635ee27d3eb87acaebab2">More...</a><br /></td></tr>
<tr class="separator:a8f736454a36635ee27d3eb87acaebab2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a160009da005dd686fd32cef31093e67f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ec_precomputation_3_01_e_c_p_01_4.html#a160009da005dd686fd32cef31093e67f">DEREncodeElement</a> (<a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;bt, const <a class="el" href="struct_e_c_p_point.html">Element</a> &amp;v) const</td></tr>
<tr class="memdesc:a160009da005dd686fd32cef31093e67f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Encodes element in DER format.  <a href="#a160009da005dd686fd32cef31093e67f">More...</a><br /></td></tr>
<tr class="separator:a160009da005dd686fd32cef31093e67f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a900bdf40eea4c90ebd4fbf52f53d3b6a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ec_precomputation_3_01_e_c_p_01_4.html#a900bdf40eea4c90ebd4fbf52f53d3b6a">SetCurve</a> (const <a class="el" href="class_e_c_p.html">ECP</a> &amp;ec)</td></tr>
<tr class="memdesc:a900bdf40eea4c90ebd4fbf52f53d3b6a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the elliptic curve.  <a href="#a900bdf40eea4c90ebd4fbf52f53d3b6a">More...</a><br /></td></tr>
<tr class="separator:a900bdf40eea4c90ebd4fbf52f53d3b6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40112ff4b5a4d190a91df2bec223adf7"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_e_c_p.html">ECP</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ec_precomputation_3_01_e_c_p_01_4.html#a40112ff4b5a4d190a91df2bec223adf7">GetCurve</a> () const</td></tr>
<tr class="memdesc:a40112ff4b5a4d190a91df2bec223adf7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the elliptic curve.  <a href="#a40112ff4b5a4d190a91df2bec223adf7">More...</a><br /></td></tr>
<tr class="separator:a40112ff4b5a4d190a91df2bec223adf7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;&gt;<br />
class EcPrecomputation&lt; ECP &gt;</h3>

<p><a class="el" href="class_e_c_p.html" title="Elliptic Curve over GF(p), where p is prime. ">ECP</a> precomputation specialization. </p>
<p>Implementation of <code><a class="el" href="class_d_l___group_precomputation.html">DL_GroupPrecomputation&lt;ECP::Point&gt;</a></code> with input and output conversions for Montgomery modular multiplication. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="class_d_l___group_precomputation.html" title="DL_GroupPrecomputation interface. ">DL_GroupPrecomputation</a>, <a class="el" href="class_modular_arithmetic.html" title="Ring of congruence classes modulo n. ">ModularArithmetic</a>, <a class="el" href="class_montgomery_representation.html" title="Performs modular arithmetic in Montgomery representation for increased speed. ">MontgomeryRepresentation</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="ecp_8h_source.html#l00114">114</a> of file <a class="el" href="ecp_8h_source.html">ecp.h</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="aaa3c36266f631554e46119da76be1f5e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa3c36266f631554e46119da76be1f5e">&#9670;&nbsp;</a></span>NeedConversions()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="class_ec_precomputation.html">EcPrecomputation</a>&lt; <a class="el" href="class_e_c_p.html">ECP</a> &gt;::NeedConversions </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 if elements needs conversion. </p>
<dl class="section return"><dt>Returns</dt><dd>true if the element needs conversion, false otherwise</dd></dl>
<p>NeedConversions determines if an element must convert between representations. </p>

<p>Reimplemented from <a class="el" href="class_d_l___group_precomputation.html#af06195fe5dbbf8da4491a9b7356b1293">DL_GroupPrecomputation&lt; ECP::Point &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="ecp_8h_source.html#l00122">122</a> of file <a class="el" href="ecp_8h_source.html">ecp.h</a>.</p>

</div>
</div>
<a id="a72e3e4612db7c4351f3653a66ccf15a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a72e3e4612db7c4351f3653a66ccf15a4">&#9670;&nbsp;</a></span>ConvertIn()</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="struct_e_c_p_point.html">Element</a> <a class="el" href="class_ec_precomputation.html">EcPrecomputation</a>&lt; <a class="el" href="class_e_c_p.html">ECP</a> &gt;::ConvertIn </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_e_c_p_point.html">Element</a> &amp;&#160;</td>
          <td class="paramname"><em>v</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>Converts an element between representations. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">v</td><td>element to convert </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>an element converted to an alternate representation for internal use</dd></dl>
<p>ConvertIn is used when an element must convert between representations. </p>

<p>Reimplemented from <a class="el" href="class_d_l___group_precomputation.html#a00f3c02e34f54656758c584cdcfd4224">DL_GroupPrecomputation&lt; ECP::Point &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="ecp_8h_source.html#l00123">123</a> of file <a class="el" href="ecp_8h_source.html">ecp.h</a>.</p>

</div>
</div>
<a id="a6500e1cc79cbc01ccc283695a5a334de"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6500e1cc79cbc01ccc283695a5a334de">&#9670;&nbsp;</a></span>ConvertOut()</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="struct_e_c_p_point.html">Element</a> <a class="el" href="class_ec_precomputation.html">EcPrecomputation</a>&lt; <a class="el" href="class_e_c_p.html">ECP</a> &gt;::ConvertOut </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_e_c_p_point.html">Element</a> &amp;&#160;</td>
          <td class="paramname"><em>v</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>Converts an element between representations. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">v</td><td>element to convert </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>an element converted from an alternate representation </dd></dl>

<p>Reimplemented from <a class="el" href="class_d_l___group_precomputation.html#ab8f09285b6a3900a14facedd6925552f">DL_GroupPrecomputation&lt; ECP::Point &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="ecp_8h_source.html#l00125">125</a> of file <a class="el" href="ecp_8h_source.html">ecp.h</a>.</p>

</div>
</div>
<a id="a439d3669a926c82cc7623d611cec778f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a439d3669a926c82cc7623d611cec778f">&#9670;&nbsp;</a></span>GetGroup()</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_abstract_group.html">AbstractGroup</a>&lt;<a class="el" href="struct_e_c_p_point.html">Element</a>&gt;&amp; <a class="el" href="class_ec_precomputation.html">EcPrecomputation</a>&lt; <a class="el" href="class_e_c_p.html">ECP</a> &gt;::GetGroup </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>Retrieves <a class="el" href="class_abstract_group.html" title="Abstract group. ">AbstractGroup</a> interface. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="class_ec_precomputation_3_01_e_c_p_01_4.html#a439d3669a926c82cc7623d611cec778f" title="Retrieves AbstractGroup interface. ">GetGroup()</a> returns the <a class="el" href="class_abstract_group.html" title="Abstract group. ">AbstractGroup</a> interface </dd></dl>

<p>Implements <a class="el" href="class_d_l___group_precomputation.html#aaa3cb55f3c6e051f8e769711784d4bcd">DL_GroupPrecomputation&lt; ECP::Point &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="ecp_8h_source.html#l00127">127</a> of file <a class="el" href="ecp_8h_source.html">ecp.h</a>.</p>

</div>
</div>
<a id="a8f736454a36635ee27d3eb87acaebab2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f736454a36635ee27d3eb87acaebab2">&#9670;&nbsp;</a></span>BERDecodeElement()</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="struct_e_c_p_point.html">Element</a> <a class="el" href="class_ec_precomputation.html">EcPrecomputation</a>&lt; <a class="el" href="class_e_c_p.html">ECP</a> &gt;::BERDecodeElement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;&#160;</td>
          <td class="paramname"><em>bt</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>Decodes element in DER format. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">bt</td><td><a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations. ">BufferedTransformation</a> object </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>element in the group </dd></dl>

<p>Implements <a class="el" href="class_d_l___group_precomputation.html#a43a840afa6f0e49a60c28883380c6990">DL_GroupPrecomputation&lt; ECP::Point &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="ecp_8h_source.html#l00128">128</a> of file <a class="el" href="ecp_8h_source.html">ecp.h</a>.</p>

</div>
</div>
<a id="a160009da005dd686fd32cef31093e67f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a160009da005dd686fd32cef31093e67f">&#9670;&nbsp;</a></span>DEREncodeElement()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_ec_precomputation.html">EcPrecomputation</a>&lt; <a class="el" href="class_e_c_p.html">ECP</a> &gt;::DEREncodeElement </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;&#160;</td>
          <td class="paramname"><em>bt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="struct_e_c_p_point.html">Element</a> &amp;&#160;</td>
          <td class="paramname"><em>P</em>&#160;</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>Encodes element in DER format. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">bt</td><td><a class="el" href="class_buffered_transformation.html" title="Interface for buffered transformations. ">BufferedTransformation</a> object </td></tr>
    <tr><td class="paramname">P</td><td>Element to encode </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="class_d_l___group_precomputation.html#a6b6549c73ef485921210e88325e9dca1">DL_GroupPrecomputation&lt; ECP::Point &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="ecp_8h_source.html#l00129">129</a> of file <a class="el" href="ecp_8h_source.html">ecp.h</a>.</p>

</div>
</div>
<a id="a900bdf40eea4c90ebd4fbf52f53d3b6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a900bdf40eea4c90ebd4fbf52f53d3b6a">&#9670;&nbsp;</a></span>SetCurve()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_ec_precomputation.html">EcPrecomputation</a>&lt; <a class="el" href="class_e_c_p.html">ECP</a> &gt;::SetCurve </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_e_c_p.html">ECP</a> &amp;&#160;</td>
          <td class="paramname"><em>ec</em></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>Set the elliptic curve. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ec</td><td><a class="el" href="class_e_c_p.html" title="Elliptic Curve over GF(p), where p is prime. ">ECP</a> derived class</td></tr>
  </table>
  </dd>
</dl>
<p><a class="el" href="class_ec_precomputation_3_01_e_c_p_01_4.html#a900bdf40eea4c90ebd4fbf52f53d3b6a" title="Set the elliptic curve. ">SetCurve()</a> is not inherited </p>

<p class="definition">Definition at line <a class="el" href="ecp_8h_source.html#l00134">134</a> of file <a class="el" href="ecp_8h_source.html">ecp.h</a>.</p>

</div>
</div>
<a id="a40112ff4b5a4d190a91df2bec223adf7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a40112ff4b5a4d190a91df2bec223adf7">&#9670;&nbsp;</a></span>GetCurve()</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_e_c_p.html">ECP</a>&amp; <a class="el" href="class_ec_precomputation.html">EcPrecomputation</a>&lt; <a class="el" href="class_e_c_p.html">ECP</a> &gt;::GetCurve </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>Get the elliptic curve. </p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="class_e_c_p.html" title="Elliptic Curve over GF(p), where p is prime. ">ECP</a> curve</dd></dl>
<p><a class="el" href="class_ec_precomputation_3_01_e_c_p_01_4.html#a40112ff4b5a4d190a91df2bec223adf7" title="Get the elliptic curve. ">GetCurve()</a> is not inherited </p>

<p class="definition">Definition at line <a class="el" href="ecp_8h_source.html#l00143">143</a> of file <a class="el" href="ecp_8h_source.html">ecp.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="ecp_8h_source.html">ecp.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Sep 16 2018 07:58:32 for Crypto++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>