Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > 17f48c047155a7d4c992d6a672acd57f > files > 630

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

<!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_Algorithm_LUC_HMP 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++
   &#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.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&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-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="class_d_l___algorithm___l_u_c___h_m_p-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">DL_Algorithm_LUC_HMP Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="struct_l_u_c.html" title="LUC cryptosystem.">LUC</a> HMP signature algorithm.  
 <a href="class_d_l___algorithm___l_u_c___h_m_p.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_Algorithm_LUC_HMP:</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___algorithm___l_u_c___h_m_p.png" usemap="#DL_5FAlgorithm_5FLUC_5FHMP_map" alt=""/>
  <map id="DL_5FAlgorithm_5FLUC_5FHMP_map" name="DL_5FAlgorithm_5FLUC_5FHMP_map">
<area href="class_d_l___elgamal_like_signature_algorithm.html" alt="DL_ElgamalLikeSignatureAlgorithm&lt; Integer &gt;" shape="rect" coords="0,0,272,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:aab3a5616ec9540d6dad86dce3e3c2d10"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_l___algorithm___l_u_c___h_m_p.html#aab3a5616ec9540d6dad86dce3e3c2d10">Sign</a> (const <a class="el" href="class_d_l___group_parameters.html">DL_GroupParameters</a>&lt; <a class="el" href="class_integer.html">Integer</a> &gt; &amp;params, const <a class="el" href="class_integer.html">Integer</a> &amp;x, const <a class="el" href="class_integer.html">Integer</a> &amp;k, const <a class="el" href="class_integer.html">Integer</a> &amp;e, <a class="el" href="class_integer.html">Integer</a> &amp;r, <a class="el" href="class_integer.html">Integer</a> &amp;s) const</td></tr>
<tr class="memdesc:aab3a5616ec9540d6dad86dce3e3c2d10"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sign a message using a private key.  <a href="#aab3a5616ec9540d6dad86dce3e3c2d10">More...</a><br /></td></tr>
<tr class="separator:aab3a5616ec9540d6dad86dce3e3c2d10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a84e0bd7696ff54c6f8df75927163d9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_l___algorithm___l_u_c___h_m_p.html#a1a84e0bd7696ff54c6f8df75927163d9">Verify</a> (const <a class="el" href="class_d_l___group_parameters.html">DL_GroupParameters</a>&lt; <a class="el" href="class_integer.html">Integer</a> &gt; &amp;params, const <a class="el" href="class_d_l___public_key.html">DL_PublicKey</a>&lt; <a class="el" href="class_integer.html">Integer</a> &gt; &amp;publicKey, const <a class="el" href="class_integer.html">Integer</a> &amp;e, const <a class="el" href="class_integer.html">Integer</a> &amp;r, const <a class="el" href="class_integer.html">Integer</a> &amp;s) const</td></tr>
<tr class="memdesc:a1a84e0bd7696ff54c6f8df75927163d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Verify a message using a public key.  <a href="#a1a84e0bd7696ff54c6f8df75927163d9">More...</a><br /></td></tr>
<tr class="separator:a1a84e0bd7696ff54c6f8df75927163d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2f809600d8cd560c7508fe1265fc26d"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_l___algorithm___l_u_c___h_m_p.html#aa2f809600d8cd560c7508fe1265fc26d">RLen</a> (const <a class="el" href="class_d_l___group_parameters.html">DL_GroupParameters</a>&lt; <a class="el" href="class_integer.html">Integer</a> &gt; &amp;params) const</td></tr>
<tr class="memdesc:aa2f809600d8cd560c7508fe1265fc26d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve R length.  <a href="#aa2f809600d8cd560c7508fe1265fc26d">More...</a><br /></td></tr>
<tr class="separator:aa2f809600d8cd560c7508fe1265fc26d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_d_l___elgamal_like_signature_algorithm"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_d_l___elgamal_like_signature_algorithm')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_d_l___elgamal_like_signature_algorithm.html">DL_ElgamalLikeSignatureAlgorithm&lt; Integer &gt;</a></td></tr>
<tr class="memitem:af5040f7c2b09df00481706dabb3d844d inherit pub_methods_class_d_l___elgamal_like_signature_algorithm"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_integer.html">Integer</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_l___elgamal_like_signature_algorithm.html#af5040f7c2b09df00481706dabb3d844d">RecoverPresignature</a> (const <a class="el" href="class_d_l___group_parameters.html">DL_GroupParameters</a>&lt; <a class="el" href="class_integer.html">Integer</a> &gt; &amp;params, const <a class="el" href="class_d_l___public_key.html">DL_PublicKey</a>&lt; <a class="el" href="class_integer.html">Integer</a> &gt; &amp;publicKey, const <a class="el" href="class_integer.html">Integer</a> &amp;r, const <a class="el" href="class_integer.html">Integer</a> &amp;s) const</td></tr>
<tr class="memdesc:af5040f7c2b09df00481706dabb3d844d inherit pub_methods_class_d_l___elgamal_like_signature_algorithm"><td class="mdescLeft">&#160;</td><td class="mdescRight">Recover a Presignature.  <a href="class_d_l___elgamal_like_signature_algorithm.html#af5040f7c2b09df00481706dabb3d844d">More...</a><br /></td></tr>
<tr class="separator:af5040f7c2b09df00481706dabb3d844d inherit pub_methods_class_d_l___elgamal_like_signature_algorithm"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2324392a1d7e651c064f70fefcafbc7 inherit pub_methods_class_d_l___elgamal_like_signature_algorithm"><td class="memItemLeft" align="right" valign="top">virtual size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_l___elgamal_like_signature_algorithm.html#ad2324392a1d7e651c064f70fefcafbc7">SLen</a> (const <a class="el" href="class_d_l___group_parameters.html">DL_GroupParameters</a>&lt; <a class="el" href="class_integer.html">Integer</a> &gt; &amp;params) const</td></tr>
<tr class="memdesc:ad2324392a1d7e651c064f70fefcafbc7 inherit pub_methods_class_d_l___elgamal_like_signature_algorithm"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve S length.  <a href="class_d_l___elgamal_like_signature_algorithm.html#ad2324392a1d7e651c064f70fefcafbc7">More...</a><br /></td></tr>
<tr class="separator:ad2324392a1d7e651c064f70fefcafbc7 inherit pub_methods_class_d_l___elgamal_like_signature_algorithm"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e463485352ef3c352acc4d9af2c258d inherit pub_methods_class_d_l___elgamal_like_signature_algorithm"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_d_l___elgamal_like_signature_algorithm.html#a0e463485352ef3c352acc4d9af2c258d">IsDeterministic</a> () const</td></tr>
<tr class="memdesc:a0e463485352ef3c352acc4d9af2c258d inherit pub_methods_class_d_l___elgamal_like_signature_algorithm"><td class="mdescLeft">&#160;</td><td class="mdescRight">Signature scheme flag.  <a href="class_d_l___elgamal_like_signature_algorithm.html#a0e463485352ef3c352acc4d9af2c258d">More...</a><br /></td></tr>
<tr class="separator:a0e463485352ef3c352acc4d9af2c258d inherit pub_methods_class_d_l___elgamal_like_signature_algorithm"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a9525cf942f819663b54d163e61b5f70c"><td class="memItemLeft" align="right" valign="top"><a id="a9525cf942f819663b54d163e61b5f70c"></a>
static const char *&#160;</td><td class="memItemRight" valign="bottom"><b>StaticAlgorithmName</b> ()</td></tr>
<tr class="separator:a9525cf942f819663b54d163e61b5f70c"><td class="memSeparator" colspan="2">&#160;</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> HMP signature algorithm. </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#l00265">265</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="aab3a5616ec9540d6dad86dce3e3c2d10"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab3a5616ec9540d6dad86dce3e3c2d10">&#9670;&nbsp;</a></span>Sign()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void DL_Algorithm_LUC_HMP::Sign </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_d_l___group_parameters.html">DL_GroupParameters</a>&lt; <a class="el" href="class_integer.html">Integer</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>params</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_integer.html">Integer</a> &amp;&#160;</td>
          <td class="paramname"><em>privateKey</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_integer.html">Integer</a> &amp;&#160;</td>
          <td class="paramname"><em>k</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_integer.html">Integer</a> &amp;&#160;</td>
          <td class="paramname"><em>e</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_integer.html">Integer</a> &amp;&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_integer.html">Integer</a> &amp;&#160;</td>
          <td class="paramname"><em>s</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">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sign a message using a private key. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">params</td><td>GroupParameters </td></tr>
    <tr><td class="paramname">privateKey</td><td>private key </td></tr>
    <tr><td class="paramname">k</td><td>signing exponent </td></tr>
    <tr><td class="paramname">e</td><td>encoded message </td></tr>
    <tr><td class="paramname">r</td><td>r part of signature </td></tr>
    <tr><td class="paramname">s</td><td>s part of signature </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="class_d_l___elgamal_like_signature_algorithm.html#a033808f79700a901d7fb183e6dab247a">DL_ElgamalLikeSignatureAlgorithm&lt; Integer &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="luc_8cpp_source.html#l00023">23</a> of file <a class="el" href="luc_8cpp_source.html">luc.cpp</a>.</p>

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

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool DL_Algorithm_LUC_HMP::Verify </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_d_l___group_parameters.html">DL_GroupParameters</a>&lt; <a class="el" href="class_integer.html">Integer</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>params</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_d_l___public_key.html">DL_PublicKey</a>&lt; <a class="el" href="class_integer.html">Integer</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>publicKey</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_integer.html">Integer</a> &amp;&#160;</td>
          <td class="paramname"><em>e</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_integer.html">Integer</a> &amp;&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_integer.html">Integer</a> &amp;&#160;</td>
          <td class="paramname"><em>s</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">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Verify a message using a public key. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">params</td><td>GroupParameters </td></tr>
    <tr><td class="paramname">publicKey</td><td>public key </td></tr>
    <tr><td class="paramname">e</td><td>encoded message </td></tr>
    <tr><td class="paramname">r</td><td>r part of signature </td></tr>
    <tr><td class="paramname">s</td><td>s part of signature </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="class_d_l___elgamal_like_signature_algorithm.html#af1f4e4ba20583c45514ece27cf97b8d2">DL_ElgamalLikeSignatureAlgorithm&lt; Integer &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="luc_8cpp_source.html#l00030">30</a> of file <a class="el" href="luc_8cpp_source.html">luc.cpp</a>.</p>

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

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t DL_Algorithm_LUC_HMP::RLen </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_d_l___group_parameters.html">DL_GroupParameters</a>&lt; <a class="el" href="class_integer.html">Integer</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>params</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>Retrieve R length. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">params</td><td>GroupParameters </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="class_d_l___elgamal_like_signature_algorithm.html#ae3b8afddf69e2d1be2e8bda56c4e7c0a">DL_ElgamalLikeSignatureAlgorithm&lt; Integer &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="luc_8h_source.html#l00275">275</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 Wed Nov 27 2019 15:04:06 for Crypto++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>