Re: [viff-devel] Securely running the same VIFF program multiple times

2010-08-13 Thread Martin Geisler
Thomas P Jakobsen writes: > On Thu, Aug 12, 2010 at 12:06, Martin Geisler wrote: > >> Would it not be fairly easy to let each of the players secret share a >> random integer, add all the shared numbers, open the result, and use >> that as the computation ID? That is, a

Re: [viff-devel] Securely running the same VIFF program multiple times

2010-08-12 Thread Martin Geisler
agree on a > computation id that has not been used before for that set of > configuration files. Would it not be fairly easy to let each of the players secret share a random integer, add all the shared numbers, open the result, and use that as the computation ID? That is, automate this so

[viff-devel] IRC channel

2010-08-09 Thread Martin Geisler
quiet. -- Martin Geisler aragost Trifork Professional Mercurial support http://aragost.com/mercurial/ ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk

Re: [viff-devel] VIFF and random numbers

2010-07-06 Thread Martin Geisler
ed when it starts and why the seed is chosen as a small integer. -- Martin Geisler Mercurial links: http://mercurial.ch/ pgpBdiC07ULeT.pgp Description: PGP signature ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http://lists.viff

Re: [viff-devel] VIFF and random numbers

2010-07-06 Thread Martin Geisler
ml#viff.util.rand I will of course agree that it could be made more explicit :-) -- Martin Geisler Mercurial links: http://mercurial.ch/ pgpEQ0pxZDe3R.pgp Description: PGP signature ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk

[viff-devel] New project lead

2010-05-17 Thread Martin Geisler
d now be able to manage everything. I will of course stick around if you guys need anything... -- Martin Geisler Fast and powerful revision control: http://mercurial.selenic.com/ pgpnvTpH1piWk.pgp Description: PGP signature ___ viff-devel mailing

Re: [viff-devel] VIFF reactor

2010-04-29 Thread Martin Geisler
? > - If not, then the example apps would need to be updated accordingly. I see Marcel answered this with lightning speed, cool! :-) > I will, by the way, be available in #viff @ Freenode most of my time > the next couple of days. I'll like to add that it's very easy to get o

Re: [viff-devel] My dissertation

2010-04-23 Thread Martin Geisler
> Sorry if my queries don't make sense. I can admit I don't have much > knowledge of the details and I am trying pick up stuff as I go along. > > Thanks in advance. > > Best Wishes > > Sriram -- Martin Geisler ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk

[viff-devel] My dissertation

2010-03-03 Thread Martin Geisler
Hi guys, I have put my dissertation online, please find it here: http://bitbucket.org/mg/dissertation/downloads/ I'll add a link to the VIFF documentation next. -- Martin Geisler Fast and powerful revision control: http://mercurial.selenic.com/ pgpBCfDCX2qNl.pgp Description

Re: [viff-devel] Query from the University of Surrey

2010-02-21 Thread Martin Geisler
. Perhaps one of the windows-savvy people on this list can help you more or at least look at the errors. > All the best for your thesis. I suspect your thesis will be centred > around VIFF and MPC and I will be glad to take a look after you have > submitted. Will you link to it from th

Re: [viff-devel] Query from the University of Surrey

2010-02-21 Thread Martin Geisler
everything together if possible. Which platform are you on? I'm running VIFF on Debian unstable with Python 2.5.4 and Twisted 9.0 (these are the system packages). You are certainly right that the initial installation is daunting when done manually. We could make it easier by bundling things, b

[viff-devel] VIFF 1.0 released

