Re: [viff-devel] Option system in VIFF

2007-12-12 Thread Martin Geisler
Martin Geisler [EMAIL PROTECTED] writes: I'll try to make VIFF use SSL now... of course depending on a command line option :-) I almost have TLS working at home now. It turned out that the most time consuming part in developing this is the generation of private keys! My computer keeps running

Re: [viff-devel] Network layer completely redone

2007-12-20 Thread Martin Geisler
Martin Geisler [EMAIL PROTECTED] writes: [...] The changes have just been pushed as 925a8ac3896e. You should have been able to pull them from http://hg.viff.dk/viff/, but the site is down! I've just created a ticket at DreamHost support asking them to fix it. Until then, please let me know

Re: [viff-devel] VIFF 0.3 has been released!

2007-12-28 Thread Martin Geisler
the new test gives different timings for the different players. -- 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] Benchmark results, with graphs!

2008-01-02 Thread Martin Geisler
the median should be more robust when the data has outliers. But since I have no clue about statistics, I would love to hear other suggestions. -- Martin Geisler ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http://lists.viff.dk/listinfo.cgi

[viff-devel] Latest news on the homepage

2008-01-12 Thread Martin Geisler
, yet they solve difficult and annoying problems. [1]: http://jtauber.com/blog/2006/03/11/recreational_programming/ [2]: http://genshi.edgewall.org/ [3]: http://feedparser.org/ -- Martin Geisler pgpsA6Fntb3EV.pgp Description: PGP signature ___ viff-devel

Re: [viff-devel] Latest news on the homepage

2008-01-12 Thread Martin Geisler
Martin Geisler [EMAIL PROTECTED] writes: I've added an area at the top of http://viff.dk/ that shows the four most recent changes in the Mercurial repository and most recent posts on this mailing list. It seems to work, the previous post is now shown on the page. The three-hour lag might

Re: [viff-devel] Asymmetric protocols

2008-01-28 Thread Martin Geisler
operations to sharing and opening. -- 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] Asymmetric protocols

2008-01-29 Thread Martin Geisler
the result of converting the GFElement at once (since the value is already there): x_share.addCallback(lambda e: Z23(e.value)) Share at 0xB7E994ECL current result: {15} x_share.result.modulus 23 I hope this makes sense, otherwise please ask again! -- Martin Geisler VIFF (Virtual

[viff-devel] Self-extracting Windows archive

2008-01-30 Thread Martin Geisler
? If it better than the normal zip file I made for the 0.3 release, then we should definitely start making these exe files when releasing. -- Martin Geisler ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http://lists.viff.dk/listinfo.cgi/viff

Re: [viff-devel] Splitting the Runtime into smaller pieces

2008-01-31 Thread Martin Geisler
Janus Dam Nielsen [EMAIL PROTECTED] writes: Den 31/01/2008 kl. 14.21 skrev Martin Geisler: If you just want to select between two methods, then this also works: class Comb(Base, Mix1, Mix2): foo = Mix1.foo Brilliant! Hehe, I think it's quite neat too :-) Being able to write

[viff-devel] Asymmetric Bracha broadcast (was: Asymmetric Shamir sharing)

2008-02-06 Thread Martin Geisler
Martin Geisler [EMAIL PROTECTED] writes: Mikkel and I restructured some code yesterday in preparation for implementing a Bracha broadcast, which in turn will help implement protocols for active security. As you might have seen on http://viff.dk/, Mikkel has committet a Bracha broadcast, great

Re: [viff-devel] Splitting the Runtime into smaller pieces

2008-02-08 Thread Martin Geisler
Martin Geisler [EMAIL PROTECTED] writes: Hello again, I have thought a little about how we can split the current Runtime class into smaller pieces. Currently runtime.py contains five classes and the Runtime class contains 26 methods. That is too much information in one file. I think we can

Re: [viff-devel] VIFF unit tests

2008-02-13 Thread Martin Geisler
sorts three elements via three comparisons. -- 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 unit tests

2008-02-14 Thread Martin Geisler
documented as the rest of Twisted, so looking at the source code has helped me a bit until I found the above tutorial. -- 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.dk: 8 new changesets

2008-02-21 Thread Martin Geisler
skrev viff-devel@viff.dk: http://hg.viff.dk/viff.dk/rev/ec341fb94853 changeset: 36:ec341fb94853 user: Martin Geisler [EMAIL PROTECTED] date: Wed Feb 20 13:00:49 2008 +0100 summary: Filter out notification mails on the front page. http://hg.viff.dk/viff.dk/rev/dfe399e0b67e

Re: [viff-devel] viff.dk: 8 new changesets

2008-02-22 Thread Martin Geisler
was born out of two things: * It was easy to do since the repository provides RSS and Atom feeds :-) * It gives people an easy way to see that the project is alive. -- Martin Geisler ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http

