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

2010-08-12 Thread Martin Geisler
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 that you don't have to agree on a certain computation ID in advance. -- Martin

[viff-devel] IRC channel

2010-08-09 Thread Martin Geisler
. -- 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
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
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 list

Re: [viff-devel] VIFF reactor

2010-04-29 Thread Martin Geisler
that? - 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 online: http://webchat.freenode.net/ -- Martin

Re: [viff-devel] My dissertation

2010-04-23 Thread Martin Geisler
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: PGP

[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

[viff-devel] VIFF 1.0 this weekend

2009-12-10 Thread Martin Geisler
:-) -- 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@viff.dk http://lists.viff.dk

Re: [viff-devel] Next problem

2009-12-04 Thread Martin Geisler
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 example. -- Martin

Re: [viff-devel] Next problem

2009-12-04 Thread Martin Geisler
Nigel Smart ni...@compsci.bristol.ac.uk 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

Re: [viff-devel] Next problem

2009-12-03 Thread Martin Geisler
is instaleld. Which means option a is unlikely to work. It's not like it will mess things up to install Python, Twisted, and GMPY globally. The packages will just sit nicely in the corner and nobody will notice :-) -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy

Re: [viff-devel] Next problem

2009-12-03 Thread Martin Geisler
, as my version is 9.0.0 No, it's not as bad as it sounds -- they switched from version 2.x to version x.something where x is used in year 200x :-) -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Computation) to Python. See: http

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

2009-11-27 Thread Martin Geisler
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/. ___ viff-devel mailing list (http://viff.dk/) viff

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

2009-10-29 Thread Martin Geisler
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 Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC

[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
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

Re: [viff-devel] viff 0.7.1 question

2009-10-21 Thread Martin Geisler
~/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. -- Martin

[viff-devel] Commit messages

2009-10-19 Thread Martin Geisler
to the AES code, the Orlandi runtime, etc. Please let me 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] Commit messages

2009-10-19 Thread Martin Geisler
Sigurd Torkel Meldgaard s...@cs.au.dk writes: On Mon, Oct 19, 2009 at 2:14 PM, Janus Dam Nielsen janus.niel...@alexandra.dk 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

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

2009-10-17 Thread Martin Geisler
): 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: PGP signature ___ viff-devel mailing

[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 Computation

[viff-devel] Broken build!

2009-10-09 Thread Martin Geisler
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-devel@viff.dk http://lists.viff.dk/listinfo.cgi/viff

Re: [viff-devel] Broken unit tests

2009-07-17 Thread Martin Geisler
Marcel Keller mkel...@cs.au.dk 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 @@ # the Runtime, since we want everybody to wait until all

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

2009-06-22 Thread Martin Geisler
? 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 Python

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

2009-06-22 Thread Martin Geisler
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 some of them will be None or a Failure instance. But so ShareList is fine. -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy

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

2009-06-19 Thread Martin Geisler
: +x += xi +rho1 += rhoi1 +rho2 += rhoi2 +assert c is None, A commitment is found. +return self.check_commitment(x, (rho1, rho2), Cx) -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC

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
method which takes a random value 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 Description: PGP signature

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

2009-06-19 Thread Martin Geisler
, 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 Framework) brings

[viff-devel] [Marc Makkes] Homomorphic encryption

2009-06-18 Thread Martin Geisler
, 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 SMPC (Secure Multiparty Computation) to Python

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

2009-05-27 Thread Martin Geisler
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... -- Martin Geisler pgpFYzQcGfdEV.pgp Description: PGP signature

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

2009-05-14 Thread Martin Geisler
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/. ___ viff

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

2009-05-14 Thread Martin Geisler
, 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 Computation) to Python. See: http

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

2009-05-13 Thread Martin Geisler
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 ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http://lists.viff.dk

Re: [viff-devel] mental poker

