MCPcopy Create free account
hub / github.com/docknetwork/crypto / gen_proof_contribution

Method gen_proof_contribution

proof_system/src/sub_protocols/schnorr.rs:91–98  ·  view source on GitHub ↗
(
        &mut self,
        challenge: &G::ScalarField,
    )

Source from the content-addressed store, hash-verified

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,

Callers

nothing calls this directly

Calls 2

PedersenCommitmentClass · 0.85

Tested by

no test coverage detected