[viff-devel] GMPY with Python 2.5

2008-02-25 Thread Martin Geisler
Hi there, Tomas tells me that one can download binary Windows GMPY packages for Python 2.5 on the projects new home: http://code.google.com/p/gmpy/ I'll update the URL in the INSTALL file to point to there instead of its old home on SourceForge. -- Martin Geisler

[viff-devel] RFC: multiple program counters

2008-03-07 Thread Martin Geisler
the program counter associated with the sending or receiving player. We send this out here since we would love to hear other ideas! -- Martin Geisler ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http://lists.viff.dk/listinfo.cgi/viff

[viff-devel] Getting ready for version 0.4

2008-03-10 Thread Martin Geisler
(see http://roundup.sourceforge.net/) up and running soon as a bug/issue/patch tracker, and then we can start plan using that. -- Martin Geisler pgp5FblCTWuy6.pgp Description: PGP signature ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk

Re: [viff-devel] Getting ready for version 0.4

2008-03-10 Thread Martin Geisler
Martin Geisler [EMAIL PROTECTED] writes: [yada, yada... boring release checklist... bla bla... :-)] If people could do this until *Wednesday*, then I'll see if I can teach run.py to actually create a full tar.gz/zip file for distribution, and then I hope we can put 0.4 out Wednesday evening

Re: [viff-devel] Getting ready for version 0.4

2008-03-11 Thread Martin Geisler
Martin Geisler [EMAIL PROTECTED] writes: So I would like to ask everybody to look things over one last time: * take a look at the NEWS file and add anything of significance that we have missed, * take a look at the comments in the code and see if they are still valid, * run some

Re: [viff-devel] Getting ready for version 0.4

2008-03-12 Thread Martin Geisler
://trac.edgewall.org/wiki/TracMercurial -- 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] [issue1] Move items from TODO file to this tracker

2008-03-13 Thread Martin Geisler
Martin Geisler [EMAIL PROTECTED] writes: New submission from Martin Geisler [EMAIL PROTECTED]: I am of course talking about this file: http://hg.viff.dk/viff/raw-file/tip/TODO -- messages: 1 nosy: mg priority: bug status: unread title: Move items from TODO file to this tracker

[viff-devel] [issue35] Handle error if TLS is requested but python-gnutls is missing

2008-04-12 Thread Martin Geisler
New submission from Martin Geisler [EMAIL PROTECTED]: The create_runtime function returns None if TLS is requested and the Python GnuTLS bindings are missing. It should return a suitable failed Deferred instead. -- messages: 86 nosy: mg priority: bug status: unread title: Handle error

[viff-devel] Documentation updates

2008-04-17 Thread Martin Geisler
sending them to us. I hope that people will contribute so that we can make VIFF 0.5 have the best possible documentation. -- Martin Geisler ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http://lists.viff.dk/listinfo.cgi/viff-devel

[viff-devel] Release plan for VIFF 0.5

2008-04-17 Thread Martin Geisler
other mail...). The real release would then follow a week later. Sounds good? -- 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] [issue39] Mac OS X build slave

2008-04-28 Thread Martin Geisler
New submission from Martin Geisler [EMAIL PROTECTED]: We currently have build slaves for Linux (Python 2.4, 2.5, 2.6) and Windows (Python 2.5) but no slaves for Mac OS X. I don't expect there to be any differences between Mac OS X and GNU/Linux, but it would be nice to have a build slave

[viff-devel] [issue38] Mac OS X installer

2008-04-28 Thread Martin Geisler
New submission from Martin Geisler [EMAIL PROTECTED]: We need some kind of installer for Mac OS X. Janus sent me this link: http://ln-s.net/1pwk which explains how you create one of those nice drag-and-drop installers that everybody uses these days. I have added Jakob and Janus to the nosy

[viff-devel] We have a winner!