2009-12-14 Thread Martin Geisler
FakeFieldElement class has the interface of a FieldElement but does no computations. A new --fake flag for benchmark.py enables these elements. -- Martin Geisler pgpaGrlvAgi23.pgp Description: PGP signature ___ viff-devel mailing list (http://viff.dk/) viff

Re: [viff-devel] VIFF 1.0 this weekend

2009-12-10 Thread Martin Geisler
"Håvard Vegge" writes: > atl...@stud.ntnu.no wrote: >> Siterer Martin Geisler : >> >>> Atle and Håvard: do you have your thesis' online somewhere? I would >>> like to include links to them. I have your thesis' in PDF format >>> al

Re: [viff-devel] VIFF 1.0 this weekend

2009-12-10 Thread Martin Geisler
Martin Geisler writes: > Everybody: if someone wants to describe the Nordic Sugar auction then > that would be super, otherwise I'll do it. Marcel has promissed to > write something about the distributed RSA. Sorry, he has written a bit about distributed AES! -- Martin Geisler

[viff-devel] VIFF 1.0 this weekend

2009-12-10 Thread Martin Geisler
then please put it in now :-) -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/. ___ viff-devel mailing list (http://viff.dk/) viff-devel@vif

Re: [viff-devel] Next problem

2009-12-04 Thread Martin Geisler
Nigel Smart writes: > Whats you complete PYTHONPATH? > > Maybe I am not picking up something It's just the one ~/opt/lib/python directory. -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Computation) to Pyt

Re: [viff-devel] Next problem

2009-12-04 Thread Martin Geisler
. /me mutters something about security can be in the real-world... Well, my advice to you is to make sure you have everything laid out nicely in the PYTHONPATH. Then try importing VIFF code in an interactive Python session -- you can see which code to import from the benchmark.py script, for exam

Re: [viff-devel] Next problem

2009-12-03 Thread Martin Geisler
mpz(1234567891234567891234567) >>>> len(str(x**12345)) > 297410 >>>> Okay, so some things are working... I'm afraid I don't know why you get the import errors you reported in the other mails. If you can give me SSH access to the machine, then I can take a clo

Re: [viff-devel] Next problem

2009-12-03 Thread Martin Geisler
g installed which my > path does not pick up I either have to > a) Search around to find it on the system > or > b) Install it myself in my own space > Clearly b usually takes less time ;-) Heh, yeah. > Also no-one in the dept seems to use python for anything, so I doubt &

Re: [viff-devel] Next problem

2009-11-30 Thread Martin Geisler
set = set except NameError: from sets import Set as set which simply tests to see if "set" is defined, otherwise it imports it From the sets module, which defines a Set class in old Python versions. Which Python version are you using (python -V)? Which distribution is this?

Re: [viff-devel] [Fwd: viff-devel Digest, Vol 25, Issue 4]

2009-11-27 Thread Martin Geisler
the standard library paths such as /usr/lib. That's where I find a lot of libgmp.* files. > Nigel -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/. _

Re: [viff-devel] VIFF

2009-11-25 Thread Martin Geisler
home/projects/crypto/Linux/lib/python/viff/config.py", line 33, in ? > from viff.prss import generate_subsets, PRF > File "/home/projects/crypto/Linux/lib/python/viff/prss.py", line 47, in ? > from gmpy import numdigits > ImportError: No module named gmpy Yes, you

[viff-devel] NaCL code in VIFF (was: [viff-commits] viff: Generate_config_files:Added support NaCl implementation of...)

2009-10-29 Thread Martin Geisler
ke Zope > interfaces or Twisted. Why is the code not put into VIFF? We already have too many dependencies, to I would much prefer not to add new ones. Dependencies are especially a problem on Windows, unless they come with ready-made installers with the compiled C extensions. -- Martin Geisl

Re: [viff-devel] [viff-commits] viff: Generate_config_files:Added support NaCl implementation of...

2009-10-28 Thread Martin Geisler
nerate_keys(self.keysize) > > > def deserializer(paillier_type, str): > -return tuple(map(long, str)) > +if paillier_type == "viff": > +return tuple(map(long, str)) > +if paillier_type == "nacl": > +return str.dic

Re: [viff-devel] benchmark

