Trait ark_crypto_primitives::CircuitSpecificSetupSNARK [−][src]
A SNARK with (only) circuit-specific setup.
Provided methods
pub fn setup<C, R>(
circuit: C,
rng: &mut R
) -> Result<(Self::ProvingKey, Self::VerifyingKey), Self::Error> where
C: ConstraintSynthesizer<F>,
R: RngCore + CryptoRng,
[src]
circuit: C,
rng: &mut R
) -> Result<(Self::ProvingKey, Self::VerifyingKey), Self::Error> where
C: ConstraintSynthesizer<F>,
R: RngCore + CryptoRng,
The setup algorithm for circuit-specific SNARKs. By default, this
just invokes <Self as SNARK<F>>::circuit_specific_setup(...)
.