pub async fn create_proof<E, G, C, R>(
circuit: C,
pk: ProvingKey<'_, G>,
gpu: &GpuContext<G>,
rng: &mut R,
) -> Result<Proof<E>>Expand description
Create a new Groth16 proof.
Uses a GpuProvingKey to skip per-proof base uploads and Montgomery
conversion, reusing pre-uploaded GPU buffers across proofs.