2009-10-27 Thread Martin Geisler
confused by the code. > I won't have to time to implement it any time soon. Would you like to > do it, or should I put it in my backlog? It's not overly important -- I'll do it when I get sufficiently annoyed by it :-) -- Martin Geisler VIFF (Virtual Ideal Functionality

[viff-devel] benchmark

2009-10-27 Thread Martin Geisler
Hi Janus, I like it very much that the benchmark can figure out by itself which program counters are needed for preprocessing. Can you change it so that it will only run the benchmark once if it sees that no preprocessing is needed? -- Martin Geisler VIFF (Virtual Ideal Functionality

Re: [viff-devel] MPC implementation news

2009-10-26 Thread Martin Geisler
w how to use the framework, > including SecreC implementations of Apriori and Eclat. Sounds very impressive :-) -- Martin Geisler ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk

[viff-devel] Big integers in Python

2009-10-26 Thread Martin Geisler
reports of interest are: http://bugs.python.org/issue1814 http://bugs.python.org/issue4258 -- Martin Geisler ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk

Re: [viff-devel] viff 0.7.1 question

2009-10-21 Thread Martin Geisler
uld have ~/src/viff: COPYING COPYING.LIB NEWS README apps doc run.py setup.py twisted viff The important part is that one can find viff/config.py inside a directory found in $PYTHONPATH. > Im using ubuntu 9.04. Excellent, then you should have it easy.

Re: [viff-devel] Commit messages

2009-10-19 Thread Martin Geisler
Sigurd Torkel Meldgaard writes: > On Mon, Oct 19, 2009 at 2:14 PM, Janus Dam Nielsen > wrote: >> I like it. >> On 19/10/2009, at 13.55, Martin Geisler wrote: > > Me too, and it should be documented by a line or two in the developer > guide-lines, so it can be looke

[viff-devel] Commit messages

2009-10-19 Thread Martin Geisler
know if you like it or not and if you think we should switch to this style from now on. -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk

Re: [viff-devel] AES slides from SPEED-CC

2009-10-17 Thread Martin Geisler
the "Stick Figure Guide to the Advanced Encryption Standard (AES)": http://www.moserware.com/ -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/. pgpP6kYVErL01.pgp Description

[viff-devel] AES slides from SPEED-CC

2009-10-16 Thread Martin Geisler
on slide 9 how one will typically combine SubBytes, ShiftRows, and MixColumns into one operation operating on diagonals. I don't know if that will matter for us? -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Computatio

Re: [viff-devel] Optimizing preprocessing

2009-10-16 Thread Martin Geisler
ll simplify the interface nicely, at least for consumers. Using simpler types also leads to less memory usage which has a positive effect on performance, as Marcel notes. So let's go for it. -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure M

[viff-devel] Broken build!

2009-10-09 Thread Martin Geisler
mmand line, right? (we have optparse for that) -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/. ___ viff-devel mailing list (http://viff.dk/) viff-de

Re: [viff-devel] Weird behaviour

2009-08-10 Thread Martin Geisler
Yes, when you return a Deferred, it loses its value. The value is transferred to the other Deferred. -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/. pgpoBGTSUGgbI.pgp Description: P

Re: [viff-devel] Homomorphic encryption

2009-08-10 Thread Martin Geisler
sionel to say "we tested with VIFF 0.8" instead of "we tested with VIFF 50056a810951"). -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Computation) to Python. See: http:

[viff-devel] Twisted & Monads

2009-08-05 Thread Martin Geisler
Hi there, I just stumbled upon this blog post which explores the connection between deferreds in Python and monads in Haskell: http://code.mumak.net/2009/07/twisted-monads.html It might be interesting for someone here. -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings

Re: [viff-devel] Weird behaviour

2009-08-05 Thread Martin Geisler
So Deferred._continue is added as a callback to our r Deferred, and since _continue return None, this becomes the value stored inside r. I think the take-home message is that you have structured your code in an unusual way. Whenever you add a callback to a Deferred but keep referring