2009-03-29 Thread Martin Geisler
. -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/. pgpp9faxtAYfx.pgp Description: PGP signature ___ viff-devel mailing list (http://viff.dk/) viff

Re: [viff-devel] The value of Zp

2009-03-25 Thread Martin Geisler
Atle Mauland atl...@stud.ntnu.no 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) Zp.modulus 131 -- Martin Geisler VIFF (Virtual

[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] Error when coding with callbacks and reveals

2009-03-09 Thread Martin Geisler
or field elements. This greatly simplifies the testing and readability of the code. I see, that is indeed a nice property. And it can work some of the way, as you've seen, but only for simple functions which only do arithmetic on the shares. Tord -- Martin Geisler VIFF (Virtual Ideal

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

2009-03-09 Thread Martin Geisler
= results.addCallback(check_result) return test_results Like above you can just add the check_result callback to temp_open and return temp_open. -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk

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

2009-03-09 Thread Martin Geisler
aware that Python only runs on one CPU, a friend pointed that out to me today. However, the Twisted thread mentioned above would block on I/O. Right, that should help us! Janus has been looking more into Python threads, so be sure to discuss it with him too. -- Martin Geisler VIFF (Virtual

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

2009-03-07 Thread Martin Geisler
/twisted.internet.interfaces.IReactorCore.html#iterate How does your code ensure that we only call myIteration when we're not in a call made by the reactor? And could we simply call reactor.iterate instead? -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Computation

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

2009-03-07 Thread Martin Geisler
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://viff.dk/. pgpp6C0lL7dUL.pgp Description: PGP signature

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

2009-03-07 Thread Martin Geisler
Martin Geisler m...@daimi.au.dk 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 in context here

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

2009-02-26 Thread Martin Geisler
/ 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 Framework) brings easy and efficient SMPC

Re: [viff-devel] VIFF benchmarks

2009-02-05 Thread Martin Geisler
'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 and efficient SMPC (Secure Multiparty Computation) to Python. See

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

2009-01-22 Thread Martin Geisler
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 (Secure Multiparty Computation) to Python

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

2009-01-22 Thread Martin Geisler
benifit 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

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

2008-12-24 Thread Martin Geisler
Martin Geisler m...@daimi.au.dk 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 who

[viff-devel] Time for a new release

2008-12-17 Thread Martin Geisler
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] Yet another SFDL parser

2008-12-12 Thread Martin Geisler
these int size things, let's just use the parser you made. Okay, good. It also comes with a fairly large set of unit tests, which I found usefull while working with it. I have it as a patch queue here on DAIMI -- you can clone that or convert it to a normal repository and clone that instead. -- Martin

Re: [viff-devel] Benchmarks on a mac

2008-12-12 Thread Martin Geisler
select. -- 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@viff.dk http://lists.viff.dk

Re: [viff-devel] ComparisonToft07Mixin

2008-12-12 Thread Martin Geisler
:-) 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 Computation

Re: [viff-devel] ComparisonToft07Mixin

2008-12-11 Thread Martin Geisler
unpublished. Of course, Tomas may be slightly better at answering this :-) Yeah, it would be nice to have this confirmed and then update the bibliography: http://viff.dk/doc/bibliography.html -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC

[viff-devel] Yet another SFDL parser

2008-12-10 Thread Martin Geisler
with it to learn more about Pyparsing. However, regardless of the choice, we should discuss who will commit to take the lead on it. -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk

Re: [viff-devel] Yet another SFDL parser

2008-12-10 Thread Martin Geisler
Mikkel Krøigård [EMAIL PROTECTED] writes: Quoting Martin Geisler [EMAIL PROTECTED]: I've just sent 22 patches to the viff-patches list: http://thread.gmane.org/gmane.comp.cryptography.viff.patches/104 They represent yet another attempt at making a SFDL parser. I say yet another since

[viff-devel] Repositories on hg.viff.dk

2008-12-10 Thread Martin Geisler
, then let me know. Mikkel and Thomas: you already have access to viff.dk. You can easily create your own repositories by going to ~/repos on viff.dk and cloning an existing repository. Then edit the .hg/hgrc file to describe it, look in ~/repos/viff/.hg/hgrc for a starting point. -- Martin Geisler

Re: [viff-devel] [issue75] Test without local computations

2008-11-06 Thread Martin Geisler
, so the time spend on network communication is as low as it can possible get. I guess that means that the rest of the time is lost in the overall machinery :-( -- Martin Geisler ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http

[viff-devel] [issue75] Test without local computations

2008-11-05 Thread Martin Geisler
New submission from Martin Geisler [EMAIL PROTECTED]: We want to do tests where all local computations are replaced by dummy implementations. An example would be the multiplications of field elements done in viff.field. Having timing results from such a dummy implementation would give us

[viff-devel] [issue77] Trottle creation of Deferreds based on memory pressure

2008-11-05 Thread Martin Geisler
New submission from Martin Geisler [EMAIL PROTECTED]: This is an idea which I think Thomas came up with first: it would be very nice if one could limit the memory usage to, say, 200 MiB. The program should run a normal, but when the memory usage grows above the limit, the remaining parts

[viff-devel] [issue74] Test without network communication

2008-11-05 Thread Martin Geisler
New submission from Martin Geisler [EMAIL PROTECTED]: It should be possible to test a single player in isolation by replaying old network communication. That would allow us to measure the time spent on local computations and the overhead from the whole Twisted machinery. -- assignedto

Re: [viff-devel] New passive multiplication protocol

2008-10-08 Thread Martin Geisler
? :) Wrong syntax: if n=3: RunOldProtocol() else: RunNewProtocol() :-) But apart from that then you're right -- maybe that is what we have to do if we can find a nice way to do it. -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multi-Party

