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
Copy file name to clipboardExpand all lines: src/traits.rs
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -83,6 +83,14 @@ pub trait SigmaProtocol {
83
83
fninstance_label(&self) -> implAsRef<[u8]>;
84
84
}
85
85
86
+
87
+
typeTranscript<P> = (
88
+
<PasSigmaProtocol>::Commitment,
89
+
<PasSigmaProtocol>::Challenge,
90
+
<PasSigmaProtocol>::Response,
91
+
);
92
+
93
+
86
94
/// A trait defining the behavior of a Sigma protocol for which simulation of transcripts is necessary.
87
95
///
88
96
/// 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.
0 commit comments