chore(zk): add 1 * 64 benches with production CRS

This commit is contained in:
Nicolas Sarlin
2025-12-16 13:08:35 +01:00
committed by Nicolas Sarlin
parent 5f2e7e31f1
commit 312ce494bf
2 changed files with 4 additions and 5 deletions

View File

@@ -33,8 +33,8 @@ impl ProofConfig {
fn default_proof_config() -> Vec<ProofConfig> {
vec![
ProofConfig::new(64usize, &[64usize]),
ProofConfig::new(2048, &[4 * 64, 10 * 64, 2048]),
ProofConfig::new(64, &[64]),
ProofConfig::new(2048, &[64, 4 * 64, 2048]),
ProofConfig::new(4096, &[4096]),
]
}

View File

@@ -683,9 +683,8 @@ async function compactPublicKeyZeroKnowledgeBench() {
// Proof configuration:
let proof_configs = [
{ crs_bit_size: 64, bits_to_encrypt: [64] },
{ crs_bit_size: 640, bits_to_encrypt: [640] },
// 64 * 4 and 64 * 10 are production use-cases
{ crs_bit_size: 2048, bits_to_encrypt: [4 * 64, 10 * 64, 2048] },
// 64 * 4 is a production use-case
{ crs_bit_size: 2048, bits_to_encrypt: [64, 4 * 64, 2048] },
{ crs_bit_size: 4096, bits_to_encrypt: [4096] },
];