arnaucube
arnaucube/davinci-paperPublic Self-hosted repository
davinci-paper/v3-pq/figures/src/architecture-delta.mmd
v3-pq/figures/src/architecture-delta.mmdRaw
 1flowchart LR
 2  classDef v2 fill:#f8cecc,stroke:#b85450;
 3  classDef v3 fill:#d5e8d4,stroke:#82b366;
 4  classDef keep fill:#dae8fc,stroke:#6c8ebf;
 5  a1["ElGamal ballots<br/>(BabyJubjub, Shor-breakable)"]:::v2 -->|becomes| b1["Shamir shares + PRF masks<br/>(Goldilocks field)"]:::v3
 6  a2["Groth16 ballot proof<br/>(BN254, trusted setup)"]:::v2 -->|becomes| b2["Plonky3 STARK<br/>(browser WASM, transparent)"]:::v3
 7  a3["DKG / council key ceremony<br/>(shared BabyJubjub key)"]:::v2 -->|becomes| b3["Warden ML-KEM keys<br/>(no shared key, no setup ceremony)"]:::v3
 8  a4["Threshold decryption<br/>+ BSGS search"]:::v2 -->|becomes| b4["θ warden share sums + Lagrange<br/>(exact, no decryption)"]:::v3
 9  a5["Re-encryption of stored ballots<br/>+ refresh sample as cover"]:::v2 -->|becomes| b5["Hidden writes: a revote publishes<br/>nothing about its slot<br/>(no cover needed)"]:::v3
10  a6["ECDSA voter signatures"]:::v2 -->|becomes| b6["Hash-preimage proof inside the STARK,<br/>key from a PQ key map<br/>(CSP credentials: SLH-DSA)"]:::v3
11  k1["Unchanged: census trees, ZisK batch program role,<br/>blob DA, process registry, permissionless sequencers<br/>(state tree re-hashed with Blake3)"]:::keep