Get SAVER randomness, ciphertext and proof to reuse for the given statement id
(&mut self, statement_id: &usize)
| 105 | impl<E: Pairing> ProverConfig<E> { |
| 106 | /// Get SAVER randomness, ciphertext and proof to reuse for the given statement id |
| 107 | fn get_saver_proof(&mut self, statement_id: &usize) -> Option<OldSaverProof<E>> { |
| 108 | self.reuse_saver_proofs |
| 109 | .as_mut() |
| 110 | .and_then(|p| p.remove(statement_id)) |
| 111 | } |
| 112 | |
| 113 | /// Get LegoGroth16 randomness and proof to reuse for the given statement id |
| 114 | fn get_legogroth16_proof(&mut self, statement_id: &usize) -> Option<OldLegoGroth16Proof<E>> { |