POST-QUANTUM FIRST (FIPS 204 ML-DSA) · TEPHRA GOSSIP-ABOUT-GOSSIP FINALITY · GEODE KOALABEAR STARK PRIVACY
← SPR Registry · SPR-005 Academic / Custom PQ Research Active (Config-Gated)

Pure-Rust Post-Quantum PVSS Epoch Randomness (SILPVSS2)

Abstract — Pure-Rust (#![forbid(unsafe_code)]) post-quantum publicly verifiable secret sharing implementing Kate et al. C1 with 1024-D NTRU-IBE share encryption, Field256 Shamir shares, and Fiat–Shamir DZK proofs.

Document / Authors
SPR-005 · Silica Protocol Engineering
Updated 2026-11-19 · Consensus & Randomness
Standards & Deployment
Academic / Custom PQ Research
Active (Config-Gated)
Audit & Source Scope
External Audit Pending (Internal Tests & Review)
silica-pqpvss · silica::vrf::pq_pvss

§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

Figure 1 — PQ-PVSS Epoch Lifecycle & Pre-Freeze Adjudication
1. REGISTER NTRU MPK 3,712 B Native sig binding Snapshots MPKs 2. DEAL & DZK Encrypt n shares Fiat–Shamir W(X) SILPVSS2 453 KB 3. ADJUDICATE SILISK01 token check Founded -> drop dealer Forged -> KeyNotBound 4. FREEZE & OPEN Commit dealer root ≥t ShareOpenings 100 B each, SHAKE256 5. FINALIZE Lagrange recover Self-verifying sync Wipe local SILMSK01
Pre-freeze verification (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:

Ring: R_q = Z_q[X] / (X^1024 + 1),  q = 2^29  |  Master Keygen: D_{Z, sigma=512}^1024 + 10-level tower solver
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

Figure 2 — PQ-PVSS Consensus & Local Keystore Formats
Exact Wire Sizes (n = 100, t = 68)
Transcript 453,376 B / 453,477 B
SILPVSS2 Frame
Payload / full framed deal with 4,448 B KEM ciphertexts + DZK W(X)
Committee MPK 3,712 B
MasterPublicKey
Packed NTRU MPK signed under validator native consensus key
Secret Material 16,392 B / 8,200 B
SILMSK01 · SILISK01
Zeroized on drop; stored locally in SILPVKS1 and erased at epoch end
Opening Proof 100 B
ShareOpening
u32_be(slot) || 96 B Share + commitment witness
Finalized randomness and bundles reside under finalized_randomness; ephemeral local_validator/pq_pvss_keystore records never replicate over P2P and are purged on rollover.

§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:

Figure 3 — Per-Validator & Quorum Consensus Path Latencies (n = 100, deg = 67)
Measured in release mode via silica-pqpvss beacon_n100_probe (excluding 1-time 404 ms epoch keygen)
Deal + DZK Proof Generation (Dealer) 21.88 ms
Share Extract + Decrypt (Single Validator) ~5.70 ms (570.26 ms / 100)
Lagrange Threshold Reconstruction (68 Shares) 5.11 ms
Verify All 100 Share Openings 3.11 ms
Per-epoch receiver keypair generation averaged ~404 ms per validator (40,448.14 ms across 100 keys over 102 draws; 2 non-coprime candidates cleanly rejected).

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):

Figure 4 — PQ-PVSS 100-Share Batch Extraction Milestone Progression
Evolution from unhardened draft -> isotropic 1024D + full H^-1 security regression -> zero-alloc Karatsuba & Stage-2 reuse recovery
Initial Pure-Rust Draft (Pre-Isotropic) (keygen_100 = 21.18 s · deal = 28.91 ms) 829.74 ms (8.30 ms/share)
Hardened Isotropic 1024D + Full H^-1 (Regression) (3.5× regression vs draft; keygen_100 = 46.01 s (6.0× slower than final)) 2,895.87 ms (28.96 ms/share)
Zero-Alloc Karatsuba + Stage-2 Reuse (Milestone) (6.0× extract speedup via cached 52-bit H^-1 & scratch buffers) 483.43 ms (4.83 ms/share)
Protocol Production Crate (--release probe) (keygen_100 = 40.45 s (22.8× faster than 920.91 s C-FFI baseline)) 570.26 ms (5.70 ms/share)
Relative to the original C++/NTL FFI prototype (keygen 920.91 s, deal 191.93 ms, verify-all 93.54 ms, reconstruct 54.95 ms), production silica-pqpvss achieves 22.8× faster keygen, 8.8× faster dealing, 30.1× faster opening verification, and 10.8× faster threshold reconstruction.
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 protocol behind PqPvssBeaconConfig::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).

All SPR Specifications ↗