(
&'a self,
setup_params: &'a [SetupParams<E>],
st_idx: usize,
)
| 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, |
no outgoing calls