Create a new sub-proof that can be verified by someone with the secret key. This doesn't need to be created if `self.proof_of_validity` is set.
(&self)
| 537 | /// Create a new sub-proof that can be verified by someone with the secret key. |
| 538 | /// This doesn't need to be created if `self.proof_of_validity` is set. |
| 539 | pub fn to_keyed_proof(&self) -> KeyedProof<G> { |
| 540 | KeyedProof { |
| 541 | B_0: self.A_hat, |
| 542 | C: self.B_bar, |
| 543 | } |
| 544 | } |
| 545 | |
| 546 | /// Verify Schnorr proofs and proof of knowledge of public key if designated verifier proof |
| 547 | pub fn verify_common( |
no outgoing calls