§1 · Problem Statement & Dual-Signature Trade-Space
Classical elliptic-curve signatures (ECDSA, Ed25519, BLS12-381) expose public keys upon account spending or validator quorum signing, allowing a cryptographically relevant quantum computer running Shor’s algorithm to forge transaction spends and consensus certificates. Eliminating elliptic-curve authority at genesis closes quantum discrete-logarithm recovery, but confronts a fundamental physical trade-off between signature wire footprint and prover/verifier CPU time:
- Every consensus gossip event, peer identity handshake, finality quorum certificate, and state checkpoint carries a signature, multiplying wire footprint across committee size n and round throughput.
- Module-Lattice ML-DSA-87 (NIST FIPS 204 Category 5) provides finalized standardization and fast signing, but carries 4,627-byte signatures and 2,592-byte public keys.
- Structured lattice FN-DSA-1024 (Falcon-1024, Draft NIST FIPS 206 / PNIST) shrinks signatures by 3.61× to 1,280 bytes (and public keys to 1,793 bytes) while cutting single-signature verification below 25 µs, at the cost of delicate NTRU Gaussian sampling that historically used floating-point arithmetic.
§2 · Post-Quantum Signature Candidate Screening Matrix
Before committing Silica’s consensus layer and account registry to ML-DSA and FN-DSA-1024, the architecture team benchmarked alternative compact post-quantum signature families—structured multivariate quadratic schemes (SNOVA, MAYO) and compressed isogeny signatures (SQIsign-III)—against our TPS and validator quorum bandwidth targets.
| Candidate Family | Public Key | Signature | Observed Sign / Verify | Architectural Disposition & Rejection Rationale |
|---|---|---|---|---|
| ML-DSA-44 / 65 / 87 (NIST FIPS 204) | 1,312 / 1,952 / 2,592 B | 2,420 / 3,309 / 4,627 B | 1.02–1.51 ms sign 209–407 µs verify | Selected (Accounts Default & Quorum Option). Standardized, fast signing, supports deterministic ml-dsa-bip39 mnemonic wallet derivation. |
| FN-DSA-1024 (Draft FIPS 206 / PNIST) | 1,793 B | 1,280 B | 560.6 µs sign 24.5 µs verify | Selected (Active Consensus & Opt-In Accounts). Best combined balance of 1.28 KB compact wire format, 16.4× faster verify vs. ML-DSA-87, and clean STARK/PCS archive compatibility (SPR-002). |
| MAYO-3 (Oil-and-Vinegar) | 2,986 B | 681 B | 8.1M–23.2M sign cycles 9.8M verify (2.31 ms p50) | Held / Deferred. Halves signature size vs. FN-DSA-1024, but 2,986 B public keys bloat multi-party checkpoints and 2.31 ms verify is ~94× slower than FN-DSA-1024. |
| SNOVA III-S / III-B / III-K | 2,032 / 1,416 / 912 B | 456 / 532 / 688 B | 38.3–43.5M sign cycles 14.2–22.5M verify cycles | Rejected for L1 Consensus. Signing latency (~38–44 Mcycles) is ~70–80× heavier than FN-DSA-1024 and verification is ~580–900× slower per core. |
| SQIsign-III (Quaternion Isogenies) | 129 B | 306 B (269 B comp.) | 490.71M sign cycles 38.74M verify cycles | Rejected. Signing costs ~12× SNOVA and ~60× MAYO, keygen takes 183.24 Mcycles, reference paths are variable-time and non-SUF-CMA, and quaternion-isogeny hardness lacks FIPS consensus maturity. |
§3 · Genesis & Domain Policy Separation
Supporting both FIPS 204 and Draft FIPS 206 requires strict boundary isolation so an optional profile can never silently downgrade consensus authority or permit cross-domain signature replay. Neither layer implements an OR-fallback ladder.
§4 · Deterministic Fixed-Point F13 Arithmetic
Classical Falcon reference implementations evaluate Fast Fourier sampling and discrete Gaussian steps over IEEE-754 f64 floating-point arithmetic. Differences in fused multiply-add (FMA) instructions, CPU rounding units, or compiler optimization passes can trigger cross-platform divergence or secret-dependent microarchitectural timing leakage.
Silica’s fixed-point FN-DSA signer enforces integer-only F13 arithmetic with zero floating-point fallback:
- Eager NTRU Basis Validation: On key import and deserialization, constructors verify exact integer NTRU determinant equations and public-key-hash trailers before allocating any signing workspace.
- Fail-Closed Signer Caches: Prepared F13 signing trees run under mutex guards. Algorithm mutations, key mismatches, or poisoned locks return explicit errors instead of silently switching signers.
- Zeroized Secret Lifecycle: Secret buffers are explicitly cleared on import failure and
Dropto minimize residual heap exposure in Rust-owned memory (while conservatively not asserting hardware constant-time certification). - No Seed Derivation / OS-Random Keygen Only: Unlike
ml-dsa-bip39deterministic mnemonics, FN-DSA-1024 restricts generation to fresh OS entropy (SignatureAlgorithm::seed_size() == None) to preserve rejection-sampling independence across basis draws.
Integer Kernel Evolution: Avoiding Soft-Float & Naive i128 Penalties
Switching off IEEE-754 f64 floats does not hit integer-heavy Gaussian sampling (~75% of sign runtime); the performance penalty concentrates inside FFT/iFFT butterfly algebra. Benchmarking intermediate integer kernels quantified why compiler soft-float emulation and naive checked i128 paths were replaced by compact 64-bit integer kernels:
- Soft-Float Wall Eliminated: Portable soft-float emulation (
no AVX2/SSE2) costs 4,108.1 µs for Falcon-1024 signing (~16.3× slower than AVX2f64at 252.2 µs). Moving to fixed-point integer arithmetic recovers a 4.7× speedup over soft-float while preserving cross-CPU bit-exactness. - Checked
i128vs. Compacti64FFT Kernel: On n = 512 radix-2 kernels, a checkedi128FFT path measured 35.2 µs (8.2× slower thanf64at 4.3 µs), whereas ani64-word kernel using single64×64→128widening multiplies dropped runtime 3.0× to 11.8 µs (2.7× vs.f64) while delivering 5–14 bits higher numerical precision across Gram, ffLDL, and target steps (MSE2^-42..2^-61vs.2^-32..2^-37forf64).
§5 · Measured Performance & Wire Amortization
All timings below were measured on the current protocol codebase compiled with opt-level = 3 using generated validator keys and canonical content-derived transaction digests:
§6 · Security Disclosure, Statement of Work & Verification
- Standards Standing:
ML-DSA-44/65/87implements finalized NIST FIPS 204 parameters.FN-DSA-1024tracks Draft NIST FIPS 206 (PNIST) prior to final NIST publication. - Audit & Side-Channel Boundary: While the fixed-point F13 implementation eliminates IEEE-754 floating-point divergence, independent external constant-time profiling (dudect / microarchitectural leak testing) and third-party cryptanalytic certification remain open prior to uncapped mainnet value.
- Non-Entropy Invariant: Signatures are randomized authentication proofs only. Signing nonces can be resampled by the signer, so consensus never treats ML-DSA or FN-DSA outputs as VRF randomness.
| Statement of Work Deliverable | Status | Verification Evidence |
|---|---|---|
Dual-Policy Genesis Isolation & Account Registry (CF_ACCOUNT_OWNERS) | Delivered | Strict domain contexts (SILICA_NATIVE_AUTH_FALCON1024_0_4_TESTNET_V1, SILICA_CHERT_TX_TESTNET_V1), zero fallback across consensus peers |
| Integer-Only Fixed-Point F13 FN-DSA-1024 Signer & Determinant Validation | Delivered | fn_dsa_wire_benchmark 1/1 pass (0.06 s); full workspace cargo check --all-features --bins --tests exits 0 |
| FIPS 204 ML-DSA-44/65/87 Wire & Multi-Output Batch Amortization | Delivered | pq_signature_wire_benchmark 2/2 pass (0.11 s); 9.45 B/output at 256-output batch |
| External Constant-Time Hardware Side-Channel Audit & Final FIPS 206 Diff | Open / Gated | Scheduled external security audit prior to removing PNIST classification |
References: NIST FIPS 204 (Module-Lattice-Based Digital Signature Standard); NIST Draft FIPS 206 (FN-DSA / Falcon); Fouque et al., Falcon: Fast-Fourier Lattice-Based Compact Signatures over NTRU; Pornin, New Efficient, Constant-Time Implementations of Falcon (IACR ePrint 2019/893).