mirror of
https://github.com/zama-ai/tfhe-rs.git
synced 2026-01-08 22:28:01 -05:00
chore(zk): add 1 * 64 benches with production CRS
This commit is contained in:
committed by
Nicolas Sarlin
parent
5f2e7e31f1
commit
312ce494bf
@@ -33,8 +33,8 @@ impl ProofConfig {
|
|||||||
|
|
||||||
fn default_proof_config() -> Vec<ProofConfig> {
|
fn default_proof_config() -> Vec<ProofConfig> {
|
||||||
vec![
|
vec![
|
||||||
ProofConfig::new(64usize, &[64usize]),
|
ProofConfig::new(64, &[64]),
|
||||||
ProofConfig::new(2048, &[4 * 64, 10 * 64, 2048]),
|
ProofConfig::new(2048, &[64, 4 * 64, 2048]),
|
||||||
ProofConfig::new(4096, &[4096]),
|
ProofConfig::new(4096, &[4096]),
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -683,9 +683,8 @@ async function compactPublicKeyZeroKnowledgeBench() {
|
|||||||
// Proof configuration:
|
// Proof configuration:
|
||||||
let proof_configs = [
|
let proof_configs = [
|
||||||
{ crs_bit_size: 64, bits_to_encrypt: [64] },
|
{ crs_bit_size: 64, bits_to_encrypt: [64] },
|
||||||
{ crs_bit_size: 640, bits_to_encrypt: [640] },
|
// 64 * 4 is a production use-case
|
||||||
// 64 * 4 and 64 * 10 are production use-cases
|
{ crs_bit_size: 2048, bits_to_encrypt: [64, 4 * 64, 2048] },
|
||||||
{ crs_bit_size: 2048, bits_to_encrypt: [4 * 64, 10 * 64, 2048] },
|
|
||||||
{ crs_bit_size: 4096, bits_to_encrypt: [4096] },
|
{ crs_bit_size: 4096, bits_to_encrypt: [4096] },
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user