viff

changeset 632:c4f413f47784

Corrected use of shamir_share in example.
author Martin Geisler <mg@daimi.au.dk>
date Fri, 04 Apr 2008 10:34:07 +0200
parents 979fbf411c6e
children 6581d7c7bc99
files viff/runtime.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/viff/runtime.py	Fri Apr 04 10:31:19 2008 +0200
     1.2 +++ b/viff/runtime.py	Fri Apr 04 10:34:07 2008 +0200
     1.3 @@ -1086,7 +1086,7 @@
     1.4      code like this::
     1.5  
     1.6          def protocol(runtime):
     1.7 -            a, b, c = runtime.shamir_share(input)
     1.8 +            a, b, c = runtime.shamir_share([1, 2, 3], Zp, input)
     1.9  
    1.10              a = runtime.open(a)
    1.11              b = runtime.open(b)