pub trait TranscriptWrite<C: CurveAffine, E: EncodedChallenge<C>>: Transcript<C, E> {
// Required methods
fn write_point(&mut self, point: C) -> Result<()>;
fn write_scalar(&mut self, scalar: C::Scalar) -> Result<()>;
}
Expand description
Transcript view from the perspective of a prover that has access to an output stream of messages from the prover to the verifier.
Required Methods§
Sourcefn write_point(&mut self, point: C) -> Result<()>
fn write_point(&mut self, point: C) -> Result<()>
Write a curve point to the proof and the transcript.
Sourcefn write_scalar(&mut self, scalar: C::Scalar) -> Result<()>
fn write_scalar(&mut self, scalar: C::Scalar) -> Result<()>
Write a scalar to the proof and the transcript.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.