Get the contribution of this protocol towards the challenge, i.e. bytecode of items that will be hashed
(
&self,
revealed_msgs: &BTreeMap<usize, E::ScalarField>,
params: &SignatureParams23G1<E>,
writer: W,
)
| 191 | |
| 192 | /// Get the contribution of this protocol towards the challenge, i.e. bytecode of items that will be hashed |
| 193 | pub fn challenge_contribution<W: Write>( |
| 194 | &self, |
| 195 | revealed_msgs: &BTreeMap<usize, E::ScalarField>, |
| 196 | params: &SignatureParams23G1<E>, |
| 197 | writer: W, |
| 198 | ) -> Result<(), BBSPlusError> { |
| 199 | Self::compute_challenge_contribution( |
| 200 | &self.A_bar, |
| 201 | &self.B_bar, |
| 202 | &self.sc_comm.t, |
| 203 | revealed_msgs, |
| 204 | params, |
| 205 | writer, |
| 206 | ) |
| 207 | } |
| 208 | |
| 209 | /// Generate proof. Post-challenge phase of the protocol. |
| 210 | pub fn gen_proof( |
no outgoing calls