standardize naming

This commit is contained in:
sachaservan committed 2018-08-18 14:54:38 -04:00
1 parent 63e4695b16
commit 970db06efc
3 files changed
+16 -13

No files matched your search

+1
View File
@@ -243,6 +243,7 @@ func (tkg *ThresholdKeyGenerator) createViArray(shares []*big.Int) (viArray []*b
func (tkg *ThresholdKeyGenerator) createSecretKey(i int, share *big.Int, viArray []*big.Int) *ThresholdSecretKey {
ret := new(ThresholdSecretKey)
ret.N = tkg.n
ret.G = new(big.Int).Add(tkg.n, big.NewInt(1))
ret.V = tkg.v
ret.TotalNumberOfDecryptionServers = tkg.TotalNumberOfDecryptionServers