Trait halo2_proofs::transcript::TranscriptRead
source · pub trait TranscriptRead<C, E>: Transcript<C, E>where
C: CurveAffine,
E: EncodedChallenge<C>,{
// Required methods
fn read_point(&mut self) -> Result<C, Error>;
fn read_scalar(&mut self) -> Result<<C as PrimeCurveAffine>::Scalar, Error>;
}
Expand description
Transcript view from the perspective of a verifier that has access to an input stream of data from the prover to the verifier.
Required Methods§
sourcefn read_point(&mut self) -> Result<C, Error>
fn read_point(&mut self) -> Result<C, Error>
Read a curve point from the prover.
sourcefn read_scalar(&mut self) -> Result<<C as PrimeCurveAffine>::Scalar, Error>
fn read_scalar(&mut self) -> Result<<C as PrimeCurveAffine>::Scalar, Error>
Read a curve scalar from the prover.
Object Safety§
This trait is not object safe.