|
@@ -714,7 +714,7 @@ bool PrsonaBase::verify_proof_of_added_user(
|
|
|
}
|
|
|
|
|
|
if (!SERVER_IS_MALICIOUS)
|
|
|
- return pi[0].hbc == "PROOF";
|
|
|
+ return true;
|
|
|
|
|
|
Scalar currSeed = pi[0].responseParts[0];
|
|
|
if (serverEncryptedScore !=
|
|
@@ -888,7 +888,7 @@ bool PrsonaBase::verify_valid_permutation_proof(
|
|
|
}
|
|
|
|
|
|
if (!SERVER_IS_MALICIOUS)
|
|
|
- return pi[0].hbc == "PROOF";
|
|
|
+ return true;
|
|
|
|
|
|
Twistpoint g, h;
|
|
|
g = EL_GAMAL_GENERATOR;
|
|
@@ -1097,7 +1097,7 @@ bool PrsonaBase::verify_unbatched_proof_of_reordering(
|
|
|
return false;
|
|
|
|
|
|
if (!SERVER_IS_MALICIOUS)
|
|
|
- return pi[0].hbc == "PROOF";
|
|
|
+ return true;
|
|
|
|
|
|
Twistpoint g = EL_GAMAL_GENERATOR;
|
|
|
Twistpoint h = elGamalBlindGenerator;
|
|
@@ -1265,7 +1265,7 @@ bool PrsonaBase::verify_batched_proof_of_reordering(
|
|
|
return false;
|
|
|
|
|
|
if (!SERVER_IS_MALICIOUS)
|
|
|
- return pi[0].hbc == "PROOF";
|
|
|
+ return true;
|
|
|
|
|
|
Twistpoint g = EL_GAMAL_GENERATOR;
|
|
|
Twistpoint h = elGamalBlindGenerator;
|
|
@@ -1474,7 +1474,7 @@ bool PrsonaBase::verify_unbatched_proof_of_reordering_plus_power(
|
|
|
return false;
|
|
|
|
|
|
if (!SERVER_IS_MALICIOUS)
|
|
|
- return pi[0].hbc == "PROOF";
|
|
|
+ return true;
|
|
|
|
|
|
Twistpoint g = EL_GAMAL_GENERATOR;
|
|
|
Twistpoint h = elGamalBlindGenerator;
|
|
@@ -1708,7 +1708,7 @@ bool PrsonaBase::verify_batched_proof_of_reordering_plus_power(
|
|
|
return false;
|
|
|
|
|
|
if (!SERVER_IS_MALICIOUS)
|
|
|
- return pi[0].hbc == "PROOF";
|
|
|
+ return true;
|
|
|
|
|
|
Twistpoint g = EL_GAMAL_GENERATOR;
|
|
|
Twistpoint h = elGamalBlindGenerator;
|
|
@@ -1980,7 +1980,7 @@ bool PrsonaBase::verify_unbatched_user_tally_proofs(
|
|
|
return false;
|
|
|
|
|
|
if (!SERVER_IS_MALICIOUS)
|
|
|
- return pi[0].hbc == "PROOF";
|
|
|
+ return true;
|
|
|
|
|
|
Twistpoint g = EL_GAMAL_GENERATOR;
|
|
|
Twistpoint h = elGamalBlindGenerator;
|
|
@@ -2325,7 +2325,7 @@ bool PrsonaBase::verify_batched_user_tally_proofs(
|
|
|
return false;
|
|
|
|
|
|
if (!SERVER_IS_MALICIOUS)
|
|
|
- return pi[0].hbc == "PROOF";
|
|
|
+ return true;
|
|
|
|
|
|
Twistpoint g = EL_GAMAL_GENERATOR;
|
|
|
Twistpoint h = elGamalBlindGenerator;
|
|
@@ -2558,7 +2558,7 @@ bool PrsonaBase::verify_valid_vote_row_proof(
|
|
|
return false;
|
|
|
|
|
|
if (!SERVER_IS_MALICIOUS)
|
|
|
- return pi[0].hbc == "PROOF";
|
|
|
+ return true;
|
|
|
|
|
|
Scalar comparison = pi[0].responseParts[0];
|
|
|
|
|
@@ -2588,7 +2588,7 @@ bool PrsonaBase::verify_valid_vote_matrix_proof(
|
|
|
return false;
|
|
|
|
|
|
if (!SERVER_IS_MALICIOUS)
|
|
|
- return pi[0].hbc == "PROOF";
|
|
|
+ return true;
|
|
|
|
|
|
Scalar comparison = pi[0].responseParts[0];
|
|
|
|
|
@@ -2619,7 +2619,7 @@ bool PrsonaBase::verify_valid_user_tally_proof(
|
|
|
return false;
|
|
|
|
|
|
if (!SERVER_IS_MALICIOUS)
|
|
|
- return pi[0].hbc == "PROOF";
|
|
|
+ return true;
|
|
|
|
|
|
Scalar comparison = pi[0].responseParts[0];
|
|
|
|
|
@@ -2648,7 +2648,7 @@ bool PrsonaBase::verify_valid_server_tally_proof(
|
|
|
return false;
|
|
|
|
|
|
if (!SERVER_IS_MALICIOUS)
|
|
|
- return pi[0].hbc == "PROOF";
|
|
|
+ return true;
|
|
|
|
|
|
Scalar comparison = pi[0].responseParts[0];
|
|
|
|
|
@@ -2677,7 +2677,7 @@ bool PrsonaBase::verify_valid_pseudonyms_proof(
|
|
|
return false;
|
|
|
|
|
|
if (!SERVER_IS_MALICIOUS)
|
|
|
- return pi[0].hbc == "PROOF";
|
|
|
+ return true;
|
|
|
|
|
|
Scalar comparison = pi[0].responseParts[0];
|
|
|
|