[Gmp-commit] /var/hg/www: Update list.

mercurial at gmplib.org mercurial at gmplib.org
Mon Dec 30 15:01:30 UTC 2013


details:   /var/hg/www/rev/3df75b8065c0
changeset: 152:3df75b8065c0
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Mon Dec 30 16:01:24 2013 +0100
description:
Update list.

diffstat:

 devel/sec.html |  53 +++++++++++++++++++++++++++++++----------------------
 1 files changed, 31 insertions(+), 22 deletions(-)

diffs (74 lines):

diff -r fdaac1c07538 -r 3df75b8065c0 devel/sec.html
--- a/devel/sec.html	Mon Dec 30 14:06:57 2013 +0100
+++ b/devel/sec.html	Mon Dec 30 16:01:24 2013 +0100
@@ -42,14 +42,20 @@
 
 <hr>
 
-<h3> Background to _sec and _cnd functions </h3>
+<h3> Background to sec and cnd functions </h3>
 <p>
-Starting with GMP 5, we provide a public mpz_powm_sec function, supported by a
-corresponding mpn_powm_sec and mpn_cnd_sub_n (then called mpn_subcnd_n).
+Starting with GMP 5, we provide a public <code>mpz_powm_sec</code> function,
+supported by a corresponding <code>mpn_sec_powm</code>
+and <code>mpn_cnd_sub_n</code> (then called <code>mpn_powm_sec</code> and
+<code>mpn_subcnd_n</code>, respectively).
 </p>
 <p>
-The purpose for the _sec and _cnd functions is providing a basic set of
-side-channel silent function.
+Starting with GMP 5.2, we provide a public set of <code>mpn_sec</code>
+functions.
+</p>
+<p>
+The purpose for the <code>sec</code> and <code>cnd</code> functions is
+providing a basic set of side-channel silent function.
 </p>
 <p>
 The functions should never allocate their own scratch memory, since some
@@ -58,24 +64,27 @@
 
 <h3> Suggested list of functions </h3>
 
-<p>
-<table>
-  <tr> <th> function           <th> visibility <th> status                          </tr>
-  <tr> <td> mpn_sec_powm       <td> public     <td> OK                              </tr>
-  <tr> <td> mpn_sec_mul        <td> public     <td> OK                              </tr>
-  <tr> <td> mpn_sec_sqr        <td> public     <td> OK                              </tr>
-  <tr> <td> mpn_sec_div_qr     <td> public     <td> consider returning high q-limb  </tr>
-  <tr> <td> mpn_sec_div_r      <td> public     <td> OK                              </tr>
-  <tr> <td> mpn_sec_pi1_div_qr <td> private?   <td> OK                              </tr>
-  <tr> <td> mpn_sec_pi1_div_r  <td> private?   <td> OK                              </tr>
-  <tr> <td> mpn_sec_add_1      <td> public     <td>                                 </tr>
-  <tr> <td> mpn_sec_sub_1      <td> public     <td>                                 </tr>
-  <tr> <td> mpn_sec_minvert    <td> public     <td> OK                              </tr>
-  <tr> <td> mpn_cnd_add_n      <td> public     <td> OK                              </tr>
-  <tr> <td> mpn_cnd_sub_n      <td> public     <td> OK                              </tr>
-  <tr> <td> mpn_sec_tabselect  <td> public     <td> OK                              </tr>
+<blockquote>
+<table rules="groups" frame="void">
+  <colgroup><col>
+  <thead>
+  <tr> <th align="left"> function  <th align="left"> visibility <th align="left"> status             </tr>
+  <tbody>
+  <tr> <td> <code>mpn_sec_powm</code>       <td> public   <td> OK                              </tr>
+  <tr> <td> <code>mpn_sec_mul</code>        <td> public   <td> OK                              </tr>
+  <tr> <td> <code>mpn_sec_sqr</code>        <td> public   <td> OK                              </tr>
+  <tr> <td> <code>mpn_sec_div_qr</code>     <td> public   <td> consider returning high q-limb  </tr>
+  <tr> <td> <code>mpn_sec_div_r</code>      <td> public   <td> OK                              </tr>
+  <tr> <td> <code>mpn_sec_pi1_div_qr</code> <td> private? <td> OK                              </tr>
+  <tr> <td> <code>mpn_sec_pi1_div_r</code>  <td> private? <td> OK                              </tr>
+  <tr> <td> <code>mpn_sec_add_1</code>      <td> public   <td>                                 </tr>
+  <tr> <td> <code>mpn_sec_sub_1</code>      <td> public   <td>                                 </tr>
+  <tr> <td> <code>mpn_sec_minvert</code>    <td> public   <td> Needs documentation             </tr>
+  <tr> <td> <code>mpn_cnd_add_n</code>      <td> public   <td> OK                              </tr>
+  <tr> <td> <code>mpn_cnd_sub_n</code>      <td> public   <td> OK                              </tr>
+  <tr> <td> <code>mpn_sec_tabselect</code>  <td> public   <td> OK                              </tr>
 </table>
-</p>
+</blockquote>
 
 <br><br>
 


More information about the gmp-commit mailing list