pub fn keygen_pk2<'params, C, P, ConcreteCircuit>(
params: &P,
circuit: &ConcreteCircuit,
compress_selectors: bool,
) -> Result<ProvingKey<C>, Error>where
C: CurveAffine,
C::Scalar: FromUniformBytes<64>,
P: Params<'params, C> + Sync,
ConcreteCircuit: Circuit<C::Scalar>,
Expand description
Generate a ProvingKey
from an instance of Circuit
. VerifyingKey
is generated in the process.