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: &SignatureParamsG1<E>,
writer: W,
)
| 252 | |
| 253 | /// Get the contribution of this protocol towards the challenge, i.e. bytecode of items that will be hashed |
| 254 | pub fn challenge_contribution<W: Write>( |
| 255 | &self, |
| 256 | revealed_msgs: &BTreeMap<usize, E::ScalarField>, |
| 257 | params: &SignatureParamsG1<E>, |
| 258 | writer: W, |
| 259 | ) -> Result<(), BBSPlusError> { |
| 260 | Self::compute_challenge_contribution( |
| 261 | &self.A_prime, |
| 262 | &self.A_bar, |
| 263 | &self.d, |
| 264 | &self.sc_comm_1.t, |
| 265 | &self.sc_comm_2.t, |
| 266 | revealed_msgs, |
| 267 | params, |
| 268 | writer, |
| 269 | ) |
| 270 | } |
| 271 | |
| 272 | /// Generate proof. Post-challenge phase of the protocol. |
| 273 | pub fn gen_proof( |
no outgoing calls
no test coverage detected