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

Method get_schnorr_response_for_message

proof_system/src/statement_proof.rs:304–309  ·  view source on GitHub ↗
(
        &self,
        index: usize,
    )

Source from the content-addressed store, hash-verified

302
303impl<E: Pairing> R1CSLegoGroth16Proof<E> {
304 pub fn get_schnorr_response_for_message(
305 &self,
306 index: usize,
307 ) -> Result<&E::ScalarField, ProofSystemError> {
308 self.sp.response.get_response(index).map_err(|e| e.into())
309 }
310
311 pub fn for_aggregation(&self) -> R1CSLegoGroth16ProofWhenAggregatingSnarks<E> {
312 R1CSLegoGroth16ProofWhenAggregatingSnarks {

Callers 1

_verifyMethod · 0.80

Calls 1

get_responseMethod · 0.45

Tested by

no test coverage detected