[viff-devel] [issue71] Allow self-sending

2008-10-08 Thread Martin Geisler
New submission from Martin Geisler [EMAIL PROTECTED]: At some point it became illegal to send data to oneself, and so the code looks like this in several places (this is from open): if peer_id == self.id: d = Share(self, share.field, (share.field(peer_id), share)) else: d = self

Re: [viff-devel] FW: Bug in ViFF

2008-10-06 Thread Martin Geisler
, also for performance. I suggest that we use a round-robin system where we determine the perticipating subset based on the current program counter. So far I have a failing unit test which clearly shows the bug, I'll try and fix it now. -- Martin Geisler pgpFQx5rzicnb.pgp Description: PGP signature

Re: [viff-devel] FW: Bug in ViFF

2008-10-06 Thread Martin Geisler
Martin Geisler [EMAIL PROTECTED] writes: That would be a good idea, also for performance. I suggest that we use a round-robin system where we determine the perticipating subset based on the current program counter. Code for this would look like this: diff --git a/viff/runtime.py b/viff

Re: [viff-devel] FW: Bug in ViFF

2008-10-03 Thread Martin Geisler
to richest: Millionaire 3 Millionaire 2 Millionaire 1 (193 millions) and I can understand why you don't get this output with your code. -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multi-Party Computation) to Python. See: http

Re: [viff-devel] Fwd: error while installing viff

2008-10-03 Thread Martin Geisler
Amitabh Saxena [EMAIL PROTECTED] writes: Hi Amitabh -- Forwarded message -- From: Amitabh Saxena [EMAIL PROTECTED] Date: Mon, Sep 15, 2008 at 2:08 PM Subject: Re: error while installing viff To: Martin Geisler [EMAIL PROTECTED] Thanks Martin, I will try the installation

[viff-devel] [issue68] Exceptions from tracker

2008-09-30 Thread Martin Geisler
New submission from Martin Geisler [EMAIL PROTECTED]: I'm getting errors like this from the Roundup tracker: Traceback (most recent call last): File /users/viff/opt/lib/python/roundup/cgi/client.py, line 303, in inner_main html = self.handle_action() File /users/viff/opt/lib/python

[viff-devel] [issue67] SFDL converter

2008-09-26 Thread Martin Geisler
New submission from Martin Geisler [EMAIL PROTECTED]: We've promised to make a converter which can read a SFDL program and turn it into an equivalent VIFF program. -- assignedto: mk importance: 70.0 messages: 229 nosy: mg, mk status: unread title: SFDL converter type: wish

Re: [viff-devel] What to benchmark

2008-09-25 Thread Martin Geisler
[EMAIL PROTECTED] writes: Quoting Mikkel Krøigård [EMAIL PROTECTED]: Citat Martin Geisler [EMAIL PROTECTED]: I've looked at the GMPY code, and it is a fairly straightforward wrapper for the GMP library, as you describe. But I don't know if it makes it easier for us to benchmark just

Re: [viff-devel] Some profiling results

2008-09-25 Thread Martin Geisler
Mikkel Krøigård [EMAIL PROTECTED] writes: Citat Martin Geisler [EMAIL PROTECTED]: Martin Geisler [EMAIL PROTECTED] writes: Hi everybody, I have done some testing and come up with some strange numbers. I measured the time each individual multiplication takes by storing a timestamp

[viff-devel] Upgraded hg on viff.dk

2008-09-25 Thread Martin Geisler
hope you like it -- let me know if you find any problems! -- Martin Geisler pgpqn3aY71XOI.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

Re: [viff-devel] Some profiling results