Re: [viff-devel] Broken unit tests

2009-07-17 Thread Martin Geisler
Marcel Keller writes: > Hi Martin, > > Martin Geisler wrote: >> All the tests in the buildbot are currently broken: >> >> http://buildbot.viff.dk/waterfall >> >> It is because of this change of yours: >> >> @@ -164,6 +166,18 @@ >>

[viff-devel] Broken unit tests

2009-07-17 Thread Martin Geisler
l scopes of the Deferreds by storing a reference to the runtimes "on the side". The list of Deferreds in self.runtimes ought to be enough -- can you not add callbacks to that list if you need something to happen when the runtimes are ready? -- Martin Geisler VIFF (Virtual Ideal Functionali

Re: [viff-devel] [PATCH 02 of 12] Implemented secret sharing command

2009-06-22 Thread Martin Geisler
;> about this, but it looks like gather_shares would be better than >> ShareList since you must have all four shares anyway. > > I don't agree with this entirely. gather_shares ignores errors. Yeah, sort of. It will still pass on the list of results in case of an error, but som

Re: [viff-devel] [PATCH 00 of 12] Partial implementation of the Orlandi runtime.

2009-06-22 Thread Martin Geisler
ss right? Then just create a repository under ~/repos and it will automatically show up in the web interface. Add metadata in .hg/hgrc like for the other repositories. -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Computation) to P

Re: [viff-devel] [PATCH 00 of 12] Partial implementation of the Orlandi runtime.

2009-06-19 Thread Martin Geisler
mented correctly, pending an implementation > of Elliptic Curves. Maybe you should publish the patches as a tree on hg.viff.dk like Marcel has done -- and then let me know when you're happy with it and want me to pull it into the main tree. -- Martin Geisler VIFF (Virtual Ideal Functionality

Re: [viff-devel] [PATCH 10 of 12] Added a variant of the encryption method which takes a random value as argument

2009-06-19 Thread Martin Geisler
lue as > argument. Thanks, pushed as revision c1259ceebc55! -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/. pgpmv8UmRd5yi.pgp Descr

Re: [viff-devel] [PATCH 03 of 12] Implementation of the open command

2009-06-19 Thread Martin Geisler
ld(0) > +rho2 = share.field(0) Due to automagic coercion you can actually initialize the values to 0. > +for xi, (rhoi1, rhoi2), c in shares: > +x += xi > +rho1 += rhoi1 > +rho2 += rhoi2 > +asser

Re: [viff-devel] [PATCH 02 of 12] Implemented secret sharing command

2009-06-19 Thread Martin Geisler
ef secret_share(self, inputters, field, number=None, threshold=None): > +"""Share the value, number, among all the parties using additive > shareing. > + > +To share an element x in Z_{p}, choose random x_{1}, ..., x_{n-1} in > Z_{p}, > +de

Re: [viff-devel] [PATCH 01 of 12] importeret rettelse orlandi_implementation.patch

2009-06-19 Thread Martin Geisler
re): > +"""A share in the Orlandi runtime. > + > +A share in the Orlandi runtime is a 3-tuple (x_{i}, rho_{i}, Cr_{i}) of: Have you tried running Sphinx on these docstrings? I would wrap the tuples in ``...`` and drop the curly parenthesis around the subscripts. -- Martin

[viff-devel] [Marc Makkes] Homomorphic encryption

2009-06-18 Thread Martin Geisler
c -- If this email is PGP signed, the fingerprint is: C6D2 B5D7 390E 0D4E DE02 460E DC7F 651E A9CB 1B34 signed with a 521-bit ECC key pgpAFMM2arQud.pgp Description: PGP signature --- End Message --- -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient

Re: [viff-devel] Say hello to viff.reactor

2009-05-27 Thread Martin Geisler
t reactor > > If you use other reactors such as Gtk2Reactor or WxReactor, VIFF still > will work but without any speed improvements. Very cool! Thank you very much for sticking with your idea and refining it like this. I'm pushing it now... --

