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

Method get_encryption_gens

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

Source from the content-addressed store, hash-verified

92 }
93
94 pub fn get_encryption_gens<'a>(
95 &'a self,
96 setup_params: &'a [SetupParams<E>],
97 st_idx: usize,
98 ) -> Result<&'a EncryptionGens<E>, ProofSystemError> {
99 extract_param!(
100 setup_params,
101 &self.encryption_gens,
102 self.encryption_gens_ref,
103 SaverEncryptionGens,
104 IncompatibleSaverSetupParamAtIndex,
105 st_idx
106 )
107 }
108
109 pub fn get_chunked_commitment_gens<'a>(
110 &'a self,

Callers 3

_verifyMethod · 0.80
newMethod · 0.80

Calls

no outgoing calls

Tested by 1