Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

SLH-DSA at NIST Level 3

This page is for illustration only. Zoodles does not adopt SLH-DSA, and nothing here proposes it. The page shows what a spend authorization at NIST’s 192-bit level would cost inside a proof, since a signature scheme at that level compounds its cost with the proof system’s. The frontier page has the matching illustration for the proof system itself.

The signature

SLH-DSA [FIPS205] is the standardized form of SPHINCS+, a stateless hash-based signature. It would authorize a spend exactly as leanSPHINCS does: the signature is made outside the proof over the same transaction digest, and is verified inside the spend’s step. The parameter set considered is SLH-DSA-SHAKE-192s, which the standard places in security category 3. Its hash is SHAKE256, so its verifier in the circuit is Keccak permutations.

Why the small-signature parameter set

The standard has two parameter sets at the level, 192s and 192f. The second signs faster, which a proof does not benefit from, and costs its verifier more. A verifier recomputes one WOTS+ public key for each layer of the hypertree: 51 chains, at half of their 15 steps expected, and the key’s compression. SLH-DSA-SHAKE-192f has 22 layers where SLH-DSA-SHAKE-192s has 7. So 192s takes an expected 3,070 Keccak permutations to verify, for a signature of 16,224 bytes. 192f takes 9,006 permutations, 2.9 times as many, for a signature of 35,664 bytes. Either is far more than leanSPHINCS: 192s takes 12 times its permutations. So 192s is the set considered.

The counts follow from the standard’s parameters. Each call of the hash absorbs the public seed, a 32-byte address, and its input, which is one permutation for a chain step or a tree node. The verifier’s count is an expectation, since the chains’ lengths depend on the message digest.

The cost in the circuit

A Zoodles transaction of two spends by SLH-DSA-SHAKE-192s and two outputs is 283 million of Kishu’s digits. At the frontier page’s default floor, with zero knowledge and a BLAKE3 transcript, Kishu proves it in 7.37 s on one core, in 7 steps of a step of  digits. The same transaction with leanSPHINCS over BLAKE3 takes 0.104 s. The frontier page’s transaction list has the SLH-DSA transaction, so that its cost can be seen under any family and floor.

With the proof system at NIST Level 3

The frontier page’s “165 quantum bits (ADPS16 core-SVP), unreviewed ⚠️” option raises the security floor for the proof system, also to approximately NIST Level 3. It offers SHA3-384 for its transcript as an alternative to BLAKE3. The table gives Kishu’s prover time for the transaction of two spends and two outputs with zero knowledge, in seconds on one core, under each signature and each setting of the proof system. The factor in brackets is against the first cell: leanSPHINCS over BLAKE3, with Kishu at 147 bits and a BLAKE3 transcript.

KishuleanSPHINCS over BLAKE3SLH-DSA-SHAKE-192s
147 bits, BLAKE3 transcript0.104 s (×1.0)7.37 s (×71)
Level 3, BLAKE3 transcript0.128 s (×1.2)9.94 s (×96)
Level 3, SHA3-384 transcript0.293 s (×2.8)12.0 s (×120)

In the table, each change makes the transaction dearer whatever the other two are: down a column the proof system’s level and then its transcript hash, and across a row the signature. The signature is by far the largest of the three, since the transaction’s digits are almost all the two verifiers’.

References