Exact chosen-message games of leveled encryption #
The actual serialized scheme experiment is the real public-chain hybrid followed by adaptive message selection. At the zero-link endpoint, one base IND-CPA challenge simulates the entire experiment, including the adversary's retained state and the fresh-ciphertext tag.
Combining the two encrypted-link hybrid reductions (E.linkAdversary for the false and
message-swapped true challenge worlds) with the dyadically weighted zeroLinkAdversary yields
leveledAdversary, whose base IND-CPA game achieves the exact concrete-security loss
4 * dyadicSize (2 * budget n) * dyadicSize (capacity n), bounded between
4 * (2 * budget n + 1) * (capacity n + 1) and 16 * (2 * budget n + 1) * (capacity n + 1) and
therefore matching Gentry's Theorem 4 loss ℓ(d + 1) up to a constant factor ([Gen09],
Section 2, Theorem 4, p. 171; the constant arises from the 2 * budget n encrypted links, dyadic
power-of-two index rounding, and the four-way branch selector with one inactive branch).
Main results #
Cslib.Crypto.Homomorphic.Leveled.eval_keyGen_public: the exact serialized public marginal.Cslib.Crypto.Homomorphic.Leveled.eval_game_keyGen: the actual scheme game is the real-chain public-artifact experiment.Cslib.Crypto.Homomorphic.Leveled.eval_zeroLinkAdversary: an exact simulation of the zero-chain chosen-message experiment, including depth zero.Cslib.Crypto.Homomorphic.Leveled.eval_leveledAdversary: exact distributional decomposition of the unified base reductionleveledAdversary.Cslib.Crypto.Homomorphic.Leveled.gap_leveledAdversary: signed telescoping identity relating the leveled scheme's chosen-message gap toleveledAdversary.Cslib.Crypto.Homomorphic.Leveled.advantage_game_eq_leveledAdversary: exact unsigned advantage identity with factor4 * dyadicSize (2 * budget n) * dyadicSize (capacity n).Cslib.Crypto.Homomorphic.Leveled.advantage_game_le_mul_leveledAdversary: concrete polynomial loss bound16 * (2 * budget n + 1) * (capacity n + 1)(Gentry's Theorem 4 up to a constant factor).
References #
The actual key generator's public marginal is the serialized real-chain hybrid.
The public artifact and tagged challenge in the actual scheme game agree with the real chain experiment; intermediate and endpoint secrets remain hidden.
The zero-link base adversary simulates the entire adaptive chosen-message experiment. When the chain is nonempty, a generated secret supplies the unknown first secret's length; when it is empty, no secret length is used.
The unified base reduction's encryption game is the fair four-branch average over the
false-world linkAdversary, the message-swapped true-world linkAdversary, the dyadically
weighted zeroLinkAdversary, and an inactive rejecting branch.
The exact scaled acceptance probability of leveledAdversary equals the sum of the two
dyadic-grid-scaled linkAdversary acceptance probabilities and the zeroLinkAdversary
acceptance probability.
The signed chosen-message gap of the actual serialized leveled scheme equals the exact
dyadic loss 4 * dyadicSize (2 * budget n) * dyadicSize (capacity n) times the signed gap of
leveledAdversary against the base encryption scheme ([Gen09], Section 2, Theorem 4,
p. 171, up to a constant factor in the loss;
the running-time clause is not formalized).
Exact unsigned concrete-security identity for the actual serialized leveled scheme:
its chosen-message advantage equals 4 * dyadicSize (2 * budget n) * dyadicSize (capacity n)
times the base chosen-message advantage of leveledAdversary ([Gen09], Section 2,
Theorem 4, p. 171, up to a constant factor in the loss;
the running-time clause is not formalized).
Polynomial concrete-security bound for the actual serialized leveled scheme in terms of
the chain length 2 * budget n and secret-width bound capacity n: rounding both dyadic
ranges via dyadicSize_le bounds the single-adversary reduction loss by
16 * (2 * budget n + 1) * (capacity n + 1) ([Gen09], Section 2, Theorem 4, p. 171, up to
a constant factor in the loss; the running-time clause is not formalized).