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

Method get_chunked_commitment_gens

proof_system/src/statement/saver.rs:109–122  ·  view source on GitHub ↗
(
        &'a self,
        setup_params: &'a [SetupParams<E>],
        st_idx: usize,
    )

Source from the content-addressed store, hash-verified

107 }
108
109 pub fn get_chunked_commitment_gens<'a>(
110 &'a self,
111 setup_params: &'a [SetupParams<E>],
112 st_idx: usize,
113 ) -> Result<&'a ChunkedCommitmentGens<E::G1Affine>, ProofSystemError> {
114 extract_param!(
115 setup_params,
116 &self.chunked_commitment_gens,
117 self.chunked_commitment_gens_ref,
118 SaverCommitmentGens,
119 IncompatibleSaverSetupParamAtIndex,
120 st_idx
121 )
122 }
123
124 pub fn get_encryption_key<'a>(
125 &'a self,

Callers 3

_verifyMethod · 0.80
newMethod · 0.80

Calls

no outgoing calls

Tested by 1