⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 class_d_l___group_parameters___d_s_a.html

📁 Crypto++是一个非常强大的密码学库,主要是功能全
💻 HTML
📖 第 1 页 / 共 4 页
字号:
        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="class_name_value_pairs.html">NameValuePairs</a> &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>alg</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>ModulusSize must be between 512 and 1024, and divisible by 64 <p>Reimplemented from <a class="el" href="class_d_l___group_parameters___integer_based.html#_d_l___group_parameters_impl_3_01_mod_exp_precomputation_00_01_d_l___fixed_base_precomputation_impl_3_01typename_mod_exp_precomputation_1_1_element_01_4_00_01_d_l___group_parameters___integer_based_01_4a10">DL_GroupParameters_IntegerBased</a>.<p>Definition at line <a class="el" href="gfpcrypt_8cpp-source.html#l00026">26</a> of file <a class="el" href="gfpcrypt_8cpp-source.html">gfpcrypt.cpp</a>.<p>References <a class="el" href="cryptlib_8cpp-source.html#l00091">RandomNumberGenerator::GenerateBlock()</a>, <a class="el" href="dsa_8cpp-source.html#l00061">DSA::GeneratePrimes()</a>, <a class="el" href="cryptlib_8h-source.html#l00275">NameValuePairs::GetIntValue()</a>, <a class="el" href="cryptlib_8h-source.html#l00255">NameValuePairs::GetValue()</a>, and <a class="el" href="cryptlib_8h-source.html#l00262">NameValuePairs::GetValueWithDefault()</a>.    </td>  </tr></table><a name="_d_l___group_parameters___integer_based_impla1" doxytag="DL_GroupParameters_DSA::AssignFrom"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void <a class="el" href="class_d_l___group_parameters___integer_based_impl.html">DL_GroupParameters_IntegerBasedImpl</a>&lt; ModExpPrecomputation , DL_FixedBasePrecomputationImpl&lt; typename  ModExpPrecomputation ::Element&gt;  &gt;::AssignFrom </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="class_name_value_pairs.html">NameValuePairs</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>source</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [inline, virtual, inherited]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>assign values from source to this object <p><dl compact><dt><b>Note:</b></dt><dd>This function can be used to create a public key from a private key. </dd></dl><p>Reimplemented from <a class="el" href="class_d_l___group_parameters___integer_based.html#_d_l___group_parameters_impl_3_01_mod_exp_precomputation_00_01_d_l___fixed_base_precomputation_impl_3_01typename_mod_exp_precomputation_1_1_element_01_4_00_01_d_l___group_parameters___integer_based_01_4a12">DL_GroupParameters_IntegerBased</a>.<p>Definition at line <a class="el" href="gfpcrypt_8h-source.html#l00094">94</a> of file <a class="el" href="gfpcrypt_8h-source.html">gfpcrypt.h</a>.    </td>  </tr></table><a name="_d_l___group_parametersa1" doxytag="DL_GroupParameters_DSA::Validate"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> bool <a class="el" href="class_d_l___group_parameters.html">DL_GroupParameters</a>&lt; <a class="el" href="class_integer.html">Integer</a>  &gt;::Validate </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="class_random_number_generator.html">RandomNumberGenerator</a> &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>rng</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>unsigned int&nbsp;</td>          <td class="mdname" nowrap> <em>level</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"> const<code> [inline, virtual, inherited]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>check this object for errors <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>level</em>&nbsp;</td><td>denotes the level of thoroughness: 0 - using this object won't cause a crash or exception (rng is ignored) 1 - this object will probably function (encrypt, sign, etc.) correctly (but may not check for weak keys and such) 2 - make sure this object will function correctly, and do reasonable security checks 3 - do checks that may take a long time </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>true if the tests pass </dd></dl><p>Implements <a class="el" href="class_crypto_material.html#_x509_public_keya12">CryptoMaterial</a>.<p>Definition at line <a class="el" href="pubkey_8h-source.html#l00630">630</a> of file <a class="el" href="pubkey_8h-source.html">pubkey.h</a>.    </td>  </tr></table><a name="_d_l___group_parametersa4" doxytag="DL_GroupParameters_DSA::Precompute"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void <a class="el" href="class_d_l___group_parameters.html">DL_GroupParameters</a>&lt; <a class="el" href="class_integer.html">Integer</a>  &gt;::Precompute </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">unsigned int&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>precomputationStorage</em> = 16          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [inline, virtual, inherited]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>do precomputation <p>The exact semantics of <a class="el" href="class_d_l___group_parameters.html#_d_l___group_parametersa4">Precompute()</a> is varies, but typically it means calculate a table of n objects that can be used later to speed up computation. <p>Reimplemented from <a class="el" href="class_crypto_material.html#_x_t_r___d_ha33">CryptoMaterial</a>.<p>Definition at line <a class="el" href="pubkey_8h-source.html#l00656">656</a> of file <a class="el" href="pubkey_8h-source.html">pubkey.h</a>.    </td>  </tr></table><a name="_x_t_r___d_ha31" doxytag="DL_GroupParameters_DSA::Load"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> virtual void CryptoMaterial::Load </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="class_buffered_transformation.html">BufferedTransformation</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>bt</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [inline, virtual, inherited]</code></td>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -