Re: [viff-devel] Equality protocol : error

2010-04-10 Thread Jonathan Van den Schrieck
Dear Mr. Meldgaard, Thank you for your idea wich is very helpful to me since I actually work with p = 53. Using this is much more efficient ! Regards, Jonathan Le 9 avr. 2010 à 01:10, Sigurd Torkel Meldgaard a écrit : I know this is talking around the problem but: For very small moduli

Re: [viff-devel] Equality protocol : error

2010-04-10 Thread Jonathan Van den Schrieck
ok, my problem is solved, the error came from the config files. I generated new ones and the error was gone. I would like to thank everyone for their help in finding the solution, especially Mr. Keller. Jonathan Le 8 avr. 2010 à 23:34, Marcel Keller a écrit : Hi Jonathan, I can't

Re: [viff-devel] Equality protocol : error

2010-04-08 Thread Jonathan Van den Schrieck
Dear Ivan, Yes I know about that. But 367 is 3 mod 4 so it should be OK. And the existing protocol works with 367 only if the two numbers are not equal. If they are, I got the error mentioned in my first message. If I can solve the error in the existing protocol, I will be able to continue my

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