Commit Graph
12 Commits
Author SHA1 Message Date
sachaservan 5adb70bc7b rename PrivateKey -> SecretKey 2018-08-18 13:14:21 -04:00
Piotr Dyraga 3394a6136a Check threshold public key bit length 2018-08-08 10:44:28 +02:00
Piotr Dyraga 3c6123c0e3 Accept PubKey bit length when constructing TKey generator
Instead of passing safe prime bit length which is a kind of an
implementation detail, we should pass a public key bit length. Public
key is a Paillier modulus defining plaintext space. This information is
more important than the safe prime value/bit length used under the hood.
2018-08-08 10:44:02 +02:00
Piotr Dyraga 3acf9e6948 Explained how do we handle negative lambda parameter value 2018-06-05 13:11:50 +02:00
Piotr Dyraga ba2c5aaa5f Shortened name of the partial decryption verification function 2018-06-01 21:42:49 +02:00
Piotr Dyraga 9d17da0d33 ThresholdKey renamed to ThresholdPublicKey 2018-06-01 21:36:04 +02:00
Piotr Dyraga b715df420a Removed unneeded return statements from tests 2018-05-30 14:49:29 +02:00
Piotr Dyraga 76f8f63a47 Added test ensuring threshold Paillier is a partially homomorphic system 2018-05-30 14:49:05 +02:00
Piotr Dyraga 915950cb35 Removed unused ThresholdKey.divide function 2018-05-30 14:48:50 +02:00
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
didier amyot 8a9743f08e imported from https://bitbucket.org/ustraca/crypto 2014-11-29 22:40:35 -08:00