halo2_base::utils::halo2

Trait ProvingKeyGenerator

Source
pub trait ProvingKeyGenerator {
    // Required method
    fn create_pk_and_pinning(
        self,
        kzg_params: &ParamsKZG<Bn256>,
    ) -> (ProvingKey<G1Affine>, Value);
}
Expand description

Trait for creating a proving key and a pinning for a circuit from minimal circuit configuration data.

Required Methods§

Source

fn create_pk_and_pinning( self, kzg_params: &ParamsKZG<Bn256>, ) -> (ProvingKey<G1Affine>, Value)

Create proving key and pinning.

Implementors§