Target collision-resistant hash-and-sign and stateless signatures from one-way permutations #
When hashing messages before signing under a target collision-resistant hash family (UOWHF), placing
a single hash key in the public verification key fails: an adversary seeing k in pk before
choosing its signing query and forgery could search for full collisions rather than target
collisions. Instead, construction (13.2) of [BS23], Section 13.2.1 (p. 533) samples a
fresh hash key k inside every signature and signs the pair (k, H(k, m)):
Source mapping: [BS23], Section 13.2.1 states construction
(13.2)and Theorem 13.2 for extending the message space of an unrestricted many-time EUF-CMA base signature scheme. HereTCRSignature.scheme S Hinstantiates the same per-signature fresh-hash-key construction over a one-time signature schemeS(OneTimeEUFCMAon fixed-length bit strings) and an unrestrictedKeyedHashFamilyH, yielding anIndexedSignatureSchemeof capacity1on arbitrary-lengthList Boolmessages without storing a hash key inpk:- Key generation samples
(otvk, otsk) ← S.keyGen (otsParam H n)at an injective parameterotsParam H n > H.keyLen n + H.digestLen n(TreeSignature.coinParam) and bundlesnwith each key (encPair encUnary encBits). - Signing
msgat index0samplesk ← {0, 1}^{H.keyLen n}, pads(k, H.eval n k msg)to anotsParam H n-bit wordotsMsg H n k (H.eval n k msg), signs that word underS.sign otskto obtainots, and returnsencPair encBits encBits (k, ots). - Verification at index
0checksk.length == H.keyLen nand verifiesotsonotsMsg H n k (H.eval n k msg)underotvk, rejecting every indexu ≥ 1.
- Key generation samples
Two-branch security reduction (
exists_reduction_indexedEufCmaGame_le,SignatureScheme.OneTimeEUFCMA.indexedEUFCMA_tcrSignature): following the case split in the proof of [BS23], Theorem 13.2, every valid forgery(0, m₁, (k', ots'))againstTCRSignature.scheme S Heither:- produces a valid one-time signature
ots'on anotsParam H n-bit wordM* = otsMsg H n k' (H.eval n k' m₁)never signed byS(either no valid index-0signing query occurred, orM* ≠ otsMsg H n k (H.eval n k m₀)), winningS.eufOneTimeGameviaoneTimeForger; or - satisfies
M* = otsMsg H n k (H.eval n k m₀)for the unique valid index-0signing querym₀ ≠ m₁, which by injectivity ofotsMsgon(H.keyLen n, H.digestLen n)-bit pairs forcesk' = kandH.eval n k m₀ = H.eval n k m₁, winningtargetCollisionGamevia the two-stage adversarytcrAdversary(simRundry-runs the clocked oracle machine on pre-sampled fair coins beforekis chosen to commitm₀, then replays on the same coins oncekarrives).
- produces a valid one-time signature
Upgrading to stateless many-time
EUFCMA(OneWay.exists_eufCMA_of_targetCollisionResistant,OneWayPermutation.exists_eufCMA):- Given
OneWay fand a target collision-resistantKeyedHashFamilyH, Lamport's scheme (OneWay.exists_oneTimeSignature) supplies aOneTimeEUFCMAbase schemeS,TCRSignature.scheme S Hgives a capacity-1IndexedEUFCMAscheme on allList Bool,IndexedSignatureScheme.doubleupgrades capacity from1to2, andIndexedSignatureScheme.IndexedEUFCMA.exists_eufCMA_of_oneWay(TreeSignature.schemewith PRFs fromOneWay f) yields a stateless many-timeSignatureSchemesatisfyingEUFCMA. - Combining
OneWayPermutation.oneWaywith Naor–Yung's target collision-resistantKeyedHashFamily(OneWayPermutation.exists_targetCollisionResistant_keyedHashFamily) proves that every one-way permutation implies the existence of a stateless many-time EUF-CMA secure digital signature scheme (OneWayPermutation.exists_eufCMA), with no separate hash-family assumption. Both results are steps toward [NY89], not the cited result: no inspection of the primary source is recorded (#5293). Many-time extension to unrestrictedList Boolmessages (WordSignatureScheme) and instantiation from generalOneWayfunctions ([Rom90]) are proved inCslibFrontier.Crypto.Computational.TCRSignature.ManyTimeandCslibFrontier.Crypto.Computational.Rompel.
- Given
Main definitions #
Cslib.Crypto.TCRSignature.otsBudget,Cslib.Crypto.TCRSignature.otsParam,Cslib.Crypto.TCRSignature.otsParamInv,Cslib.Crypto.TCRSignature.otsMsg,Cslib.Crypto.TCRSignature.otsForgeryOf: injective one-time parameter schedule, fixed-length(k, digest)message encoding, and fixed-length forgery translator.Cslib.Crypto.TCRSignature.keyDecoder,Cslib.Crypto.TCRSignature.sigDecoder,Cslib.Crypto.TCRSignature.keyGen,Cslib.Crypto.TCRSignature.sign,Cslib.Crypto.TCRSignature.verify,Cslib.Crypto.TCRSignature.scheme: the fresh-key TCR hash-and-sign capacity-1indexed signature scheme.Cslib.Crypto.TCRSignature.simStep,Cslib.Crypto.TCRSignature.simRun,Cslib.Crypto.TCRSignature.simPkOf,Cslib.Crypto.TCRSignature.simWordOf,Cslib.Crypto.TCRSignature.simFuelOf: deterministic finite-configuration step, coin-driven run, and encoded input/fuel helpers used to commit the first valid signing query before sampling the hash keykand replay with a reply afterward.Cslib.Crypto.TCRSignature.oneTimeForger,Cslib.Crypto.TCRSignature.tcrAdversary: the one-time signature forger and two-stage target-collision adversary.
Main results #
Cslib.Crypto.TCRSignature.computableInPolyTime_simRun_comp:simRunis computable in plain polynomial time for every finite-controlMultiTapePTM.Cslib.Crypto.TCRSignature.isOraclePPT_oneTimeForger,Cslib.Crypto.TCRSignature.isPPT_tcrAdversary: uniform strict PPT certificates for both reductions.Cslib.Crypto.TCRSignature.succProbability_indexedEufCmaGame_le_of_machine,Cslib.Crypto.TCRSignature.exists_reduction_indexedEufCmaGame_le: the one-time form of the Theorem 13.2 bound, splitting indexed forgeries into one-time signature forgeries and target collisions.Cslib.Crypto.SignatureScheme.OneTimeEUFCMA.indexedEUFCMA_tcrSignature:TCRSignature.scheme S HisIndexedEUFCMA-secure wheneverSisOneTimeEUFCMAandHis target collision-resistant (a step: the one-time form of Theorem 13.2, which the source states for many-time schemes).Cslib.Crypto.OneWay.exists_indexedEUFCMA_of_targetCollisionResistant,Cslib.Crypto.OneWay.exists_eufCMA_of_targetCollisionResistant: capacity-2indexed and stateless many-timeEUFCMAsignatures from a one-way function and a target collision-resistantKeyedHashFamily(the second a step toward [NY89], Section 4).Cslib.Crypto.OneWayPermutation.exists_eufCMA: stateless many-timeEUFCMAsignatures from a one-way permutation alone.
References #
- D. Boneh, V. Shoup, A Graduate Course in Applied Cryptography, Version 0.6,
Section 13.2.1 (construction
(13.2)on p. 533 and Theorem 13.2 on p. 534) and Section 14.6. - M. Naor, M. Yung, Universal One-Way Hash Functions and their Cryptographic Applications, Sections 2–4.
- J. Rompel, One-Way Functions are Necessary and Sufficient for Secure Signatures.
Injective one-time parameter schedule and (k, digest) message encoding #
Total bit budget H.keyLen n + H.digestLen n signed under the one-time signature scheme at
security parameter n.
Injective one-time signature security parameter strictly above otsBudget H n.
Polynomial-time bounded-search left inverse of otsParam H.
Compose otsMsg H with H.eval in polynomial time.
The capacity-1 fresh-key TCR hash-and-sign scheme #
Total decoder for (n, key) words encoded with encPair encUnary encBits.
Total decoder for (k, ots) signature words encoded with encPair encBits encBits.
Sample a one-time key pair (otvk, otsk) ← S.keyGen (otsParam H n) and bundle n with each
half via encPair encUnary encBits.
Sign msg at index 0 by sampling a fresh H.keyLen n-bit key k, signing
otsMsg H n k (H.eval n k msg) under S.sign, and returning encPair encBits encBits (k, ots).
Returns [] for every index u ≥ 1.
Verify sig on msg at index u under pk: require u == 0, k.length == H.keyLen n, and
S.verify otvk (otsMsg H n k (H.eval n k msg)) ots.
Fresh-key TCR hash-and-sign capacity-1 indexed signature scheme ([BS23],
Section 13.2.1, construction (13.2) instantiated over a one-time signature scheme S and an
unrestricted KeyedHashFamily H): signs arbitrary-length List Bool messages at index 0 by
sampling a fresh hash key k per signature and signing (k, H.eval n k msg) under S at
otsParam H n.
scheme S H has capacity 1 at every security parameter.
Deterministic coin-driven simulator for capacity-1 indexed runs #
Finite-tag transition dispatch on FiniteConfig: given polynomial-time projections for a
FiniteConfig cfg and a coin coin, plus polynomial-time handlers for the halted branch, each
(action, symbol, move) step branch, and each next query branch, the full transition is
computable in polynomial time.
One deterministic transition of machine on finite storage (cfg, qOpt) using fair coin coin
and pre-supplied reply for the first query at index 0 (r.1 == 0 && qOpt.isNone). Every
other query (r.1 ≠ 0 or after qOpt = some m₀) receives the empty reply [], matching
indexedSigningOracle at capacity 1.
Run machine deterministically on word over coins using reply for the first valid
index-0 signing query, returning (finalOutput, recordedQuery).
simRun is computable in plain polynomial time for every finite-control MultiTapePTM.
The two reductions: oneTimeForger and tcrAdversary #
Total decoder for raw IndexedForger outputs (u, msg, sig).
Total decoder for tcrAdversary saved state (keys, coins).
One-time signature forger at security parameter M = otsParam H n: recovers
n := otsParamInv H M, samples coins and a uniform hash key k, dry-runs simRun on [],
queries its external one-time signing oracle at most once on otsMsg H n k (H.eval n k m₀) (with
reply truncated to sigBound n), replays simRun, and outputs (otsMsg H n k' (H.eval n k' m₁), ots').
Two-stage target-collision adversary against H: choose n samples keys ← S.keyGen (otsParam H n) and coins, dry-runs simRun on [] to commit the first valid signing query m₀
before k is chosen, and saves (keys, coins); find n state k signs (k, H.eval n k m₀)
locally using keys.2, replays simRun on the same coins, and outputs the forged message m₁.
oneTimeForger is uniformly strict oracle PPT whenever sigBound is computable in plain
polynomial time on unary n.
Both stages of tcrAdversary are uniformly strict PPT.
Security bound and existential upgrades #
Concrete security bound for TCRSignature.scheme with an explicit realizing machine
([BS23], Section 13.2.1, Theorem 13.2): at every security parameter n, the indexed
forging probability against scheme S H is at most the one-time forging probability of
oneTimeForger against S at otsParam H n plus the target-collision probability of
tcrAdversary against H at n.
Polynomial-time upper bounds on one-time verification keys and signatures sampled at
otsParam H n.
Existential reduction for TCRSignature.scheme, after the proof of [BS23],
Theorem 13.2, with one signing query: every strict oracle-PPT indexed forger adversary induces a
strict oracle-PPT one-time forger otForger and a strict PPT two-stage TargetCollisionFinder
tcrAdv bounding adversary's indexed forging probability at every security parameter n.
Any Negligible function remains Negligible after precomposing with otsParam H.
One-time form of [BS23], Theorem 13.2 (Section 13.2.1, p. 534): a step, not the
cited result. The source states Theorem 13.2 for a many-time secure S and concludes many-time
security of the derived scheme; that statement is SignatureScheme.EUFCMA.eufCMA_wordScheme. For
one-time signatures it only remarks that short messages suffice "as discussed in Section 13.2"
(p. 584). Here, if S is one-time EUF-CMA secure (OneTimeEUFCMA, Definition 14.1) and H is
target collision resistant on every word, then construction (13.2) over S, as the capacity-1
indexed scheme TCRSignature.scheme S H on messages of any length, is one-time secure
(IndexedEUFCMA at the single index 0). The proof is the source's case split with one signing
query. As in eufCMA_wordScheme, S runs at the parameter otsParam H n on the zero-padded word
of (r, H(r, m)). This is the first step of the route from one-way functions and target collision
resistant hashing to many-time signatures (OneWay.exists_eufCMA_of_targetCollisionResistant;
#5686).
Capacity-2 indexed signatures from one-way functions and target collision-resistant hash
families: combining Lamport's one-time signature scheme (OneWay.exists_oneTimeSignature),
TCRSignature.scheme, and IndexedSignatureScheme.double yields a capacity-2 IndexedEUFCMA
scheme without collision-resistant hashing.
Step toward the signatures of [NY89], Section 4, not the cited result: no inspection of
the primary source is recorded (manual/sources.md lists the authors' manuscript without a check),
so this statement has not been checked against it (#5293). [BS23], Sections 13.2.1 and
14.6, give the route but state no theorem of this form.
Any one-way function and any unrestricted target collision-resistant KeyedHashFamily yield a
stateless many-time SignatureScheme satisfying EUFCMA.
Step toward the Naor–Yung signature theorem ([NY89], Theorem 2 / Section 4), not the
cited result: no inspection of the primary source is recorded (manual/sources.md lists the
authors' manuscript without a check), so this statement has not been checked against it (#5293).
Every one-way permutation implies the existence of a stateless many-time EUFCMA-secure digital
signature scheme, with no separate hash-family assumption.