§1 · Eliminating Last-Revealer Bias Without Elliptic Pairings
In commit-and-reveal beacons without verifiable share recovery, the final revealer can compute the output locally once t − 1 shares appear and selectively withhold its opening whenever the result is unfavorable. Classical chains rely on pairing-based threshold BLS or bilinear PVSS—primitives broken by Shor’s algorithm.
Before writing Silica’s clean-room, pure-Rust crate (silica-pqpvss, #![forbid(unsafe_code)], zero C-FFI), we screened seven academic post-quantum PVSS proposals against concrete n = 100 consensus latency and bandwidth limits:
| Candidate Family | Assumed Model / Wire Profile | Architectural Disposition & Screening Verdict |
|---|---|---|
| Kate et al. C1 (NTRU + Shamir + DZK) (ePrint 2026/813) | 4.4 MB in paper at n = 1,024;453,376 B at n = 100, t = 68 | Selected & Implemented in Pure Rust. Compact dealer transcript, fast Lagrange recovery (5.11 ms), and non-interactive DZK proof without heavy generic SNARK circuits. Replaced original CeCILL-2.1 C-FFI dependency entirely. |
| Standard-Model LWE PVSS (Pham et al.) | Gigabyte-scale zero-knowledge transcripts | Rejected. Prohibitive multi-hundred-MB / GB block propagation footprint. |
| GHL22 Lattice PVSS | Classical DDH / mixed pairing comparison | Rejected. Classical hardness assumptions unsuitable for post-quantum genesis. |
| PiVer-PQ & Unbuilt Variants | VSS-first (secret recovery only) or abstract-only specs | Rejected. Lacks drop-in non-interactive PVSS transcript verification or lacks reproducible algebraic bounds. |
| ML-KEM + General STARK PVSS | Prover circuit over 100 ciphertexts | Deferred. Heavy per-dealer STARK proving overhead on every epoch relative to direct algebraic NTRU DZK checks. |
§2 · Five-Phase Epoch Ceremony & Pre-Freeze Adjudication Gate
verify_deal_pre_freeze) ejects cheating dealers before freezing surviving commitments; fewer than min_dealers fails closed cleanly (RandomnessStatus::Failed), and lagging peers catch up via self-verifying verify_authenticated_for_sync bundles.
§3 · Cryptographic Ring, DZK Equations & Domain Separation
The identity-based NTRU KEM and Shamir threshold layer share no state with validator transaction signing, and bind every transcript hash strictly to committee membership and epoch parameters via null-terminated SHAKE256 domains:
Extraction Norm Bound: ||(s_1, s_2)||_2 ≤ Gamma_key = 3,120,000 | Shamir Field: F_p, p = 2^255 - 19
DZK Challenge: ch = H(context, dealer_id, roster_commitment, threshold, n, csh, cpt) ∈ F_p
Blind Polynomial Opening: W(X) = B(X) - ch * f(X) (degree < t), checked against share commitments
Domains: SILICA-RAND04-PVSS-{CSH, CPT, DZK, ID, ROSTER, PURPOSE-SEED}-v1\0
Each validator identity polynomial derives uniformly across all 1,024 coefficients via counter-mode SHAKE256 (derive_id). Public transcript commitments csh and cpt prevent cross-committee replay, swapped share indices, or cherry-picked threshold subsets.
§4 · Canonical Binary Artifacts & Keystore Isolation
§5 · Release Benchmarks (n = 100, threshold = 68) & Negative Fault Corpus
Measured directly in --release via beacon_n100_probe using real 1024-D NTRU keys and full SILPVSS2 serialization:
Hardening & Implementation Milestone Matrix (n = 100, t = 68)
The production silica-pqpvss crate reflects four measured engineering states progressing from initial C++/NTL FFI integration through cryptographic key-distribution hardening to zero-allocation algebraic optimization (detailed narrative in the companion engineering post):
| Milestone | Keygen (100 Keys) | Deal + DZK | Extract (100 Shares) | Verify All / Reconstruct |
|---|---|---|---|---|
| 1. Initial C++/NTL FFI Baseline | 920.91 s (9.21 s/key) | 191.93 ms | 125.41 s held (~24 ms warm) | 93.54 ms / 54.95 ms |
| 2. Initial Clean-Room Pure Rust | 21.18 s (211.8 ms/key) | 28.91 ms | 829.74 ms (8.30 ms/share) | 3.43 ms / 5.94 ms |
3. Isotropic 1024D + Full H^-1 Hardening | 46.01 s (460.1 ms/key) | 27.79 ms | 2,895.87 ms (~3.5× regression) | 3.44 ms / 6.02 ms |
| 4. Zero-Alloc Karatsuba + Stage-2 Reuse | 45.66 s → 40.45 s prod | 22.20 ms → 21.88 ms | 483.43 ms → 570.26 ms prod | 3.11 ms / 5.11 ms |
| Adversarial Fault / Forgery Vector | Rejected Condition | Enforced Response |
|---|---|---|
| Duplicate Share Slot in Reconstruction | Two openings referencing same index | Fails closed (DuplicateIndex) prior to Lagrange interpolation |
| Tampered Deal Polynomial / Transcript | Modified ciphertext or DZK commitment | CshMismatch / CptMismatch ejects dishonest dealer pre-freeze |
| Unbound Extraction Complaint | Dishonest validator submits wrong extraction token | Fails verification cleanly (KeyNotBound); dealer remains in quorum |
| Constant-Challenge Algebraic Forgery | Pinned DZK challenge ch attempt | Blocked by canonical roster_commitment + transcript hash binding |
§6 · Security Disclosure, Statement of Work & Verification
- Academic Parameter Margin: Implements Kate et al. C1 with
N = 1024,q = 2^29(~110-bit estimated lattice security margin). Independent constant-time review of Gaussian rejection loops, tower extraction precision, and higher-q parameter upgrades remain open before disabling the coordinator config gate. - Activation Boundary: Integrated cleanly in
protocolbehindPqPvssBeaconConfig::enabled(disabled peers neither serve nor accept PQ-PVSS sync proofs); ingress applies strict per-peer wire rate limits.
| Statement of Work Deliverable | Status | Verification Evidence |
|---|---|---|
Pure-Rust #![forbid(unsafe_code)] NTRU IB-KEM + DZK (silica-pqpvss) | Delivered | cargo test -p silica-pqpvss passes 98/98 tests (97 unit + 1 full n = 100 e2e) |
| 4-Node ABFT Integration, Pre-Freeze Gate, Restart Reload & Lag Sync | Delivered | cargo test --all-features --lib vrf::pq_pvss::tests passes 19/19 tests (11.56 s) |
Constant-Time Gaussian Extraction Certification & q > 2^29 Study | Open / Gated | Required before uncapped mainnet deployment outside feature gate |
References: Kate, Bacho, et al., Post-Quantum Publicly Verifiable Secret Sharing via NTRU (IACR ePrint 2026/813); Ducas, Lyubashevsky & Prest, Efficient Identity-Based Encryption over NTRU Lattices (ASIACRYPT 2014 / DLP14).