Re: [viff-devel] Asymmetric protocols

2008-01-29 Thread Tord Ingolf Reistad
Martin Geisler wrote: [EMAIL PROTECTED] writes: cut Are there really other problems than sharing (and opening a shared value towards only one party)? I don't think so. All other operations (addition, multiplication, comparison, etc...) are done on variables which represent values in the

Re: [viff-devel] Choice of comparison protocol

2008-05-22 Thread Tord Ingolf Reistad
Hello all, As you are discussing implementing the algorithm from ICITS07, I have improved on that to get a very effective algorithm. For p = 2^l - 1 and using psaudorandom secret sharing. The comparison can be done in 5 rounds and 5l multiplications. The algorithm has never been published,

Re: [viff-devel] Choice of comparison protocol

2008-05-22 Thread Tord Ingolf Reistad
wrote: Hi all Tord Ingolf Reistad wrote: As you are discussing implementing the algorithm from ICITS07, I have improved on that to get a very effective algorithm. For p = 2^l - 1 and using psaudorandom secret sharing. The comparison can be done in 5 rounds and 5l multiplications. The algorithm has

[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] A java implementation of VIFF

2009-08-17 Thread Tord Ingolf Reistad
Hello, As some of you might know I have not programmed that much in VIFF because I am more familiar with C++ and Java than Python as a programming language. Therefore I have now created a Java rival to VIFF. Taking all the good design principles from VIFF and adding some things that VIFF