The γ-spreadness hypothesis of FO^⊥ is load-bearing #
In the ROM IND-CCA security theorem for the explicit-rejection Fujisaki–Okamoto transform
FO^⊥ = U^⊥ ∘ T (Scheme.indCcaBotAdvantage_le and
Scheme.advantage_eagerIndCcaBotGame_simBotGame_le in
CslibFrontier.Crypto.Protocols.KEM.FujisakiOkamoto.Bot), replacing the real decapsulation
oracle decapsBot by the keyless simulator simBotHandler incurs a qD · 2^{-γ} term bounding the
probability that an unqueried message m' re-encrypts to a queried ciphertext c under
T[PKE, G] ([HHK17], IACR ePrint 2017/604, full version dated
2 November 2021, §3.1 and §3.2.1). This module shows that the qD · 2^{-γ} spreadness term cannot
be omitted.
For any explicit-coin PKE P and designated message m₀ : M, unspreadPointPKE P m₀ has
ciphertext space Option CT:
- At
m = m₀,encDet pk m₀ r = nonedeterministically (ignoring the coinsr), anddec sk none = some m₀. - At
m ≠ m₀,encDet pk m r = some (P.encDet pk m r), anddec sk (some c)returnssome mwhenP.dec sk c = some mwithm ≠ m₀, andnoneotherwise.
The modified PKE preserves δ-correctness (unspreadPointPKE_deltaCorrect) and preserves
fixed-message IND-CPA advantages (indCpaAdvantage) on all message pairs away from m₀
(unspreadPointPKE_indCpaAdvantage); it is not two-stage IND-CPA secure (cpaAdvantage), since
an adversary may choose m₀. It fails γ-spreadness for every γ > 0
(unspreadPointPKE_gammaSpread_zero, unspreadPointPKE_not_gammaSpread_of_pos).
The 1-query adversary probeDecapsAdv makes zero queries to G, zero queries to H, and a single
decapsulation query ROQuery.decaps none (roFullQueryBounds_probeDecapsAdv), outputting whether
the decapsulation oracle returns some k.
- In the keyless simulator game
simBotGame(eval_simBotGame_probeDecapsAdv), whenm* = m₀the challenge ciphertext isc* = noneso the punctured decapsulation oracle returnsnone; whenm* ≠ m₀, the only entry ingCacheis(m*, r*)whose encryption issome _ ≠ none, sosimBotCheckreturnsfalseand the simulator again returnsnone. HencesimBotGameoutputsfalsewith probability1. - In the real
FO^⊥gameroIndCcaBotGame/eagerIndCcaBotGame(eval_roIndCcaBotGame_probeDecapsAdv), wheneverm* ≠ m₀we havec* = some _ ≠ none, anddecapsBotonnonedecryptsnonetosome m₀and checksencDet pk m₀ (G m₀) = none, which holds deterministically even thoughm₀was never queried toG. ThusprobeDecapsAdvoutputstruewheneverm* ≠ m₀.
For a uniform message sampler on a finite message space M, the distinguishing advantage between
eagerIndCcaBotGame and simBotGame on probeDecapsAdv is therefore 1 - 1 / |M|
(advantage_eagerIndCcaBotGame_simBotGame_probeDecapsAdv), matching the qD · 2^{-γ} term of
advantage_eagerIndCcaBotGame_simBotGame_le at δ = 0, qG = 0, qH = 0, qD = 1, γ = 0.
Main definitions #
Cslib.Crypto.Protocols.FujisakiOkamoto.unspreadPointPKE: point-deterministic PKE variant encryptingm₀tononeandm ≠ m₀tosome (P.encDet pk m r).Cslib.Crypto.Protocols.FujisakiOkamoto.unspreadScheme:Schemewrapper aroundunspreadPointPKE P m₀.Cslib.Crypto.Protocols.FujisakiOkamoto.probeDecapsAdv: 1-query adversary queryingROQuery.decaps noneand testingOption.isSome.
Main results #
Cslib.Crypto.Protocols.FujisakiOkamoto.unspreadPointPKE_deltaCorrect,Cslib.Crypto.Protocols.FujisakiOkamoto.unspreadPointPKE_indCpaAdvantage,Cslib.Crypto.Protocols.FujisakiOkamoto.unspreadPointPKE_gammaSpread_zero,Cslib.Crypto.Protocols.FujisakiOkamoto.unspreadPointPKE_not_gammaSpread_of_pos:unspreadPointPKE P m₀preservesδ-correctness and fixed-message IND-CPA advantages (indCpaAdvantage) away fromm₀, is0-spread, and is notγ-spread for anyγ > 0.Cslib.Crypto.Protocols.FujisakiOkamoto.roFullQueryBounds_probeDecapsAdv:probeDecapsAdvsatisfiesROFullQueryBounds probeDecapsAdv 0 0 1.Cslib.Crypto.Protocols.FujisakiOkamoto.eval_simBotGame_probeDecapsAdv,Cslib.Crypto.Protocols.FujisakiOkamoto.eval_roIndCcaBotGame_probeDecapsAdv: exact output distributions ofsimBotGameandroIndCcaBotGameonprobeDecapsAdv.Cslib.Crypto.Protocols.FujisakiOkamoto.advantage_eagerIndCcaBotGame_simBotGame_probeDecapsAdv: for uniform messages,probeDecapsAdvdistinguisheseagerIndCcaBotGamefromsimBotGamewith advantage1 - 1 / |M|usingqG = 0, qH = 0, qD = 1.
References #
- D. Hofheinz, K. Hövelmanns, E. Kiltz, A Modular Analysis of the Fujisaki–Okamoto Transformation (IACR ePrint 2017/604, full version dated 2 November 2021, §3.1 and §3.2.1).
Point-deterministic variant of P at m₀ : M: encrypts m₀ deterministically to none
(ignoring coins) and every m ≠ m₀ to some (P.encDet pk m r). Decryption maps none to
some m₀ and some c to P.dec sk c filtered by · ≠ m₀.
unspreadPointPKE P m₀ has per-message decryption failure probability at most that of P.
unspreadPointPKE P m₀ is δ-correct whenever P is.
On any pair of challenge messages m₁ ≠ m₀ and m₂ ≠ m₀, unspreadPointPKE P m₀ has the exact
same fixed-message IND-CPA advantages (indCpaAdvantage) as P. It is not two-stage IND-CPA
secure (cpaAdvantage), since a two-stage adversary may choose m₀.
Every explicit-coin PKE (and in particular unspreadPointPKE P m₀) is trivially 0-spread.
Because unspreadPointPKE P m₀ encrypts m₀ deterministically to none, the coin-collision
probability at (m₀, none) is 1.
unspreadPointPKE P m₀ is not γ-spread for any γ > 0.
Scheme wrapper around unspreadPointPKE P m₀.
The 1-Query Decapsulation Probe Adversary #
The 1-query decapsulation probe adversary: ignores the challenge, queries the decapsulation
oracle once on none : Option CT, and outputs true iff the oracle returns some k.
probeDecapsAdv makes 0 queries to G, 0 queries to H, and 1 query to decaps.
In the keyless simulator game simBotGame, probeDecapsAdv outputs false with probability
1: when m* = m₀ the query none equals c* and is rejected; when m* ≠ m₀ the only cached
message in gCache is m*, whose encryption under unspreadPointPKE P m₀ is some _ ≠ none.
In the real FO^⊥ game roIndCcaBotGame, probeDecapsAdv outputs decide (m* ≠ m₀) for
each sampled challenge message m* ← sampleMsg.
Necessity of the qD · 2^{-γ} spreadness term in FO^⊥: for a uniform message sampler on a
finite message space M, the 1-query adversary probeDecapsAdv (qG = 0, qH = 0, qD = 1)
distinguishes eagerIndCcaBotGame from simBotGame over unspreadScheme P m₀ with advantage
1 - 1 / |M|.