|
@@ -21,6 +21,8 @@ class PrsonaServer : public PrsonaBase {
|
|
|
BGNPublicKey get_bgn_public_key() const;
|
|
|
size_t get_num_clients() const;
|
|
|
size_t get_num_servers() const;
|
|
|
+
|
|
|
+ Twistpoint get_fresh_generator(std::vector<Proof>& pi) const;
|
|
|
|
|
|
// FRESH GENERATOR CALCULATION
|
|
|
Twistpoint add_curr_seed_to_generator(
|
|
@@ -135,6 +137,7 @@ class PrsonaServer : public PrsonaBase {
|
|
|
Scalar nextSeed;
|
|
|
|
|
|
// The actual data, which is collaboratively updated by all servers
|
|
|
+ std::vector<Proof> currentGeneratorProof;
|
|
|
Twistpoint currentFreshGenerator;
|
|
|
std::vector<CurveBipoint> previousVoteTallies;
|
|
|
std::vector<Twistpoint> currentPseudonyms;
|