2008-04-29 Thread Martin Geisler
/doc-1.0/user_guide.html#setting-properties If you include text in your email it will become a new message in the tracker, so remember to remove any automatic signatures and such before sending. -- Martin Geisler ___ viff-devel mailing list (http

[viff-devel] Active comparisons in less than a second! (was: viff: Switch to prss_share_bit_double in comparisons.)

2008-05-15 Thread Martin Geisler
Martin Geisler [EMAIL PROTECTED] writes: Running three players on my home computer gives these results: Before: 1309 ms per comparison with 100 parallel comparisons After: 324 ms per comparison with 100 parallel comparisons That is a factor of four! I measured similar improvements

[viff-devel] [issue41] Document protocol complexities

2008-05-21 Thread Martin Geisler
New submission from Martin Geisler [EMAIL PROTECTED]: I think we should document the complexities of the protocols, at least where it isn't obvious (the comparison protocols). The complexities include the amount of local computation, the number of bits transferred, and the number of rounds

Re: [viff-devel] Choice of comparison protocol

2008-05-22 Thread Martin Geisler
? I found the conference webpage, but it does not link to your article, and neither does your own publication list. -- 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] Fixed memory leak

2008-05-22 Thread Martin Geisler
over all parties. -- Martin Geisler pgpLtAi6RH12Z.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] Next release: VIFF 0.6

2008-05-23 Thread Martin Geisler
/tarball look like when unpacked? If we can figure these things out during the weekend, then I will aim for putting out VIFF 0.6 on *Wednesday 28th* (next week). So I need your patches before that date! -- Martin Geisler ___ viff-devel mailing list (http

[viff-devel] [issue42] Information leak in prss_share_random

2008-05-27 Thread Martin Geisler
New submission from Martin Geisler [EMAIL PROTECTED]: The multiplication in prss_share_random cannot be a local multiplication. Tomas writes the following in: http://article.gmane.org/gmane.comp.cryptography.viff.devel/241 [...] looking at this lead Mikkel and me to look at prss_share_random

Re: [viff-devel] viff: Switch to prss_share_bit_double in comparisons.

2008-05-27 Thread Martin Geisler
Ivan Bjerre Damgaard [EMAIL PROTECTED] writes: Quoting Martin Geisler [EMAIL PROTECTED]: .. but this makes viff.test.test_runtime_comp.ActiveToft05GreaterThanEqualTest go into what looks like a never-ending loop?! You you have a better solution, then I'm all ears! :-) What is wrong

[viff-devel] VIFF 0.6 released!

2008-05-28 Thread Martin Geisler
'~GF256(255)' would throw a KeyError, fixed. * Issue 19: Make Runtime.convert_bit_share actively secure. -- Martin Geisler pgpS9DZfN7fkA.pgp Description: PGP signature ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http://lists.viff.dk

Re: [viff-devel] Choice of comparison protocol

2008-06-05 Thread Martin Geisler
install --home=$HOME/opt and then added ~/opt/bin to PATH and ~/opt/lib/python to PYTHONPATH. Move contrib/hgk to ~/opt/bin too and enjoy the 'hg view' extension after you have enabled it. My ~/.hgrc file looks like this: [ui] username = Martin Geisler [EMAIL PROTECTED] [extensions] hgext/hgk

Re: [viff-devel] App for verifing SSH fingerprint

2008-06-05 Thread Martin Geisler
to do with SSH keys. Now i want to automate the above process in a secured manner. How can VIIF help me in this process? what is the mode of communication it uses? VIFF uses normal TLS (SSL) tunnels -- no SSH tunnels in sight :-) -- Martin Geisler

[viff-devel] Mailing list for patches

2008-06-18 Thread Martin Geisler
] -o as described here: http://viff.dk/doc/0.6/development.html#contributing-changes I'll create the list later today or tomorrow unless I hear any objections... -- Martin Geisler ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http

[viff-devel] Async Batching with Twisted: A Walkthrough

2008-06-20 Thread Martin Geisler
the memory usage problems discussed here: http://article.gmane.org/gmane.comp.cryptography.viff.devel/256 -- 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] Two player protocols

2008-06-24 Thread Martin Geisler
this is insecure, but it still shows how one can easily adapt VIFF to the two-player case. -- 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] Paillier based two player runtime (was: [PATCH 0 of 4] Insecure ElGamal based two player runtime)

2008-06-26 Thread Martin Geisler
:) You're right! I first wrote code that used the Paillier code Mikkel had written -- then I realized the problem with the players doing computations in different fields. That was when I switched to ElGamal, only to then realize that it was insecure... -- Martin Geisler

