Repeated one-way inversion #
The repeated one-way game (repeatedInversionExperiment, [BS23], Attack Game 13.3,
p. 539) draws t independent inputs, publishes their images, answers reveal queries with the
corresponding seeds, and asks for a preimage of an unrevealed image. It coincides with the d = 1
case (repeatedIterateExperiment_one) of repeatedIterateExperiment, which treats n chains of
d iterates as in the iterated generalization of [BS23], Exercise 14.15 (p. 612).
Relative to [BS23], both games take arbitrary t, n, d : ℕ, any seed sampler
sample : ProbComp X rather than uniform, and 0-based indices idx q : ℕ; out-of-range reveals
return default (or f^[idx q % d] default) and out-of-range claims lose (none). At d = 0
the chain game is degenerate: idx q / 0 = 0 and idx q % 0 = idx q, so every slot lies on
chain 0 and the published values are the seeds. On top of that, repeatedIterateExperiment and
repeatedIterateUnrevealedExperiment diverge from Exercise 14.15 in three respects (checked in
CslibFrontierTests.Crypto.Game.RepeatedInversion):
- A claim for slot
(i, j)(0 ≤ j < d) checksf^[d - j] x = y_i, so only1 ≤ b ≤ dis modeled (b > dis not analysed); forbidding reveals at or below the claimed slot comparesidx q % d < idx r.1 % drather than the printedb' ≤ b. - Reveals address
0 ≤ j < d, so the book'sj = d(the public value) cannot be requested (sloti * d + dis the next chain's seed, or out-of-range for the last chain). - For non-injective
f, a revealed value above the claimed slot can sit past a merge with a side chain, sochainConsistentadditionally requiresxto iterate to every revealed value above it on its chain (coinciding withchainUnrevealedwhenfis injective and0 < d,succProbability_repeatedIterateUnrevealedExperiment_of_injective).
Main definitions #
Cslib.Crypto.chainSlot,chainKeyGen,chainVerify,chainUnrevealed,chainConsistent,chainSigner: chain-game components.Cslib.Crypto.repeatedIterateExperiment,repeatedIterateUnrevealedExperiment: the repeated chain game with the chain-consistent and index-corrected unrevealed conditions.Cslib.Crypto.repeatedInversionExperiment: Attack Game 13.3.
Main results #
Cslib.Crypto.repeatedIterateExperiment_one: thed = 1chain game is Attack Game 13.3.Cslib.Crypto.succProbability_repeatedIterateExperiment_le_unrevealed,succProbability_repeatedIterateUnrevealedExperiment_of_injective: comparison with the index-corrected unrevealed winning condition.
References #
- D. Boneh, V. Shoup, A Graduate Course in Applied Cryptography, Section 13.4.1, Attack Game 13.3, p. 539; Exercise 14.15, p. 612.
Chains and slots #
x, claimed for slot k, leads to the published top of its chain.
chainUnrevealed, and x leads to every value revealed on its chain.
The repeated game on n chains of d iterates of f, with the chain-consistent winning
condition.
The same game with the unrevealed winning condition of Exercise 14.15 (index corrected).
Attack Game 13.3 ([BS23], p. 539), generalized to arbitrary t : ℕ, any seed
sampler sample, and 0-based reveal/claim indices idx q (out-of-range reveals return default
and out-of-range claims lose).
At d = 1 the chain game is Attack Game 13.3.
The unrevealed winning condition #
The chain-consistent condition is the stronger one.
For an injective f and 0 < d, the two conditions give the same success probability.