Commit Graph
6 Commits
Author SHA1 Message Date
Piotr Dyraga adcb812a08 Do not export internal ThresholdKey functions 2018-05-30 14:48:28 +02:00
Piotr Dyraga e25bc358e8 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.
2018-05-30 14:48:15 +02:00
Piotr Dyraga 9fe64ff57b Comment about G value moved to ThresholdKey
G is no longer a parameter of PublicKey.
2018-05-25 09:58:26 +02:00
Piotr Dyraga 4595f69872 G parameter moved from PublicKey to ThresholdKey
We don't need G for our PublicKey since it's now always equal N+1. It's required by the `ThresholdKey` to compile, so I moved it there. I will investigate if for a threshold Paillier scheme G is really needed in the pkey.
2018-05-24 19:13:29 +02:00
didier amyot b2d17e0eb6 removed dependency to old code 2014-11-29 23:29:34 -08:00
didier amyot 8a9743f08e imported from https://bitbucket.org/ustraca/crypto 2014-11-29 22:40:35 -08:00