Re: [viff-devel] Accessing functions in Protocol from outside

2009-05-14 Thread Martin Geisler
some time, but not yet. It needs some minor > adjustments;-) > > Well, back to the report writing. Thanks again! Sounds great, I'll look forward to seeing more. -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Co

Re: [viff-devel] Accessing functions in Protocol from outside

2009-05-14 Thread Martin Geisler
/projects/web/documentation/howto/xmlrpc.html The SimpleXMLRPCServer in Python does not know about Twisted, so they will not play together. -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.

Re: [viff-devel] Accessing functions in Protocol from outside

2009-05-13 Thread Martin Geisler
h more free-form than, say, Java in this way -- in Java you must put "static" functions into a class, whereas you can just put them in a module in Python. I hope that makes some sense, otherwise please ask again :-) -- Martin Geisler ___ vif

Re: [viff-devel] Two-threaded VIFF

2009-04-22 Thread Martin Geisler
prof.print_stats(1) > reactor.run = new_run > > # This will yield a Runtime when all protocols are connected. > @@ -874,7 +964,38 @@ > print "Will connect to %s" % player > connect(player.host, player.port) > > -retu

[viff-devel] SHA-1 caching

2009-04-01 Thread Martin Geisler
icely over the tree of program counters. The change would require a fair amount of code, and it's anybody's guess if the added complexity will pay off. -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Computation) to Py

Re: [viff-devel] mental poker

2009-03-29 Thread Martin Geisler
ve secret sharing and the homomorphic Paillier encryption for multiplications. The code is very simple http://hg.viff.dk/viff/file/tip/viff/paillier.py and can be extended with whatever extra methods you need. Please let us know which protocols/papers you're thinking of implementing. --

Re: [viff-devel] Confusing behaviour?

2009-03-25 Thread Martin Geisler
orLine() stdio.StandardIO(io) # Set up VIFF. parser = OptionParser() Toft05Runtime.add_options(parser) options, args = parser.parse_args() id, players = load_config(args[0]) pre_runtime = create_runtime(id, players, 1, options, Toft05Runtime) pre_runtime.addCallback(Som

Re: [viff-devel] The value of Zp

2009-03-25 Thread Martin Geisler
"Atle Mauland" writes: > Hi all! > > Is there any way of getting the value of the Zp-variable as an > integer? I need to calculate some values mod p... You can access the modulus attribute: >>> from viff.field import GF >>> Zp = GF(131) >>>

Re: [viff-devel] Mystery of the quadratic running time solved?

2009-03-09 Thread Martin Geisler
Python. It is only if the threads do things >> blocking for I/O that you will see a performance increase by using >> multiple threads. > > I'm aware that Python only runs on one CPU, a friend pointed that out > to me today. However, the Twisted thread mentioned above would

Re: [viff-devel] Error when coding with callbacks and reveals

2009-03-09 Thread Martin Geisler
t with an integer, so if check == 0 should work just fine. > return False > return True > > results = gather_shares([temp_open]) > test_results = results.addCallback(check_result) > return test_results Like above you can

Re: [viff-devel] Error when coding with callbacks and reveals

2009-03-09 Thread Martin Geisler
llback. The reason is that you cannot wait on a value in VIFF, you always have to tell VIFF what it should do when the value arrives at some point in the future. > My goal is to keep most of the code oblivious as to if it is computing > with shares or field elements. This greatly simplifies the

Re: [viff-devel] Error when coding with callbacks and reveals

2009-03-09 Thread Martin Geisler
swer) > return callback_result > else: > print "No value, False" > return False > > def print_answer(self, value): > print "Result ", value I think you want to call self.runtime.shutdown() here

[viff-devel] Distributed RSA

