POST-QUANTUM FIRST (FIPS 204 ML-DSA) · TEPHRA GOSSIP-ABOUT-GOSSIP FINALITY · GEODE KOALABEAR STARK PRIVACY
← Back to Engineering Blog · Post-Quantum Signatures NIST FIPS 204 · Draft FIPS 206 (PNIST)

Deterministic FN-DSA-1024 Signatures & Aerie STARK Archive Compaction

Why Silica pairs FIPS 204 ML-DSA with deterministic fixed-point F13 FN-DSA-1024 signing and offline Aerie STARK compaction, current standards posture, and measured CPU/wire benchmarks.

Silica Engineering · November 19, 2026 · 7 min read · SPR-001SPR-002

What We Built & Why

Standardizing on post-quantum authentication removes elliptic-curve exposure to Shor’s algorithm, but introduces concrete bandwidth and verification costs. In a high-throughput DAG protocol where every Tephra event, peer handshake, quorum vote, and state checkpoint carries a signature, signature and public-key byte widths directly govern gossip fanout, RocksDB write amplification, and cold replay time.

Silica supports two lattice signature families with strict cryptographic boundaries:

  • ML-DSA-44 / 65 / 87 (NIST FIPS 204): Standardized lattice signatures used for general user accounts, deterministic BIP39 key recovery, and explicit ML-DSA network configurations.
  • FN-DSA-1024 / Falcon-1024 (Draft FIPS 206 / PNIST): Compact 1,280-byte lattice signatures with 24.5 µs verification, selected for active validator consensus authority and opt-in Falcon account policies after screening more compact candidates—SQIsign-III (306 B signatures, rejected for 490.71M-cycle variable-time signing), SNOVA III (456–688 B, rejected for 38–44M-cycle signing), and MAYO-3 (681 B, deferred for 2,986 B public keys and 2.31 ms verify).

Deterministic Fixed-Point F13 Signing

Reference Falcon signing relies on IEEE-754 double-precision floating-point arithmetic during Gaussian sampling and Fast Fourier sampling over NTRU lattices. Across heterogeneous validator CPUs and compiler toolchains, floating-point rounding differences create determinism risks and potential side-channel surfaces.

Silica replaces floating-point signing with deterministic F13 fixed-point integer arithmetic and zero float fallback:

  • Eager NTRU Basis Validation: Key constructors verify exact integer NTRU determinant relations and public-key trailers on import, rejecting malformed keys before signing begins.
  • Fail-Closed Cache & Signer State: Prepared native-tree signers are shared under mutex guards; any domain mismatch, corruption, or poisoned lock fails closed instead of degrading to an alternate implementation.
  • Zeroized Secret Lifecycle: Secret key material is wrapped in zeroize buffers wiped on import failure or drop.

FN-DSA-1024 Canonical Wire Profile:

  • Public key: 1,793 bytes
  • Encoded private key: 2,369 bytes
  • Signature frame: 1,280 bytes (fixed-width framing)
  • Domain separation: Separate protocol context (SILICA_NATIVE_AUTH_FALCON1024_0_4_TESTNET_V1) and account transaction context (SILICA_CHERT_TX_TESTNET_V1) with zero algorithm fallback.

Production & Standards Posture

Honest Cryptographic Status:

  • ML-DSA-44/65/87: Finalized NIST FIPS 204 parameter set via pinned RustCrypto ml-dsa.
  • FN-DSA-1024: Based on NIST Draft FIPS 206 (PNIST) ahead of final NIST publication. Runs a custom pure-Rust fixed-point F13 integer backend that has passed internal source/vector checks, while external third-party constant-time certification remains pending.
  • Aerie V2 Compaction: Active offline archive tool (silica-archive) operating strictly below the hot-prune boundary. Uses custom Plonky3 STARK PCS parameters awaiting independent third-party audit. An equivalent SNARK prover for ML-DSA remains unimplemented.

Authority always derives from immutable genesis policy (for validators) and immutable first-use registration (for user accounts)—never from self-reported signature lengths or an OR-fallback ladder.

Measured Benchmarks

1. Signature CPU & Wire Overhead (Local Real-Key Benchmarks)

Measured on the current protocol codebase (opt-level = 3 via fn_dsa_wire_benchmark across 16 samples and pq_signature_wire_benchmark across 32 samples):

Scheme Standard Pubkey / Sig Avg Sign Avg Verify 16-Tx Zstd Batch
FN-DSA-1024 (F13) Draft FIPS 206 (PNIST) 1,793 B / 1,280 B 560.6 µs 24.5 µs 21,840 B
ML-DSA-44 NIST FIPS 204 1,312 B / 2,420 B 1.02 ms 209.2 µs — (32 tx: 89,930 B)
ML-DSA-87 NIST FIPS 204 2,592 B / 4,627 B 1.51 ms 402.3 µs 84,697 B

In this measurement, FN-DSA-1024 verifies 16.4× faster than ML-DSA-87 (24.5 µs vs. 402.3 µs) and produces a 3.88× smaller compressed 16-transaction batch. For multi-output transfers under a single ML-DSA-44 owner, a single 2,420 B signature amortizes down to 9.45 B/output at 256 outputs (4,245 B compressed Postcard payload).

Average Verification Latency
Real-key checks (opt-level = 3)
FN-DSA-1024 (F13) 24.5 µs
ML-DSA-44 (FIPS 204) 209.2 µs
ML-DSA-87 (FIPS 204) 402.3 µs
Aerie V2 Offline Compaction (10k Blocks)
1,481 FN-DSA-1024 transactions across 10 segments
Logical Witness (Before) 164.82 MB
Logical Witness (Aerie V2) 13.29 MB (-91.94%)
Physical SST (Before) 218.18 MB
Physical SST (Aerie V2) 64.17 MB (-70.59%)

2. Aerie V2 Offline Archive Compaction (10,000 Blocks)

Measured across 10 sealed segments spanning blocks 1–10,000 (1,481 native FN-DSA-1024 transactions):

Metric Before Compaction After Aerie V2 Observed Reduction
Logical Segment Size 164.82 MB 13.29 MB 91.94%
RocksDB SST Disk Usage 218.18 MB 64.17 MB 70.59% (-154.02 MB)
Proving / Verification Pace — ~5.8 s prove / <3.1 s verify Per 1,000-block segment

Attempting to compact an unsealed segment near the active chain tip fails closed ("archive segment is not below the durable hot-prune boundary"), preserving active finality integrity while compressing historical witness storage. Similarly, we explicitly rejected naive public-w1-only ML-DSA hash compression (800–1,088 B claims) because without proving the small-norm bound ||z||_inf < gamma_1 - beta inside zero knowledge, a malicious prover could forge witnesses. Meanwhile, Aerie PCS benchmarks across Falcon-1024 batches scaled from 60,455 B at n = 4 down to 105,294 B (102.8 B/record, 0.0803× raw) at n = 1,024 with 264.8 ms prove and 6.86 ms verify.

On the signer kernel side, abandoning floats meant avoiding compiler soft-float emulation (4,108.1 µs per 1024-D signature) and checked i128 FFT bloat (35.2 µs, 8.2× slower than f64) in favor of an i64-word kernel using 64×64→128 widening products (11.8 µs FFT kernel—3.0× faster than checked i128 and 4.7× faster than soft-float—while delivering 5–14 bits higher fixed-point precision across Gram and ffLDL stages).