(
&self,
index: usize,
)
| 302 | |
| 303 | impl<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 { |