Re: [viff-devel] Equality protocol : error

2010-04-08 Thread Sigurd Torkel Meldgaard
I know this is talking around the problem but: For very small moduli like yours, another protocol for equality is actually simpler, better (no risk of failing) and faster (I guess): raise (a-b) to n-1 (with square and multiply), and if this difference was 0 you will get 0, otherwise you will get

Re: [viff-devel] viff 0.7.1 question

2009-10-21 Thread Sigurd Torkel Meldgaard
Hi, I hope this question is not a bother to you. No, not at all I was trying to test viff-0.7.1, as I executed generate-config-files.py, I got the error ¨ImportError: No module named viff.config¨. Im not sure how to fix this problem. Most likely viff is not yet on your PYTHONPATH

Re: [viff-devel] Commit messages

2009-10-19 Thread Sigurd Torkel Meldgaard
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 be looked up. Hi guys, I made a bunch of cleanup

Re: [viff-devel] Importing shares into VIFF

2009-03-25 Thread Sigurd Torkel Meldgaard
The simple_share_value needs to be converted to a field-element (reduced modulo P) m = Share(runtime, Zp, Zp(simple_share_value)) Should work - Sigurd On Wed, Mar 25, 2009 at 1:55 PM, Håvard Vegge hava...@stud.ntnu.no wrote: Hello! In my quest for using VIFF in a web application scenario, I

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

2008-12-27 Thread Sigurd Torkel Meldgaard
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/ ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk

[viff-devel] Benchmarks on a mac

2008-12-10 Thread Sigurd Torkel Meldgaard
Here is a transcript of my profiling run. I disabled ssl, because I had some trouble with the keys, hope that does not matter too much. sigurdmeldgaard$ python benchmark.py --profile --no-ssl -c 1 player-1.ini Seeding random generator with random seed 9520 Using field elements (65 bit