G parameter removed from ThresholdKey
G _MUST_ be always n+1 to make the threshold encryption algorithm safe. We assume G=n+1 both for standard and threshold version.
This commit is contained in:
5 files changed
+4
-5
No files matched your search
@@ -224,7 +224,6 @@ func TestDecryption(t *testing.T) {
|
||||
tk.Threshold = 2
|
||||
tk.TotalNumberOfDecryptionServers = 2
|
||||
tk.N = b(637753)
|
||||
tk.G = b(637754)
|
||||
tk.V = b(70661107826)
|
||||
if msg, err := tk.CombinePartialDecryptions([]*PartialDecryption{share1, share2}); err != nil {
|
||||
t.Error(err)
|
||||
|
||||
Reference in new issue
Block a user