pub fn batch_verify_with_rng<const FULL_ROUNDS: usize, G, EFqSponge, EFrSponge, OpeningProof: OpenProof<G, FULL_ROUNDS>, RNG: RngCore + CryptoRng>(
group_map: &G::Map,
proofs: &[Context<'_, FULL_ROUNDS, G, OpeningProof, OpeningProof::SRS>],
rng: &mut RNG,
) -> Result<()>where
G: KimchiCurve<FULL_ROUNDS>,
G::BaseField: PrimeField,
EFqSponge: Clone + FqSponge<G::BaseField, G, G::ScalarField, FULL_ROUNDS>,
EFrSponge: FrSponge<G::ScalarField> + From<&'static ArithmeticSpongeParams<G::ScalarField, FULL_ROUNDS>>,Expand description
This function verifies the batch of zk-proofs with an explicit RNG. proofs: vector of Plonk proofs rng: random number generator RETURN: verification status
This is the no_std-compatible version of batch_verify.
ยงErrors
Will give error if srs of proof is invalid or verify process fails.