(
&mut self,
challenge: &G::ScalarField,
)
| 89 | } |
| 90 | |
| 91 | pub fn gen_proof_contribution<E: Pairing<G1Affine = G>>( |
| 92 | &mut self, |
| 93 | challenge: &G::ScalarField, |
| 94 | ) -> Result<StatementProof<E>, ProofSystemError> { |
| 95 | Ok(StatementProof::PedersenCommitment( |
| 96 | self.gen_proof_contribution_as_struct(challenge)?, |
| 97 | )) |
| 98 | } |
| 99 | |
| 100 | pub fn gen_proof_contribution_g2<E: Pairing<G2Affine = G>>( |
| 101 | &mut self, |
nothing calls this directly
no test coverage detected