2009-03-09 Thread Martin Geisler
Abstract). CRYPTO 1997: 425-439 It might be possible to implement this protocol directly in VIFF, instead of building things from scratch. The paper can be found here: http://www.springerlink.com/content/bq1jxkcuygj287cy/ -- Martin Geisler ___ viff

Re: [viff-devel] Multiparty AES in less than 3 seconds per block thanks to Twisted hack

2009-03-08 Thread Martin Geisler
ur illusion that "x * y" is just like a normal multiplication begins to break down. -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/. pgpaAFzZoE2d2.pgp Description: PGP sig

Re: [viff-devel] Mystery of the quadratic running time solved?

2009-03-08 Thread Martin Geisler
obal Interpreter Lock (GIL): http://www.artima.com/weblogs/viewpost.jsp?thread=214235 http://www.python.org/doc/faq/library/#can-t-we-get-rid-of-the-global-interpreter-lock -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Co

Re: [viff-devel] Mystery of the quadratic running time solved?

2009-03-08 Thread Martin Geisler
n callbacks > || > stringReceived()mul() / open() etc. >|| > queue_deferred() myIteration() > | >

Re: [viff-devel] Multiparty AES in less than 3 seconds per block thanks to Twisted hack

2009-03-07 Thread Martin Geisler
Martin Geisler writes: > I'll try and write a mail to them to explain our problem in more > detail. Maybe your short patch didn't provide enough information when > taken out of context. I've included a larger answer from Jean-Paul Calderone below -- you can read

Re: [viff-devel] Multiparty AES in less than 3 seconds per block thanks to Twisted hack

2009-03-07 Thread Martin Geisler
ner suggested another way but I don't think that > that way works for us. Do you mean the inlineCallbacks or the coiterate? And why it not work? -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Computa

Re: [viff-devel] Mystery of the quadratic running time solved?

2009-03-07 Thread Martin Geisler
o let the recursive calls finish in order to let the local variables and stack frames be garbage collected. -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Computation) to Python. See: http:

Re: [viff-devel] Mystery of the quadratic running time solved?

2009-03-07 Thread Martin Geisler
ent and reactor.doIteration here. A question springs to my mind: calling reactor.runUntilCurrent() reactor.doIteration(0) is the same as calling reactor.iterate(0) and the documentation for that method says: [...] This method is not re-entrant: you must not call it recursively; in particul

Re: [viff-devel] GUI programming for Python/VIFF

2009-02-26 Thread Martin Geisler
f.pbar.set_fraction(self.shares / float(n)) return value a.addCallback(step) b.addCallback(step) c.addCallback(step) The idea is to make the callback update the progress bar, but otherwise pass the value through unharmed. -- Martin Geisler VIFF (Virtual Ideal Functionality Framewor

Re: [viff-devel] Secure Multi-party AES

2009-02-23 Thread Martin Geisler
s). Did the timings behave better when you started doing more AES operations in parallel? As we discussed at a meeting here at DAIMI, I usually run 1000 multiplications in parallel in order to minimize the impact of the network latency on each multiplication. -- Ma

Re: [viff-devel] Plans for the future

2009-02-20 Thread Martin Geisler
Martin Geisler writes: > If you would like to add stuff to the page, then you can always find > the latest version here: > > http://hg.viff.dk/viff/raw-file/tip/doc/todo.txt > > People with commit access are of course encouraged to edit the file > directly :-) Let me just

[viff-devel] Plans for the future

2009-02-19 Thread Martin Geisler
o.txt The current revision hash is 24ba1dae612d (revision 1103). People with commit access are of course encouraged to edit the file directly :-) -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Computation) to Python. See: http

Re: [viff-devel] Division

2009-02-18 Thread Martin Geisler
e): http://viff.dk/doc/passive.html#viff.passive.PassiveRuntime.prss_share_random > I talked to my supervisor, Tord, and we are wondering if there is any > bit-decomposition function implemented? Not directly, but maybe as part of the comparison protocols -- Tomas? -- Martin Geisler VIFF (Virtual Ideal Functi

