[viff-devel] [issue80] Broadcast

2009-03-10 Thread Janus Dam Nielsen
New submission from Janus Dam Nielsen : I would like to see a broadcast method in the Runtime class. The purpose of the broadcast method should be to distribute a public value among all parties (or some subset of parties). A case: All parties in a computation needs to read a value from standa

Re: [viff-devel] [issue80] Broadcast

2009-03-10 Thread Ivan Bjerre Damgård
It can definitely be useful to have a broadcast method, for instance to complete the implementation of the asynchronous maliciously secure protocol, we will need broadcast. But one needs to be careful about what kind of security we want. There is a whole jungle of protocols, depending on wh

Re: [viff-devel] [issue80] Broadcast

2009-03-10 Thread Mikkel Krøigård
Citat af Ivan Bjerre Damgård : It can definitely be useful to have a broadcast method, for instance to complete the implementation of the asynchronous maliciously secure protocol, we will need broadcast. But one needs to be careful about what kind of security we want. There is a whole jun

Re: [viff-devel] [issue80] Broadcast

2009-03-10 Thread Janus Dam Nielsen
In the simple case I want to shout out a number to everybody, even somebody who is eavesdropping. -- Janus Den 10/03/2009 kl. 12.23 skrev Ivan Bjerre Damgård: It can definitely be useful to have a broadcast method, for instance to complete the implementation of the asynchronous malicious

Re: [viff-devel] [issue80] Broadcast

2009-03-10 Thread Ivan Bjerre Damgård
Quoting Janus Dam Nielsen : In the simple case I want to shout out a number to everybody, even somebody who is eavesdropping. But secrecy of what you shout is not the real problem. The problem is to make sure everyone agrees on what was said. This is not obvious in the case where people m

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

2009-03-10 Thread Marcel Keller
I think we would get the same result if we started a LoopingCall that executes process_deferred_queue with an interval of, say, 100 ms: http://twistedmatrix.com/documents/8.2.0/api/twisted.internet.task.LoopingCall.html This should work since the runUntilCurrent method runs through the waitin

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

2009-03-10 Thread Ivan Bjerre Damgård
Marcel, I just wanted to say that I think it would be great if you would implement a version of your proposed two-threaded solution. I do not have a firm grasp of all the programming details, but it does seem that the overall idea is converging, and that some time soon the best way to jud

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

2009-03-10 Thread Marcel Keller
Hi Ivan, I just wanted to say that I think it would be great if you would implement a version of your proposed two-threaded solution. I do not have a firm grasp of all the programming details, but it does seem that the overall idea is converging, and that some time soon the best way to judge