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
@@ -207,7 +207,7 @@ func TestGenerate(t *testing.T) {
|
||||
if len(tpk.Vi) != 10 {
|
||||
t.Fail()
|
||||
}
|
||||
if tpk.G == nil || tpk.N == nil {
|
||||
if tpk.N == nil {
|
||||
t.Fail()
|
||||
}
|
||||
if tpk.Threshold != 6 || tpk.TotalNumberOfDecryptionServers != 10 {
|
||||
|
||||
Reference in new issue
Block a user