[viff-devel] How to structure code with callbacks

2009-03-09 Thread Tord Ingolf Reistad
Hello, I have a problem with how to structure codes with much callback in VIFF. I want to do some stuff with shares, reveal some values, do more calculations with shares, reveal more values, and so on. For illustration purposes, lets say I have a bitwise secret shared value r (r and

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

2009-03-09 Thread Tord Ingolf Reistad
Hello, Continuing on my previous email about how to code things in VIFF. I hereby present the complete test code. It seems my calculations are done at the same time that the reactor is closing down so sometimes my code does not return any printed values. This is a mistake, either in my

[viff-devel] Distributed RSA

2009-03-09 Thread Martin Geisler
Hi Atle and hi list, You might have looked at this paper already, but I was talking with Gert Mikkelsen today about RSA, and he pointed me to a paper with a protocol for distributed generation of RSA keys: Dan Boneh, Matthew K. Franklin: Efficient Generation of Shared RSA Keys (Extended

[viff-devel] [issue79] Specify keysize for generate-config-file.py

2009-03-09 Thread Janus Dam Nielsen
New submission from Janus Dam Nielsen janus.niel...@alexandra.dk: Add a parameter to specify the keysize in the script generate-config- file.py -- assignedto: jdn keyword: simple messages: 308 nosy: jdn, mg status: in-progress title: Specify keysize for generate-config-file.py type:

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

2009-03-09 Thread Martin Geisler
Tord Ingolf Reistad to...@stud.ntnu.no writes: Hi Tord, Please use the list-reply function in your mail program (it might be called reply to all or something like that). I'm sending this reply back on the list. Thank you for the help, with the coding problem. No problem! I am also trying to

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

2009-03-09 Thread Martin Geisler
Tord Ingolf Reistad to...@stud.ntnu.no writes: I just took a closer look at your code -- some comments below :-) #!/usr/bin/python # Copyright 2007, 2008 VIFF Development Team. The year should be 2009 since this is the first year in which this code is released. class Protocol: def

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

2009-03-09 Thread Martin Geisler
Marcel Keller mkel...@cs.au.dk writes: You're talking about this two-threaded solution as if it is something that exists and will solve all our problems... No, for now, it's just an imagination in my mind, a proposal for the next meeting, and a strong feeling that it's the right way to do