Re: [viff-devel] Paillier based two player runtime

2008-06-27 Thread Martin Geisler
that 160bits is at the same time the size we need for security AND to avoid the overflows in the computation? :) It certainly is! :-) -- Martin Geisler ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http://lists.viff.dk/listinfo.cgi/viff-devel

Re: [viff-devel] Paillier based two player runtime

2008-06-27 Thread Martin Geisler
see that Claudio has sent him an email already! -- 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] [PATCH 0 of 4] Insecure ElGamal based two player runtime

2008-06-27 Thread Martin Geisler
in VIFF will now sort of have to be part of both lists to be updated with everything that is going on in VIFF. What do people think about this? -- Martin Geisler ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http://lists.viff.dk

Re: [viff-devel] Elliptic curves

2008-06-28 Thread Martin Geisler
at the MIRACL library. The problem with this one is that is not open source, it's free just if you use it for fun... Yeah, so that is not usable for VIFF :-( -- Martin Geisler ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http://lists.viff.dk

Re: [viff-devel] [PATCH 0 of 4] Insecure ElGamal based two player runtime

2008-06-29 Thread Martin Geisler
://thread.gmane.org/gmane.comp.cryptography.viff.patches/14 -- 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] [PATCH 0 of 4] Insecure ElGamal based two player runtime

2008-07-04 Thread Martin Geisler
: computational for both players. - modified: computational for P1, statistical in k for P2. Problems: - it doesn't scale for n2 - it might be complicated to implement it in VIFF, given that this is quite asymmetric while VIFF is highly symmetric. -- Martin Geisler

Re: [viff-devel] Compiler transformations

2008-07-11 Thread Martin Geisler
. -- 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] Please test SSL support

2008-07-14 Thread Martin Geisler
Martin Geisler [EMAIL PROTECTED] writes: I fixed Issues 6, 8, and 37 in the weekend: http://tracker.viff.dk/issue6 http://tracker.viff.dk/issue8 http://tracker.viff.dk/issue37 They all have to do with making players more robust in the face of network problems. Please test this too

Re: [viff-devel] Small VIFF language parser

2008-07-15 Thread Martin Geisler
Janus Dam Nielsen [EMAIL PROTECTED] writes: Den 11/07/2008 kl. 22.02 skrev Martin Geisler: Right, good point! We should do that. Maybe a smart compiler could do the necessary deductions automatically? [...] I am not aware of any of-the-shelf technique for this, but it would be a fun

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

2008-07-15 Thread Martin Geisler
of random.py (maybe in /usr/lib/python2.4/random.py). A final thing: if you use IRC, then I'm in #viff on freenode.net. -- Martin Geisler ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http://lists.viff.dk/listinfo.cgi/viff-devel

Re: [viff-devel] Vedr.: Small VIFF language parser

2008-07-15 Thread Martin Geisler
* a == 0? I don't know if those rules will help -- they might just blow up the search space... :-) -- 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] Small VIFF language parser

2008-07-17 Thread Martin Geisler
Janus Dam Nielsen [EMAIL PROTECTED] writes: Den 15/07/2008 kl. 12.16 skrev Martin Geisler: For single expression I guess not, but it should also work for chains of expressions (when possible): x = a * b y = a * c z = x + y If x and y are not used, then z can be computed as a * (b

Re: [viff-devel] Vedr.: Small VIFF language parser

2008-07-17 Thread Martin Geisler
with a good example of such a situation :-) -- 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] Vedr.: Small VIFF language parser

2008-07-17 Thread Martin Geisler
to network round-trips, and those are what we want to minimize. -- 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] Which operations for HSM (Hardware Crypto)

2008-07-18 Thread Martin Geisler
Ivan Bjerre Damgaard [EMAIL PROTECTED] writes: Quoting D. J. Bernstein [EMAIL PROTECTED]: Martin Geisler writes: I would love to build a set of Python bindings for it and see it running in VIFF... :-) Python NaCl is on our essential-items todo list. It'd be great if you have time

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

2008-07-21 Thread Martin Geisler
is another problem we have talked about... -- 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] Which operations for HSM (Hardware Crypto)

2008-07-21 Thread Martin Geisler
-- that is an excellent design goal! -- 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] SMCL security notion

