changeset 24:cbefc6e39828

Merged.
author Martin Geisler <mg@daimi.au.dk>
date Tue, 19 Feb 2008 09:14:03 +0100
parents 8e7da9273e18 (current diff) 682561316891 (diff)
children c4302d3bbbc4
files
diffstat 5 files changed, 48 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/bibliography.txt	Tue Feb 19 09:14:03 2008 +0100
@@ -0,0 +1,30 @@
+.. -*- coding: utf-8 -*-
+
+==============
+ Bibliography
+==============
+
+.. note::
+
+   This list is far from complete. If you find more relevant
+   references then please `send us a mail`__ with the information.
+
+   .. __: mailto:viff-devel@viff.dk
+
+The algorighms used by VIFF are published in various academic papers.
+Here we will try to point out which parts of the code uses which
+papers.
+
+* ``viff/shamir.py``: Uses [Shamir79]_ extensively.
+
+*  ``apps/millionaires.py``: inspired by [Yao82]_.
+
+
+.. [Shamir79] Adi Shamir, *How to share a secret*, Communications of
+   the ACM, 22 (11): 612-613.
+
+.. [Yao82] Andrew Chi-Chih Yao, *Protocols for Secure Computations*,
+   FOCS 1982, 160-164.
+
+
+.. include:: layout.rst
--- a/docs/layout.rst	Tue Feb 19 09:10:39 2008 +0100
+++ b/docs/layout.rst	Tue Feb 19 09:14:03 2008 +0100
@@ -3,6 +3,7 @@
    [ `VIFF Documentation <index.html>`__ ]
    [ `Coding Style <coding-style.html>`__ ]
    [ `Unit Testing <unit-testing.html>`__ ]
+   [ `Bibliography <bibliography.html>`__ ]
 
 .. footer::
    `Return to the VIFF homepage <../index.html>`__.
--- a/docs/unit-testing.txt	Tue Feb 19 09:10:39 2008 +0100
+++ b/docs/unit-testing.txt	Tue Feb 19 09:14:03 2008 +0100
@@ -37,7 +37,9 @@
 ``PYTHONPATH`` is setup correctly.
 
 Now simply execute ``trial viff`` to run the unit tests. You should
-get output similar to this::
+get output similar to this:
+
+.. sourcecode:: text
 
   % trial viff
   Seeding random generator with random seed 4658
--- a/index.txt	Tue Feb 19 09:10:39 2008 +0100
+++ b/index.txt	Tue Feb 19 09:14:03 2008 +0100
@@ -81,7 +81,9 @@
 ~~~~~~~~
 
 The latest version of the VIFF source code can be obtained using
-Mercurial_ by the command::
+Mercurial_ by the command:
+
+.. sourcecode:: text
 
   hg clone http://hg.viff.dk/viff/
 
--- a/viff.css	Tue Feb 19 09:10:39 2008 +0100
+++ b/viff.css	Tue Feb 19 09:14:03 2008 +0100
@@ -130,6 +130,17 @@
   margin: 0em;
 }
 
+div.note {
+  background-color:  #FFEA80; /* HSV: 50,  50, 100 */
+  border: thin solid #FFD500; /* HSV: 50, 100, 100 */
+  padding: 0.5em;
+  margin: 0.5em 0em;
+}
+
+p.admonition-title {
+  font-weight: bold;
+}
+
 /* Docutils does not (yet) have support for multiple style sheets, so
  * we include the Pygments rules here. The rules are generated using
  * pygmentize -S default -f html.