2008-09-24 Thread Martin Geisler
[EMAIL PROTECTED] writes: Hi Martin, I have a couple of stupid questions: Quoting Martin Geisler [EMAIL PROTECTED]: I've attached two plots, one for 1000 multiplications and one for 4000. Each plot has the multiplication-number on the x-axis and the time for that multiplication on the y

Re: [viff-devel] Some profiling results

2008-09-24 Thread Martin Geisler
Martin Geisler [EMAIL PROTECTED] writes: Hi everybody, I have done some testing and come up with some strange numbers. I measured the time each individual multiplication takes by storing a timestamp when the multiplication is scheduled, and another when it finishes. Here is another plot

Re: [viff-devel] What to benchmark

2008-09-24 Thread Martin Geisler
to the select() function, which is the one used in the event loop to sleep while waiting for data from a set of file descriptors. Exercise: if you can measure 1) and 2), how do you measure 3)? :-) Hehe :-) -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient

Re: [viff-devel] What to benchmark

2008-09-24 Thread Martin Geisler
... -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multi-Party Computation) to Python. See: http://viff.dk/. ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http://lists.viff.dk

Re: [viff-devel] Roundup Importance Level

2008-09-23 Thread Martin Geisler
for doing this! Did you have to do it by hand, or did you find a better way? Also, would it make sense to let the default query sort by priority instead of by activity? -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multi-Party Computation

Re: [viff-devel] What to benchmark

2008-09-22 Thread Martin Geisler
in various locations around the world? :) Sure, why not... No, wait a minute -- you didn't say please! Sorry, no computer for you today! -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multi-Party Computation) to Python. See: http://viff.dk

Re: [viff-devel] What to benchmark

2008-09-22 Thread Martin Geisler
Mikkel Krøigård [EMAIL PROTECTED] writes: Citat Martin Geisler [EMAIL PROTECTED]: I have already made a script which uses SSH to start any number of playes here on DAIMI, and I've used it to test up to 25 players (it took 15 ms on average for a 32-bit passively secure multiplication

Re: [viff-devel] [issue66] Network emulator

2008-09-21 Thread Martin Geisler
Adam Langley [EMAIL PROTECTED] writes: On Fri, Sep 19, 2008 at 4:26 PM, Martin Geisler [EMAIL PROTECTED] wrote: I think it would be very interesting to setup a system using this so-called network emulator: http://wanem.sourceforge.net/ This is the common way to do such things: http

[viff-devel] VIFF 0.7

2008-09-21 Thread Martin Geisler
outputs. -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multi-Party Computation) to Python. See: http://viff.dk/. pgphhpz1Z8ffK.pgp Description: PGP signature ___ viff-devel mailing list (http

[viff-devel] Patches

2008-09-17 Thread Martin Geisler
the detailed code-discussion on viff-patches and the general feature-discussion here, or something like that. -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multi-Party Computation) to Python. See: http://viff.dk

[viff-devel] Upcoming release!

2008-09-17 Thread Martin Geisler
for new stuff. -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multi-Party Computation) to Python. See: http://viff.dk/. ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http

Re: [viff-devel] Upcoming release!

2008-09-17 Thread Martin Geisler
Martin Geisler [EMAIL PROTECTED] writes: You can find a list of the so-called simple bugs here: http://ln-s.net/2E+7 Here is another query which is interesting for the upcoming release: http://ln-s.net/2E+a It selects the bugs closed since the release of VIFF 0.6 (2008-05-28

Re: [viff-devel] Python bindings for NaCl

2008-09-05 Thread Martin Geisler
Adam Langley [EMAIL PROTECTED] writes: On Thu, Sep 4, 2008 at 5:05 AM, Martin Geisler [EMAIL PROTECTED] wrote: Thanks for the vote of confidence. I think NaCl gets paged into my brain tomorrow. I'll see if I can get the shared library support done. See the patch set at http

Re: [viff-devel] Python bindings for NaCl

2008-09-04 Thread Martin Geisler
Adam Langley [EMAIL PROTECTED] writes: On Wed, Sep 3, 2008 at 1:41 AM, Martin Geisler [EMAIL PROTECTED] wrote: Okay. If you want to, you can get all the repository- and web-space you want on viff.dk. Or maybe you could put up the bindings on pypi? Thanks for the offer. I'm not sure where

Re: [viff-devel] Python bindings for NaCl

2008-09-03 Thread Martin Geisler
bindings so soon, so this is just like an early Christmas present :-) -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multi-Party Computation) to Python. See: http://viff.dk/. ___ viff-devel mailing list

