Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > e8773dc1178a3ee82e29ab36424dc729 > files > 837

libbeecrypt-devel-4.2.1-6.mga1.i586.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"/>
<title>BeeCrypt: dldp_p Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">BeeCrypt&#160;<span id="projectnumber">4.2.1</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<h1>dldp_p Struct Reference<div class="ingroups"><a class="el" href="group__DL__m.html">Discrete Logarithm Primitives</a></div></h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="dldp_p" -->
<p>Discrete Logarithm Domain Parameters over a prime field.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="dldp_8h_source.html">dldp.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for dldp_p:</div>
<div class="dyncontent">
<div class="center"><img src="structdldp__p__coll__graph.png" border="0" usemap="#dldp__p_coll__map" alt="Collaboration graph"/></div>
<map name="dldp__p_coll__map" id="dldp__p_coll__map">
<area shape="rect" id="node2" href="structmpnumber.html" title="mpnumber" alt="" coords="5,10,88,43"/><area shape="rect" id="node5" href="structmpbarrett.html" title="mpbarrett" alt="" coords="173,10,251,43"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdldp__p.html#a97d96ed8078646594a94bfe7bc5d8bd4">dldp_p</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdldp__p.html#a0ade763f84f565c73a4b13b501d3c100">dldp_p</a> (const <a class="el" href="structdldp__p.html">dldp_p</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdldp__p.html#ac6f0d0c6832a2d7cf1ea539ca7cbb3a0">~dldp_p</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmpbarrett.html">mpbarrett</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdldp__p.html#a0b22119026036065c321efd6749060a8">p</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The prime.  <a href="#a0b22119026036065c321efd6749060a8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmpbarrett.html">mpbarrett</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdldp__p.html#a23989b1857b354b90f5300d083141914">q</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The cofactor.  <a href="#a23989b1857b354b90f5300d083141914"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmpnumber.html">mpnumber</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdldp__p.html#a56fc6c3283f7eb1ab1ffd3864a278ab7">r</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmpnumber.html">mpnumber</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdldp__p.html#a6336ee138a97160378b5c0385aa82482">g</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The generator.  <a href="#a6336ee138a97160378b5c0385aa82482"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmpbarrett.html">mpbarrett</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdldp__p.html#a48b80339b040dc326b29bb7b69ca5cfb">n</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Discrete Logarithm Domain Parameters over a prime field. </p>
<p>For the variables in this structure <img class="formulaInl" alt="$p=qr+1$" src="form_0.png"/>; if <img class="formulaInl" alt="$p=2q+1$" src="form_1.png"/> then <img class="formulaInl" alt="$r=2$" src="form_2.png"/>. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a97d96ed8078646594a94bfe7bc5d8bd4"></a><!-- doxytag: member="dldp_p::dldp_p" ref="a97d96ed8078646594a94bfe7bc5d8bd4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">dldp_p::dldp_p </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0ade763f84f565c73a4b13b501d3c100"></a><!-- doxytag: member="dldp_p::dldp_p" ref="a0ade763f84f565c73a4b13b501d3c100" args="(const dldp_p &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">dldp_p::dldp_p </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structdldp__p.html">dldp_p</a> &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ac6f0d0c6832a2d7cf1ea539ca7cbb3a0"></a><!-- doxytag: member="dldp_p::~dldp_p" ref="ac6f0d0c6832a2d7cf1ea539ca7cbb3a0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">dldp_p::~dldp_p </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Field Documentation</h2>
<a class="anchor" id="a6336ee138a97160378b5c0385aa82482"></a><!-- doxytag: member="dldp_p::g" ref="a6336ee138a97160378b5c0385aa82482" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structdldp__p.html#a6336ee138a97160378b5c0385aa82482">dldp_p::g</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The generator. </p>
<p><img class="formulaInl" alt="$g$" src="form_5.png"/> is either a generator of <img class="formulaInl" alt="$\mathds{Z}^{*}_p$" src="form_6.png"/>, or a generator of a cyclic subgroup <img class="formulaInl" alt="$G$" src="form_7.png"/> of <img class="formulaInl" alt="$\mathds{Z}^{*}_p$" src="form_6.png"/> of order <img class="formulaInl" alt="$q$" src="form_3.png"/>. </p>

</div>
</div>
<a class="anchor" id="a48b80339b040dc326b29bb7b69ca5cfb"></a><!-- doxytag: member="dldp_p::n" ref="a48b80339b040dc326b29bb7b69ca5cfb" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structdldp__p.html#a48b80339b040dc326b29bb7b69ca5cfb">dldp_p::n</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p><img class="formulaInl" alt="$n=p-1=qr$" src="form_8.png"/> </p>

</div>
</div>
<a class="anchor" id="a0b22119026036065c321efd6749060a8"></a><!-- doxytag: member="dldp_p::p" ref="a0b22119026036065c321efd6749060a8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structdldp__p.html#a0b22119026036065c321efd6749060a8">dldp_p::p</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The prime. </p>

</div>
</div>
<a class="anchor" id="a23989b1857b354b90f5300d083141914"></a><!-- doxytag: member="dldp_p::q" ref="a23989b1857b354b90f5300d083141914" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structdldp__p.html#a23989b1857b354b90f5300d083141914">dldp_p::q</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The cofactor. </p>
<p><img class="formulaInl" alt="$q$" src="form_3.png"/> is a prime divisor of <img class="formulaInl" alt="$p-1$" src="form_4.png"/>. </p>

</div>
</div>
<a class="anchor" id="a56fc6c3283f7eb1ab1ffd3864a278ab7"></a><!-- doxytag: member="dldp_p::r" ref="a56fc6c3283f7eb1ab1ffd3864a278ab7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structdldp__p.html#a56fc6c3283f7eb1ab1ffd3864a278ab7">dldp_p::r</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p><img class="formulaInl" alt="$p=qr+1$" src="form_0.png"/> </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>include/beecrypt/<a class="el" href="dldp_8h_source.html">dldp.h</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Sun Apr 10 2011 20:49:30 for BeeCrypt by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>