2008-07-21 Thread Martin Geisler
definition in cryptography: http://en.wikipedia.org/wiki/Semantic_security -- 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] SMCL compiler status

2008-07-21 Thread Martin Geisler
want to do in the future. -- 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] [issue44] Update NEWS with info on two player runtime

2008-07-25 Thread Martin Geisler
New submission from Martin Geisler [EMAIL PROTECTED]: The release notes in the NEWS file should be updated with information about the two player runtime found in viff.paillier. -- messages: 130 nosy: mg status: unread title: Update NEWS with info on two player runtime

[viff-devel] [issue45] Documentation for viff.paillier

2008-07-25 Thread Martin Geisler
New submission from Martin Geisler [EMAIL PROTECTED]: The code for the Paillier crypto system needs documentation, as does the runtime based on it. -- messages: 131 nosy: mg status: unread title: Documentation for viff.paillier VIFF Issue Tracker

[viff-devel] [issue47] New mailinglists

2008-07-25 Thread Martin Geisler
New submission from Martin Geisler [EMAIL PROTECTED]: We now have three mailinglists (see http://lists.viff.dk/) but the documentation only mentions viff-devel. -- messages: 133 nosy: mg status: unread title: New mailinglists VIFF Issue Tracker

[viff-devel] [issue46] Doc update needed: players can start in any order

2008-07-25 Thread Martin Geisler
New submission from Martin Geisler [EMAIL PROTECTED]: The players can now be started in any order and the documentation needs to be updated to reflect that. At least the installation guide is outdated. -- messages: 132 nosy: mg status: unread title: Doc update needed: players can start

[viff-devel] [issue49] Test OpenSSL under Mac OS X

2008-07-25 Thread Martin Geisler
New submission from Martin Geisler [EMAIL PROTECTED]: As far as I know nobody has tested the SSL functionality of VIFF since we switched to PyOpenSSL almost two weeks ago (rev facc9f1f0bb1). Please test it and close this bug if it works. -- messages: 135 nosy: mg status: unread title

[viff-devel] [issue48] Test PyOpenSSL under Windows

2008-07-25 Thread Martin Geisler
New submission from Martin Geisler [EMAIL PROTECTED]: As far as I know nobody has tested the SSL functionality of VIFF since we switched to PyOpenSSL almost two weeks ago (rev facc9f1f0bb1). Please test it and close this bug if it works. -- messages: 134 nosy: mg status: unread title

[viff-devel] [issue50] Stop reconnecting after X failed attempts

2008-07-25 Thread Martin Geisler
New submission from Martin Geisler [EMAIL PROTECTED]: Add an option which will make the players stop trying to reconnect after a certain number of attempts. This is will be important for Issue 40 so that we can run a set of players from a script and exit with an error if the network is down

[viff-devel] Why all the bug reports?!

2008-07-25 Thread Martin Geisler
with that. -- 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] [issue55] Speedup for ComparisonToft07Mixin

2008-07-25 Thread Martin Geisler
New submission from Martin Geisler [EMAIL PROTECTED]: In http://article.gmane.org/gmane.comp.cryptography.viff.devel/241 Tomas Toft writes: [...] Nice speedup. It's also possible to do a similar thing for ComparisonToft07Mixin. In the two-fields variation we need the same bit in Zp and Zq

[viff-devel] [issue56] Switch from /doc/latest/foo to /doc/foo

2008-07-28 Thread Martin Geisler
New submission from Martin Geisler [EMAIL PROTECTED]: There are some links on the webpage (and probably also in the documentation) which points to http://viff.dk/doc/latest/ They should be changed to just http://viff.dk/doc/ now since this is where the current version will be from now

Re: [viff-devel] Why all the bug reports?!

2008-07-28 Thread Martin Geisler
Martin Geisler [EMAIL PROTECTED] writes: Because I wanted to remind you guys that there are many low-hanging fruits where you can help... But nobody replied... :-/ I have begun fixing Issue 52: http://tracker.viff.dk/issue52 This means that we now have the latest HTML and API

[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

[viff-devel] [issue58] Remove old warning

2008-07-29 Thread Martin Geisler
New submission from Martin Geisler [EMAIL PROTECTED]: The installation guide says that there are problems with Twisted 8.0.1. But now that Issue 37 is fixed, this warning should be removed. The newest version of Twisted is 8.1.0 and that should be mentioned in the guide. -- keyword

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

[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

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

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

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

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

  1   2   >