Re: [viff-devel] GUI programming for Python/VIFF

2009-02-10 Thread Martin Geisler
st the other day, so maybe he can contribute more to the pseudo-code :-) There were a slightly tricky issue with the synchronization of program counters that we had to think about, but now I don't remember the details. But I know that Tomas has a photo of our blackboard... :-) -- Martin Geisler VI

Re: [viff-devel] Off topic question "multiparty" or "multi-party"

2009-02-10 Thread Martin Geisler
r MPC. It sounds better when you pronounce it. I agree, I also mostly skip the "S" since who wants to hear about insecure multiparty computation anyway? :-) -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Computation) to Py

Re: [viff-devel] Off topic question "multiparty" or "multi-party"

2009-02-10 Thread Martin Geisler
at a native English speaker had complained to him about the hyphen (not on the homepage, but in a paper by Ivan). So now I'm writing "multiparty" instead. I still insist on using "MP" as an abbreviation, just like you would abbreviate "database" as "DB" a

Re: [viff-devel] The function shamir_share

2009-02-09 Thread Martin Geisler
Martin Geisler writes: > Håvard Vegge writes: > >> Hi! >> >> In the following code line the variable ra1 from node 1, 2 and 3 is >> assigned to r1, r2 and r3, respectively. >> r1, r2, r3 = runtime.shamir_share([1, 2, 3], Zp, self.ra1) >> >> Is it

Re: [viff-devel] The function shamir_share

2009-02-09 Thread Martin Geisler
hat P2 and P3 still participate. So the full code would look like this: if runtime.id == 1: r1 = runtime.shamir_share([1], Zp, self.ra1) else: r1 = runtime.shamir_share([1], Zp) This way all players get their share, but it is only P1 who provides any input. -- Martin Geisler

Re: [viff-devel] VIFF and large scale programs -- is VIFF really asynchronous?

2009-02-06 Thread Martin Geisler
ra)When you delete messages because no new deferred elements > need them then you can get situations in big programs that an > element is deleted, but it is suddenly needed far from where it was > first created. -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and

Re: [viff-devel] VIFF benchmarks

2009-02-05 Thread Martin Geisler
/enum.py:193: undefined name 'EnumValueCompareError' viffbench/test/test.py:52: undefined name 'Suite' in addition to some warnings. I hope you like the changes, and that they mostly work! :-) -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy

Re: [viff-devel] VIFF benchmarks

2009-02-02 Thread Martin Geisler
hey require a proper release before they will accept software into their catalog. -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/. ___ viff-devel

Re: [viff-devel] Multi-party AES encryption

2009-01-29 Thread Martin Geisler
f you could add some documentation to the viff.aes module and link it to the other documentation. At the moment it is only the lin_comb function that made it into the doc. -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Computa

[viff-devel] Memory usage of x = x * x program

2009-01-27 Thread Martin Geisler
The program uses n (or maybe n+1) Share so this indicates that a single Share costs about 2 KiB when used in multiplications like this. -- Martin Geisler ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http://lists.viff.dk/listinfo.cgi

[viff-devel] inlineCallbacks (was: VIFF and large scale programs -- is VIFF really asynchronous?)

2009-01-27 Thread Martin Geisler
this blog post: http://blog.mekk.waw.pl/archives/14-Twisted-inlineCallbacks-and-deferredGenerator.html So... more food for thoughts :-) -- Martin Geisler ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk

Re: [viff-devel] Problems installing pyOpenSSL with Python version 2.6.1

2009-01-27 Thread Martin Geisler
think it would be difficult to make such an installer -- please see and comment on the discussion here: http://tracker.viff.dk/issue14 -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/

[viff-devel] ohloh has spoken

