Sophie

Sophie

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

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++: RandomizedTrapdoorFunctionInverse 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.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-methods">Public Member Functions</a> &#124;
<a href="class_randomized_trapdoor_function_inverse-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">RandomizedTrapdoorFunctionInverse Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>Applies the inverse of the trapdoor function, using random data if required.  
 <a href="class_randomized_trapdoor_function_inverse.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 RandomizedTrapdoorFunctionInverse:</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_randomized_trapdoor_function_inverse.png" usemap="#RandomizedTrapdoorFunctionInverse_map" alt=""/>
  <map id="RandomizedTrapdoorFunctionInverse_map" name="RandomizedTrapdoorFunctionInverse_map">
<area href="class_invertible_e_s_i_g_n_function.html" title="ESIGN trapdoor function using the private key. " alt="InvertibleESIGNFunction" shape="rect" coords="0,56,223,80"/>
<area href="class_trapdoor_function_inverse.html" title="Applies the inverse of the trapdoor function. " alt="TrapdoorFunctionInverse" shape="rect" coords="349,56,572,80"/>
<area href="class_invertible_l_u_c_function.html" title="The LUC inverse function. " alt="InvertibleLUCFunction" shape="rect" coords="0,112,223,136"/>
<area href="class_invertible_rabin_function.html" title="Rabin trapdoor function using the private key. " alt="InvertibleRabinFunction" shape="rect" coords="233,112,456,136"/>
<area href="class_invertible_r_s_a_function.html" title="RSA trapdoor function using the private key. " alt="InvertibleRSAFunction" shape="rect" coords="466,112,689,136"/>
<area href="class_invertible_r_w_function.html" title="Rabin-Williams trapdoor function using the private key. " alt="InvertibleRWFunction" shape="rect" coords="699,112,922,136"/>
<area href="class_invertible_r_s_a_function___i_s_o.html" title="RSA trapdoor function using the private key. " alt="InvertibleRSAFunction_ISO" shape="rect" coords="466,168,689,192"/>
</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:a2c01608b61496578c5fe2967e69b923a"><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_randomized_trapdoor_function_inverse.html#a2c01608b61496578c5fe2967e69b923a">CalculateRandomizedInverse</a> (<a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &amp;rng, const <a class="el" href="class_integer.html">Integer</a> &amp;x) const =0</td></tr>
<tr class="memdesc:a2c01608b61496578c5fe2967e69b923a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Applies the inverse of the trapdoor function, using random data if required.  <a href="#a2c01608b61496578c5fe2967e69b923a">More...</a><br /></td></tr>
<tr class="separator:a2c01608b61496578c5fe2967e69b923a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac37368328021acf2d48d6aa9f6cb71c9"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_randomized_trapdoor_function_inverse.html#ac37368328021acf2d48d6aa9f6cb71c9">IsRandomized</a> () const</td></tr>
<tr class="memdesc:ac37368328021acf2d48d6aa9f6cb71c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if the decryption algorithm is randomized.  <a href="#ac37368328021acf2d48d6aa9f6cb71c9">More...</a><br /></td></tr>
<tr class="separator:ac37368328021acf2d48d6aa9f6cb71c9"><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>Applies the inverse of the trapdoor function, using random data if required. </p>
<p>CalculateInverse() is the foundation for decrypting a message under a private key in a public key cryptosystem. Derived classes will override it at some point. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="class_trapdoor_function_bounds.html" title="Provides range for plaintext and ciphertext lengths. ">TrapdoorFunctionBounds()</a>, <a class="el" href="class_randomized_trapdoor_function.html" title="Applies the trapdoor function, using random data if required. ">RandomizedTrapdoorFunction()</a>, <a class="el" href="class_trapdoor_function.html" title="Applies the trapdoor function. ">TrapdoorFunction()</a>, <a class="el" href="class_randomized_trapdoor_function_inverse.html" title="Applies the inverse of the trapdoor function, using random data if required. ">RandomizedTrapdoorFunctionInverse()</a> and <a class="el" href="class_trapdoor_function_inverse.html" title="Applies the inverse of the trapdoor function. ">TrapdoorFunctionInverse()</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="pubkey_8h_source.html#l00154">154</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="a2c01608b61496578c5fe2967e69b923a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c01608b61496578c5fe2967e69b923a">&#9670;&nbsp;</a></span>CalculateRandomizedInverse()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="class_integer.html">Integer</a> RandomizedTrapdoorFunctionInverse::CalculateRandomizedInverse </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &amp;&#160;</td>
          <td class="paramname"><em>rng</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>x</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">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Applies the inverse of the trapdoor function, using random data if required. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rng</td><td>a <a class="el" href="class_random_number_generator.html" title="Interface for random number generators. ">RandomNumberGenerator</a> derived class </td></tr>
    <tr><td class="paramname">x</td><td>the message on which the decryption function is applied </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the message x decrypted under the private key</dd></dl>
<p>CalculateRandomizedInverse is a generalization of decryption using the private key The <a class="el" href="class_random_number_generator.html" title="Interface for random number generators. ">RandomNumberGenerator</a> may (or may not) be required. Derived classes must implement it. </p>

<p>Implemented in <a class="el" href="class_trapdoor_function_inverse.html#a784e232bea0630093ea0124e2e23fcc3">TrapdoorFunctionInverse</a>, and <a class="el" href="class_invertible_e_s_i_g_n_function.html#a0eed8ac3efb7868aa7ae0a09ee785610">InvertibleESIGNFunction</a>.</p>

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

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool RandomizedTrapdoorFunctionInverse::IsRandomized </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 the decryption algorithm is randomized. </p>
<dl class="section return"><dt>Returns</dt><dd>true if the decryption algorithm is randomized, false otherwise</dd></dl>
<p>If <a class="el" href="class_randomized_trapdoor_function_inverse.html#ac37368328021acf2d48d6aa9f6cb71c9" title="Determines if the decryption algorithm is randomized. ">IsRandomized()</a> returns false, then <a class="el" href="cryptlib_8h.html#a1e53479a6d427158247ac1ece3161a6d" title="Random Number Generator that does not produce random numbers. ">NullRNG()</a> can be used. </p>

<p>Reimplemented in <a class="el" href="class_trapdoor_function_inverse.html#a9b2cad45cb51609e3caedfa7bb44594e">TrapdoorFunctionInverse</a>.</p>

<p class="definition">Definition at line <a class="el" href="pubkey_8h_source.html#l00170">170</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 Sun Sep 16 2018 07:58:51 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>