diff options
Diffstat (limited to 'gp-scripts/smc.gp')
-rw-r--r-- | gp-scripts/smc.gp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gp-scripts/smc.gp b/gp-scripts/smc.gp index 2b7e188..f32f5f2 100644 --- a/gp-scripts/smc.gp +++ b/gp-scripts/smc.gp | |||
@@ -17,19 +17,3 @@ smc_hextodec(s:str) = | |||
17 | ret; | 17 | ret; |
18 | } | 18 | } |
19 | 19 | ||
20 | smc_genbid(k:small, bid:small, g)= | ||
21 | { | ||
22 | vector(k,j,g^(bid==j)); | ||
23 | } | ||
24 | |||
25 | smc_genalpha(k:small, b:vec, r:vec, y)= | ||
26 | { | ||
27 | vector(k, j, b[j]*y^r[j]); | ||
28 | } | ||
29 | |||
30 | smc_genbeta(k:small, r:vec, g)= | ||
31 | { | ||
32 | vector(k, j, g^r[j]); | ||
33 | } | ||
34 | |||
35 | |||