[viff-devel] The function shamir_share

Håvard Vegge havardv at stud.ntnu.no
Mon Feb 9 01:13:51 PST 2009


Hi!

In the following code line the variable ra1 from node 1, 2 and 3 is 
assigned to r1, r2 and r3, respectively.
r1, r2, r3 = runtime.shamir_share([1, 2, 3], Zp, self.ra1)

Is it possible that just node 1 have a variable ra1 to share? In my mind 
it would have looked like this:
r1 = runtime.shamir_share([1], Zp, self.ra1)
Shouldn't such a scenario be possible to achieve?

Håvard


More information about the viff-devel mailing list