NIST Post-Quantum Signatures (Go 1.27+) & Pinned Pure-SHA3-256 WHIR-SHA3-v1 STARKs (v4)
60-Second TL;DR (
ZNN-SPEC-PHASE1-v4): ReconcilingZDC-ZP1-HR-001,ZDC-QS-DEEZ-HR-001, and the Round-4 Independent Cryptographic Audit (R4-01, R4-04, R4-09), Zenon Phase 1v4locksGo 1.27+-verified APIs, key-bound non-separable signature transcripts (boundDigest32),32-bytefn-dsa v0.3seed rules, and true2^-128QROM (2^-256classical RBR)WHIR-SHA3-v1STARK parameters:
0x01ML-DSA-44(FIPS 204): Primary wallet default viaGo 1.27+crypto/mldsa(mldsa.NewPublicKey(mldsa.MLDSA44(), rawPub),GOFIPS140 != v1.0.0KAT self-testB01).0x02FN-DSA-512(Pinneddraft-FIPS-206/fn-dsa v0.332BSeedR4-09):666 Bsignature verified via pure-integer NTT (mod 12289);0.59 msideal /0.9–1.4 msrealistic 4-core Pi 5 QC verify; pure-GoCGO_ENABLED=0NTRU keygen + signing + verify ingo-zenon-v1.0x03SLH-DSA-SHAKE-128s(FIPS 205) &0x04Dual-TreeXMSS-SHAKE_22_256(SP 800-208): Pure-Keccak governance/cold-vault tier and2 Hz(2,884 Bsig) zero-lattice emergency validator profile.0x10WHIR-SHA3-v1(True2^-128QROM Pure-SHA3-256STARKR4-04):57–86 KiBmultiproof size (<= 128 KiB = 131,072 Bsingle-proof hard cap) using WHIR domain-shift rate decay ([16, 15, 14]),32-bitPoW grinding +224-bitclassical query security (256-bitclassical RBR ->128-bitQROM underCMS19),256-bitextension field, and<= 8,000Keccak permutations (<= 3.5 mson Cortex-A76 withoutFEAT_SHA3).
1. Byte-Exact Post-Quantum Signature Suite & Caching Savings (B01, M04, N01, R4-01, R4-09)
Scheme (algID) | Standard & Pinned Revision | Keygen Seed | Public Key (PK) | Signature (Sig) | 1st-Reveal Witness (PK+Sig) | Cached Witness (Sig) | Witness Savings (N01) | Full-Block Savings (306B Base, N01) |
|---|---|---|---|---|---|---|---|---|
Ed25519 (0x00) | RFC 8032 (Sunset in 1E) | 32 B | 32 B | 64 B | 98 B (v2) | 65 B | 33.7% | 8.2% |
ML-DSA-44 (0x01) | Final FIPS 204 (Go 1.27+ crypto/mldsa) | 32 B | 1,312 B | 2,420 B | 3,734 B | 2,421 B | 35.16% (-1,313 B) | 32.50% (4,040 -> 2,727 B) |
FN-DSA-512 (0x02) | Draft FIPS 206 (fn-dsa v0.3 32B seed R4-09) | 32 B | 897 B | 666 B | 1,565 B | 667 B | 57.38% (-898 B) | 48.00% (1,871 -> 973 B) |
SLH-DSA-128s (0x03) | Final FIPS 205 (SHAKE256) | 48 B | 32 B | 7,856 B | 7,890 B | 7,857 B | 0.42% (-33 B) | 0.40% (8,196 -> 8,163 B) |
XMSS-SHAKE_22 (0x04) | Final SP 800-208 (Validator only) | 32 B | 64 B | 2,884 B | (In manifest) | 2,885 B | — | — |
Hybrid Ed+MLDSA44 (0x81) | RFC 8032 AND FIPS 204 (Sunset in 1E; 0x02 or AuthRegistry only R4-01!) | 64 B | 1,344 B | 2,484 B | 3,830 B (0x02 only) | 2,485 B | 35.12% (-1,345 B) | 32.52% (4,136 -> 2,791 B) |
(Note N01 & R4-01: "1st-Reveal Witness" occurs on Height == 1 for a fresh un-precommitted 0x02 account. Unregistered 0x00 accounts on Path C may ONLY use 0x00—never 0x81, preventing third-party mldsaPub splicing—and accounts registered via AuthRegistry omit PublicKeyWire even on their first v2 block!)
Normative Toolchain, Non-Separable Transcript & Draft-Standard Rules (B01, M04, R4-01, R4-09)
Go 1.27+crypto/mldsa&GOFIPS140Startup KAT (B01Verified):go.modpinsgo 1.27.0+(golang/go#77626[E1]). Becausecrypto/mldsareturns an error under legacyGOFIPS140=v1.0.0,znndexecutesAssertMLDSAReady()(621b16f8...low-level KAT +b7444ca3...bound-transcript KAT) at startup and refuses to boot if disabled.
- Non-Separable Key- & Algorithm-Bound Signing Preimage (
boundDigest32,R4-01Fix):- Because
AccountBlock.ComputeHash()(306 B) andMomentum.ComputeHash()(208 B) exclude witness bytes, signing rawHash[:]would leavealgIDand partner hybrid keys unbound (enabling0x81 <-> 0x00stripping and key-splicing ransomware). EveryAccountBlock v2and PQMomentum v3signature signs:boundDigest32 = FIPS202_SHA3_256(domainCtx || [0x00] || [algID] || FIPS202_SHA3_256(resolvedPubKeyWire)[32] || msg[32])
- Because
- Provisional
FN-DSA-512(0x02) & NIST FIPS 206 Fixed-Point Evolution (M04, R4-09):0x02pinsfn-dsa v0.3(32-bytekeygen seed[E2]), implemented completely in pure Go (CGO_ENABLED=0NTRU tower keygen, emulated-binary64 Gaussian signing, and0-FPU integer-NTT verification) to guarantee deterministic cross-client Go/Rust HD wallet derivation (Gate G9).- Because NIST's 2025–2026 FIPS 206 draft roadmap shifted toward
32.32/64.64fixed-point keygen/signing (ePrint 2026/1531,2026/1915), final FIPS 206 will allocate a freshalgID = 0x05(m/44'/73404'/1'/5'/<idx>') without breaking existing0x02accounts.
2. True 2^-128 QROM Parameterization & Cortex-A76 Timing of WHIR-SHA3-v1 (B07, M10, R4-04)
Why did ZNN-SPEC-PHASE1-v4 upgrade WHIR-SHA3-v1 from 16-bit grinding + 112-bit query security ([18, 14, 10]) to 32-bit grinding + 224-bit classical query security ([16, 15, 14] domain-shift rate decay + 256-bit extension field)?
- Closing the
CMS19QROM Square-Root Gap (R4-04): Under the Fiat-Shamir / BCS transform in the Quantum Random Oracle Model (Chiesa, Manohar, Spooner, FOCS 2019), a quantum prover attacks per-round transcript grinding and Merkle query indices jointly via Grover / state restoration:112 + 16 = 128classical bits yields onlysqrt(2^128) = 2^64quantum query resistance (16-bitgrinding gives8quantum bits!). Achieving<= 2^-128QROM soundness (~2^128quantumSHA3-256queries) requires>= 256bits of classical round-by-round soundness (224-bitclassical query security +32-bitclassical grinding =112 + 16 = 128quantum bits) plus a>= 256-bitextension field (Goldilocks^4orKoalaBear^8) so OOD/sumcheck errors also stay<= 2^-256classical (<= 2^-128QROM). - True WHIR Domain-Shift Rate Decay (
Arnon et al., EUROCRYPT 2025[R49],R4-04): On the outer $2^16$-row recursion wrapper with initial blowup $16\times$ ($\rho_0 = 2^-4$, $2^4$-bundled coset tree depth16), shrinking evaluation domains by $2^1$ per $2^4$-folding round yields depths[16, 15, 14]and decaying rates $\rho_0 = 2^-4, \rho_1 = 2^-7, \rho_2 = 2^-10$:- Conjectured Capacity (
[56, 32, 23] = 111queries +32-bitgrind =256bclassical /128bQROM):~1,110deduplicatedSHA3-256multiproof hashes (34.7 KiB) +18.0 KiB256-bitextension evaluations +4.0 KiBheaders =~56.7 KiB. - Unconditional Proven Johnson Bound (
[112, 64, 45] = 221queries +32-bitgrind =256bclassical /128bQROM):~1,989multiproof hashes (62.2 KiB) +20.0 KiBevaluations +4.0 KiBheaders =~86.2 KiB(comfortably inside the90 KiBplanning figure and128 KiB=131,072 Bhard cap!).
- Conjectured Capacity (
- Honest Cortex-A76 (
ARMv8.2WithoutFEAT_SHA3) Verifier Budget (R4-04): Raspberry Pi 5's Cortex-A76 (2.4 GHz) lacks ARMv8.4FEAT_SHA3hardware instructions (~380 nsper scalar 64-bitKeccak-f[1600]in pure Go). Because WHIR's111–221queries require only~2,200–3,500Keccak permutations (~0.85–1.35 mstypical), tighteningMaxSHA3KeccakPermutations = 8,000bounds worst-case single-core Pi 5 verification to<= 3.5 ms(< 0.5 mson Apple Silicon / ARMv8.4+ withFEAT_SHA3), subject to physicalGate ZP-Q20qualification (B07, M11).