[Gmp-commit] /var/hg/www: 2 new changesets

mercurial at gmplib.org mercurial at gmplib.org
Thu May 2 16:27:40 CEST 2013


details:   /var/hg/www/rev/4e408b0687fa
changeset: 61:4e408b0687fa
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Thu May 02 16:26:37 2013 +0200
description:
New rudimentary sec.html page.

details:   /var/hg/www/rev/59dada1d8a83
changeset: 62:59dada1d8a83
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Thu May 02 16:27:24 2013 +0200
description:
Add sec.html link.

diffstat:

 devel/index.html |    5 ++-
 devel/sec.html   |  109 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 113 insertions(+), 1 deletions(-)

diffs (135 lines):

diff -r 569753dddda9 -r 59dada1d8a83 devel/index.html
--- a/devel/index.html	Tue Apr 30 00:18:47 2013 +0200
+++ b/devel/index.html	Thu May 02 16:27:24 2013 +0200
@@ -80,6 +80,9 @@
 <p> <a href="sparc.html">List of desirable SPARC (T4-T5) improvements</a>
 </p>
 
+<p> <a href="sec.html">List of sec/cnd improvements</a>
+</p>
+
 <hr>
 
 
@@ -396,7 +399,7 @@
 </div>
 
 <div id="footer">
-<font size="-4">Last modified: 2013-04-28 </font>
+<font size="-4">Last modified: 2013-05-02 </font>
 <table cellpadding=0 width="100%" bgcolor="#e8e8e8">
   <tr>
     <td align="center">
diff -r 569753dddda9 -r 59dada1d8a83 devel/sec.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/sec.html	Thu May 02 16:27:24 2013 +0200
@@ -0,0 +1,109 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+  <title>GMP developers' secure corner</title>
+  <link rel="shortcut icon" href="favicon.ico">
+  <link rel="stylesheet" href="new.css">
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+  <style type="text/css"> td {padding-left:4pt; padding-right:4pt;}</style>
+  <style type="text/css"> th {padding-left:4pt; padding-right:2pt;}</style>
+</head>
+
+<body>
+
+<div id="top">
+<table width="100%" bgcolor="#e8e8e8">
+  <tr>
+    <td align="left">
+      <svg width="180px" height="60px" version="1.1"
+	   viewBox="0 0 1500 500"
+	   xmlns="http://www.w3.org/2000/svg">
+	<rect x="0" y="0" width="1500" height="540" fill="#e8e8e8" />
+	<text x="0" y="440" fill="#e00000"  font-size="540" font-family="arial" font-weight="bold">
+	  GMP
+	</text>
+	<text x="50" y="500" font-size="70" font-family="Verdana">
+	  «Arithmetic without limitations»
+	</text>
+      </svg>
+    </td>
+    <td align="center">
+      <font size="+2">GMP developers' secure corner</font>
+    </td>
+  </tr>
+</table>
+</div>
+
+<div id="container">
+  <div id="top-spacer"></div>
+
+<br><br>
+
+
+<hr>
+
+<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).
+</p>
+<p>
+The purpose for the _sec and _cnd functions is providing a basic set of
+side-channel silent function.
+</p>
+
+<h3> Suggested list of functions </h3>
+
+<p>
+<table>
+  <tr> <th> function           <th> previous name        <th> status   </tr>
+  <tr> <td> mpn_sec_powm       <td> mpn_powm_sec         <td> public   </tr>
+  <tr> <td> mpn_sec_div_qr     <td> mpn_sb_div_qr_sec    <td> public   </tr>
+  <tr> <td> mpn_sec_div_r      <td> mpn_sb_div_r_sec     <td> public   </tr>
+  <tr> <td> mpn_sec_pi1_div_qr <td> mpn_sbpi1_div_qr_sec <td> private? </tr>
+  <tr> <td> mpn_sec_pi1_div_r  <td> mpn_sbpi1_div_r_sec  <td> private? </tr>
+  <tr> <td> mpn_sec_add_1      <td>                      <td> public   </tr>
+  <tr> <td> mpn_sec_sub_1      <td>                      <td> public   </tr>
+  <tr> <td> mpn_sec_minvert    <td>                      <td> public   </tr>
+  <tr> <td> mpn_cnd_add_n      <td> mpn_addcnd_n         <td> public   </tr>
+  <tr> <td> mpn_cnd_sub_n      <td> mpn_subcnd_n         <td> public   </tr>
+  <tr> <td> mpn_tabselect      <td> mpn_sec_tabselect    <td> public   </tr>
+</table>
+</p>
+
+<br><br>
+
+<div id="footer-spacer"></div>
+
+</div>
+
+<div id="footer">
+<font size="-4">Last modified: 2013-05-02 </font>
+<table cellpadding=0 width="100%" bgcolor="#e8e8e8">
+  <tr>
+    <td align="center">
+      <font size="-3">
+	Please send comments about this page to gmp-discuss<font> at </font>gmplib.org
+      </font>
+    </td>
+  </tr>
+  <tr>
+    <td align="center">
+      <font size="-3">
+	Copyright 2013 Free Software Foundation
+      </font>
+    </td>
+  </tr>
+  <tr>
+    <td align="center">
+      <font size="-3">
+	Verbatim copying and distribution of this entire article is permitted
+	in any medium, provided this notice is preserved.
+      </font>
+    </td>
+  </tr>
+</table>
+</div>
+
+</body>
+</html>


More information about the gmp-commit mailing list