2009-01-27 Thread Martin Geisler
Hi guys, Take a look at this: we're in the top 10% of all Python projects: https://www.ohloh.net/p/viff/factoids/1178198 -- Martin Geisler ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http://lists.viff.dk/listinfo.cgi/viff-

Re: [viff-devel] VIFF and large scale programs -- is VIFF really asynchronous?

2009-01-26 Thread Martin Geisler
n to be called when the next piece of data is ready. It is particularly important that the code does not hold on to the CPU for too long -- this stops the reactor. -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficie

Re: [viff-devel] VIFF and large scale programs -- is VIFF really asynchronous?

2009-01-26 Thread Martin Geisler
but it is wasteful with memory unless the programmer takes special care not to start too much at the same time. -- Martin Geisler pgpwFKC4HaraU.pgp Description: PGP signature ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk

[viff-devel] Shed Skin

2009-01-26 Thread Martin Geisler
compile out-of-the-box. Homepage: http://code.google.com/p/shedskin/ I wonder how it compares to something like Cython. -- Martin Geisler ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http://lists.viff.dk/listinfo.cgi/viff-devel

Re: [viff-devel] Problems installing pyOpenSSL with Python version 2.6.1

2009-01-22 Thread Martin Geisler
fit from it :-) -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/. pgp3U0b5PwhTH.pgp Description: PGP signature ___ viff-devel mailing list (htt

Re: [viff-devel] How to convert field elements to integers?

2009-01-22 Thread Martin Geisler
s should not be integers in the > set form 0 to p-1, but integers from -(p-1)/2 to +(p-1)/2. How > should one do that efficiently? That should be as simple as x.value - (x.modulus - 1) // 2 -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Se

Re: [viff-devel] VIFF benchmarks

2009-01-17 Thread Martin Geisler
will > later put it on viff.dk. If you have problems getting it to work, I'll > like to hear about that, too. Please consider putting the code somewhere public where we can better collaborate on it. If you put it on bitbucket you would get a bug tracker, a wiki and nice Mercurial hostin

Re: [viff-devel] Problems installing pyOpenSSL with Python version 2.6.1

2009-01-09 Thread Martin Geisler
ine and Python 2.4 at the university. > I see that eGenix.com have a version of pyOpenSSL that supports Python > 2.6. Is this compatible with VIFF and all the other packages? Guess > I'll just have to try... I have never tried any of their packages, so I don't know. -- Martin Geis

Re: [viff-devel] The best simulator for P2P-protocols

2008-12-27 Thread Martin Geisler
"Sigurd Torkel Meldgaard" writes: > I just saw this on reddit - we might like to look into some of the > mentioned tools: > > http://www.reddit.com/r/programming/comments/7lute/ask_proggit_what_is_the_best_simulator_for_p2p/ Excellent, thanks for the link! -- Martin

Re: [viff-devel] Time for a new release

2008-12-24 Thread Martin Geisler
Martin Geisler writes: Hi > I suggest that we aim for a release after the weekend, on the 22nd. > Does people think this is a good idea? It's been a week since I asked and nobody has replied, neither positively or negatively. So the release is put on hold for now. To those wh

[viff-devel] Time for a new release

2008-12-17 Thread Martin Geisler
ure this out for yourself. Let me know what you think -- if nobody thinks anything, then we'll just delay the release. -- Martin Geisler ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk

Re: [viff-devel] ComparisonToft07Mixin

2008-12-12 Thread Martin Geisler
urpriced :-) Can you not just explain your mail client that this is a mailing list? Of course, if many replies wander off-list because of this, then we can change the setting. -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Computa

Re: [viff-devel] Benchmarks on a mac

2008-12-12 Thread Martin Geisler
eno(function) > 366 20.9230.057 26.6800.073 selectreactor.py:93(doSelect) > 173360/866802.5240.0009.8540.000 defer.py:314(_runCallbacks) Hmm... apart from spending much more time in doSelect than in my trace, then I don't see any big difference. Too bad, I thou

  1   2   3   4   5   >