Security of stateless tree signatures #
Steps toward stateless EUF-CMA security of TreeSignature.scheme, [BS23],
Section 14.6.3, Theorem 14.6, p. 600, in the binary case q = 2. An indexed EUF-CMA secure
signature scheme S of capacity at least 2, used at indices 0 and 1 only, and a
length-preserving pseudorandom function yield a stateless many-time signature scheme
(eufCMA_scheme_of_prf). That is not Theorem 14.6, because its PRF premise is stronger than the
source's, as explained below; the theorem itself is open (#5293).
Theorem 14.6 covers a q-ary tree of depth d for poly-bounded d and q with q ^ d
super-poly. The tree here is binary, so 2 ^ depth n must be super-poly: the asymptotic theorems
assume that 1 / 2 ^ depth n is negligible, with depth computable in polynomial time. The
source's term Q ^ 2 / (2 q ^ d) becomes Q ^ 2 / 2 ^ (depth n + 1), and its factor Q d
becomes dyadicSize (Q * depth n), a power of two in (Q d, 2 Q d] when Q d ≥ 1. The tree
for general q is not formalized (#5293). Besides the construction's deviations, listed in
CslibFrontier.Crypto.Computational.TreeSignature, the theorems differ from the source in two ways.
- The outer messages are
n-bit,SignatureScheme's message space. - The coins of node keys and signatures are
prfCoins family: a length-preservingPseudorandomFunctionfamily, keyed atcoinParam budget nbits, evaluated at the padded request and truncated. The source assumes a PRFFdefined over(K, {1, …, q} ^ {≤ d}, {0, 1} ^ w)whose outputs are the coins (Sections 14.6.2 and 14.6.3, p. 600).
Using family at the rescaled parameter coinParam budget n ≥ n adds no assumption: the proof
turns its security there into a bound negligible in n (exists_negligible_treeGame_le). The
premise that family is a length-preserving PRF, on every key length and every query, is however
stronger than the source's. It implies that the coins prfCoins family are pseudorandom
(PseudorandomFunction.coinIndistinguishable), but the converse is not proved. The proof passes
through the coin games coinRealGame and coinIdealGame, but these accept every request word,
and a request of at least N bits reaches family at its first N bits, so they expose family
on every N-bit input as its own PRF games do. A faithful Theorem 14.6 needs the coin games
restricted to the tree's requests at the parameters coinParam budget n, and a proof that
treeCoinAdversary stays in that domain.
Starting from treeGame (TreeSignature.scheme's eufCmaGame), the reduction is split into four
focused companion modules after the PRF-to-random-function coin hybrid
(CslibFrontier.Crypto.Computational.TreeSignature.CoinHybrid):
CslibFrontier.Crypto.Computational.TreeSignature.Reduction: coin-request width/injectivity lemmas,lazyTreeGame, and the planted-node reductionindexedForger.CslibFrontier.Crypto.Computational.TreeSignature.ForgerEfficiency: strict oracle-PPT certificateisOraclePPT_indexedForger.CslibFrontier.Crypto.Computational.TreeSignature.IdealToLazy: birthday bound replacing the uniform random function intreeIdealGamewith lazy node keys, lazy edge signatures, and leaf-collision aborts (succProbability_treeIdealGame_le_lazy, losing at most(Q ^ 2 : ℝ≥0) / 2 ^ (depth n + 1)).CslibFrontier.Crypto.Computational.TreeSignature.LazyToIndexed: plug-and-pray reduction fromlazyTreeGametoS.indexedEufCmaGame(succProbability_lazyTreeGame_le, losing a factordyadicSize (slotBound n)whenQ * depth n ≤ slotBound n).
Both game hops share the leaf-guarded signing handler combinators in
CslibFrontier.Crypto.Computational.TreeSignature.Handlers. This module assembles the concrete
and asymptotic security theorems and existential upgrades.
Combining this upgrade with OneWay.exists_pseudorandomFunction and OneWay.exists_indexedEUFCMA
constructs a stateless EUF-CMA secure signature scheme from a one-way function and a
collision-resistant hash family (OneWay.exists_eufCMA_of_hashFamily). With target
collision-resistant hashing from inaccessible entropy in place of the collision-resistant hash
family, CslibFrontier.Crypto.Computational.Rompel removes that assumption: every uniform OneWay
function yields a stateless many-time SignatureScheme satisfying EUFCMA
(OneWay.exists_eufCMA, [Rom90]).
Main results #
Cslib.Crypto.IndexedSignatureScheme.IndexedEUFCMA.exists_eufCMA_of_oneWay,Cslib.Crypto.OneWay.exists_eufCMA_of_hashFamily: existential upgrades from indexed signatures and a one-way function, and from a one-way function plus a collision-resistant hash family.
Steps toward Theorem 14.6 with q = 2 #
Cslib.Crypto.TreeSignature.succProbability_treeIdealGame_le,Cslib.Crypto.TreeSignature.succProbability_eufCmaGame_scheme_le: concrete bounds fortreeIdealGameandTreeSignature.scheme.Cslib.Crypto.TreeSignature.eufCMA_scheme_of_prf_of_inv,Cslib.Crypto.TreeSignature.eufCMA_scheme_of_prf: stateless EUF-CMA security ofTreeSignature.schemefromIndexedEUFCMAand a length-preservingPseudorandomFunction, a premise stronger than the source's.Cslib.Crypto.IndexedSignatureScheme.IndexedEUFCMA.exists_eufCMA_of_prf: the existential form.
References #
- D. Boneh, V. Shoup, A Graduate Course in Applied Cryptography, Section 14.6.3, Theorem 14.6, p. 600.
- J. Rompel, One-Way Functions are Necessary and Sufficient for Secure Signatures.
Concrete security of treeIdealGame (a step of the proof of [BS23],
Theorem 14.6): combining the lazy-coin leaf-collision hybrid and the planted-node indexed-forgery
reduction.
Concrete bound for TreeSignature.scheme at one parameter n, a step toward
[BS23], Section 14.6.3, Theorem 14.6, p. 600, in the binary case q = 2, not the cited
result: the forging probability of any Q-query forger against TreeSignature.scheme with
prfCoins family is bounded by the PRF distinguishing advantage of
coinDistinguisher (treeCoinAdversary …) at N n, plus dyadicSize (slotBound n) times
indexedForger's indexed forging probability against S, plus
(Q ^ 2 : ℝ≥0) / 2 ^ (depth n + 1). The source's terms are Q d · iSIGadv and
Q ^ 2 / (2 q ^ d); general q is not formalized (#5293).
Step toward [BS23], Section 14.6.3, Theorem 14.6, p. 600, in the binary case
q = 2, not the cited result: its PRF premise is stronger than the source's (#5293). This is
eufCMA_scheme_of_prf with a general PRF parameter N and an explicit left inverse: if S is
indexed EUF-CMA secure with capacity at least 2, family is a length-preserving pseudorandom
function, N covers all tree coin requests and has a polynomial-time left inverse inv, and
(1 : ℝ≥0) / 2 ^ depth n is negligible, then TreeSignature.scheme is stateless EUF-CMA secure.
The premise and the other deviations are those of eufCMA_scheme_of_prf, with N in place of
coinParam budget.
Step toward [BS23], Section 14.6.3, Theorem 14.6, p. 600, in the binary case
q = 2, not the cited result: its PRF premise hF is stronger than the source's (#5293). If S
is indexed EUF-CMA secure with capacity at least 2, used at indices 0 and 1 only, family
is a length-preserving pseudorandom function, budget covers all tree coin requests, and
(1 : ℝ≥0) / 2 ^ depth n is negligible, then TreeSignature.scheme with coins prfCoins family
at the PRF parameter coinParam budget n is stateless EUF-CMA secure.
Theorem 14.6 assumes only that its coin function F, defined over
(K, {1, …, q} ^ {≤ d}, {0, 1} ^ w), is a PRF. Here the coins are prfCoins family: family at
the padded request, truncated. The premise hF asks that family be a PRF on every key length
and every query. It implies that the coins are pseudorandom
(PseudorandomFunction.coinIndistinguishable), but the converse is not proved. The proof passes
through that coin indistinguishability, but over every request word and every PRF parameter, and a
request of at least N bits reaches family at its first N bits, so those games expose family
on every N-bit input as its own PRF games do. Theorem 14.6 itself needs the coin games
restricted to the tree's requests at the parameters coinParam budget n. The rescaled parameter
adds no assumption, since the proof turns the PRF's security at coinParam budget n ≥ n into a
bound negligible in n.
The other deviations: the tree is binary, so the source's condition that q ^ d is super-poly is
hdepthNeg, and general q is not formalized (#5293); and the outer messages are n-bit.
Corollary of the step eufCMA_scheme_of_prf toward [BS23], Section 14.6.3,
Theorem 14.6, p. 600, with q = 2, not the cited result: any indexed EUF-CMA secure signature
scheme of capacity at least 2 and any length-preserving pseudorandom function yield a stateless
EUF-CMA secure signature scheme on n-bit messages. The scheme is TreeSignature.scheme with
depth n + 1, so that 2 ^ (n + 1) is super-poly, and coins prfCoins family. The premise hF
is stronger than the source's PRF premise on the coins, as eufCMA_scheme_of_prf explains
(#5293).
Stateless many-time signatures from indexed signatures and one-way functions: any indexed
EUF-CMA secure signature scheme of capacity at least 2 and any one-way function yield a stateless
EUF-CMA secure signature scheme.
Stateless many-time signatures from one-way functions and collision-resistant hash families:
combining Lamport one-time signatures, depth-1 Merkle trees (capacity 2), PRFs from one-way
functions, and stateless tree signatures yields a stateless EUF-CMA secure signature scheme.