You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(composition): implement serialization tests for AND/OR proofs
- test: add serialization and deserialization tests for AND/OR composition proofs using SchnorrProtocol
- refactor: reorganize Sage test vectors into a consistent list for improved automated verification
/// A trait defining the behavior of a Sigma protocol for which simulation of transcriptions is necessary.
131
+
/// A trait defining the behavior of a Sigma protocol for which simulation of transcripts is necessary.
132
132
///
133
-
/// All Sigma protocols can technically simulate a valid transcription, but this mostly serve to prove the security of the protocol and is not used in the real protocol execution.
133
+
/// All Sigma protocols can technically simulate a valid transcript, but this mostly serve to prove the security of the protocol and is not used in the real protocol execution.
134
134
/// However, some protocols (like OR protocols that prove the truth of one-out-of-two statements) require them during for the real execution.
135
135
///
136
136
/// ## Minimal Implementation
137
137
/// Types implementing `SigmaProtocolSimulator` must define:
138
138
/// - `simulate_proof`
139
-
/// - `simulate_transcription`
139
+
/// - `simulate_transcript`
140
140
pubtraitSigmaProtocolSimulator:SigmaProtocol{
141
-
/// Simulates a protocol transcription given a challenge.
141
+
/// Simulates a protocol transcript given a challenge.
142
142
///
143
143
/// This serves to create zero-knowledge simulations without access to a witness.
0 commit comments