Arbitrary-length CRHF + One-time signature ⇒ Stateful DS (Merkle)
Statement
An arbitrary-length CRHF and a one-time signature scheme yield a stateful signature scheme for signatures, with the message space of . The verification key is a key of and the root of a Merkle tree whose leaves are the hashes of one-time verification keys of , each written as a bit string, and each of whose internal nodes is for its two children ; the state is the index of the next unused one-time key; and the -th signature on is , where is a one-time signature on under and holds the sibling nodes on the way from leaf to the root — Mer89. Verification checks under and recomputes the root from and .
Key generation computes all leaves, so an efficient forces , and the scheme signs at most messages; for a polynomial , the height gives — standard. For every forger making at most signing queries there are efficient and with
— standard. is -correct for signatures when is -correct, since an honest authentication path always hashes to the root and a union bound covers the one-time signatures — standard.
Sketch
runs the whole scheme on its challenge key . A valid forgery under index that carries a verification key or authentication path other than the honest ones hashes to the same root as the honest leaf and path, so at the highest level where the inputs of the two computations differ their outputs agree, a collision of between two strings, possibly of different lengths. Otherwise the forgery carries the honest , and its one-time signature is on a message never signed under ; plants its challenge key at a uniform leaf , which is independent of ‘s view, answers the -th signing query with its one-time oracle, and wins when , with probability .
Notes
- Any CRHF yields an arbitrary-length CRHF by Merkle–Damgård iteration (CRHF ⇒ Arbitrary-length CRHF (Merkle–Damgård)) — Rog06.
- One-time signatures exist from one-way functions (OWF ⇒ One-time signatures (Lamport)) — Lam79.
- XMSS replaces collision resistance by second-preimage resistance with bitmasked tree nodes and is likewise stateful (SPR hash + PRF ⇒ Stateful DS (XMSS)) — BDH11, HBG+18 (Section 4.1).
- Universal one-way hash functions suffice for signatures through a tree of one-time keys (UOWHF + One-time signature ⇒ DS (Naor–Yung)) — NY89, and any one-way function suffices (OWF ⇒ DS) — Rom90.