Function halo2_proofs::plonk::create_proof_with_engine
source ยท pub fn create_proof_with_engine<'params, Scheme: CommitmentScheme, P: Prover<'params, Scheme>, E: EncodedChallenge<Scheme::Curve>, R: RngCore, T: TranscriptWrite<Scheme::Curve, E>, ConcreteCircuit: Circuit<Scheme::Scalar>, M: MsmAccel<Scheme::Curve>>(
engine: PlonkEngine<Scheme::Curve, M>,
params: &'params Scheme::ParamsProver,
pk: &ProvingKey<Scheme::Curve>,
circuits: &[ConcreteCircuit],
instances: &[Vec<Vec<Scheme::Scalar>>],
rng: R,
transcript: &mut T
) -> Result<(), Error>where
Scheme::Scalar: WithSmallOrderMulGroup<3> + FromUniformBytes<64>,
Expand description
This creates a proof for the provided circuit
when given the public
parameters params
and the proving key ProvingKey
that was
generated previously for the same circuit. The provided instances
are zero-padded internally.