Re: [viff-devel] Exceptions?

2008-09-01 Thread Martin Geisler
this picture explains it quite well: http://twistedmatrix.com/projects/core/documentation/howto/defer.html#auto2 -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multi-Party Computation) to Python. See: http://viff.dk/. pgpkoRtAwESWX.pgp

Re: [viff-devel] Bitonic sort

2008-08-12 Thread Martin Geisler
Ivan Bjerre Damgaard [EMAIL PROTECTED] writes: Martin Geisler [EMAIL PROTECTED] writes: I began looking at card shuffling because I want to make a small tutorial for VIFF, something that will explain how to make a program. And for that I figured that some card game would be cool. I don't

Re: [viff-devel] Bitonic sort

2008-08-09 Thread Martin Geisler
Martin Geisler [EMAIL PROTECTED] writes: It does 466 comparisons to sort 52 numbers (32-bit) and it takes about 4 minutes both share and sort the numbers on thyra{01,02,03} on DAIMI. In case nobody has noticed, I wanted to see how long it would take to sort 52 numbers since doing so would

[viff-devel] Bitonic sort

2008-08-08 Thread Martin Geisler
should compare it to the Java code found here: http://iti.fh-flensburg.de/lang/algorithmen/sortieren/bitonic/oddn.htm#section4 It does 466 comparisons to sort 52 numbers (32-bit) and it takes about 4 minutes both share and sort the numbers on thyra{01,02,03} on DAIMI. -- Martin Geisler

[viff-devel] [issue60] Make local xor fast

2008-08-07 Thread Martin Geisler
New submission from Martin Geisler [EMAIL PROTECTED]: Like mul, Runtime.xor should do a local computation if one of the operands is a known constant. Right now it just wraps whatever it gets and calls add and mul, and because of the wrapping a slow multiplication will take place. Maybe

Re: [viff-devel] PRSS zero- and double-sharings

2008-08-01 Thread Martin Geisler
of the 48000 calls it might sum up :-) -- 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] PRSS zero- and double-sharings

2008-08-01 Thread Martin Geisler
Martin Geisler [EMAIL PROTECTED] writes: Strangely the time for preprocessing has not improved... It stayed at an average time of about *20 ms* for a multiplication triple both before and after the change -- I don't understand that :-( I do now! :-) It turned out that the preprocessing

Re: [viff-devel] PRSS zero- and double-sharings

2008-08-01 Thread Martin Geisler
inlining -- I'm not sure. -- 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] www.bitbucket.org (was: Which operations for HSM (Hardware Crypto))

2008-07-31 Thread Martin Geisler
Martin Geisler [EMAIL PROTECTED] writes: I would of course be happy to setup repositories for all of you guys! Another option would be to put a clone here: http://www.bitbucket.org/ I have heard a lot of good feedback about them. They offer free hosting of Mercurial repositories up to 150

Re: [viff-devel] PRSS zero- and double-sharings

2008-07-31 Thread Martin Geisler
Martin Geisler [EMAIL PROTECTED] writes: I'm thinking that there might be some unfortunate overhead in the preprocessing book-keeping. We should try running benchmark.py under a profiler to see where the time is spent. There is now support for a --profile flag, and running benchmark.py

Re: [viff-devel] [issue49] Test OpenSSL under Mac OS X [status=resolved]

2008-07-30 Thread Martin Geisler
Jakob Illeborg Pagter [EMAIL PROTECTED] writes: Har installeret PyOpenSSL og kørt millionaires uden problemer. Rækker det? Yes, of course -- thanks! This mail should close the bug if everything works like they are supposed to. -- Martin Geisler

[viff-devel] PRSS zero- and double-sharings

2008-07-30 Thread Martin Geisler
a profiler to see where the time is spent. -- 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] [issue57] Get rid of Runtime._shamir_share

2008-07-29 Thread Martin Geisler
New submission from Martin Geisler [EMAIL PROTECTED]: The _shamir_share and shamir_share methods overlap in functionality and one should probably be implemented in terms of the other. -- messages: 148 nosy: mg priority: feature status: unread title: Get rid of Runtime._shamir_share

Re: [viff-devel] Which operations for HSM (Hardware Crypto)

2008-07-29 Thread Martin Geisler
into the hsm repository. But if we forget about this, then don't worry -- there is a transplant extension to Mercurial that allows us to recover. I would of course be happy to setup repositories for all of you guys! -- Martin Geisler ___ viff-devel

  1   2   >