Hybrid games for the ROM IND-CCA security of FO-notbot #
This module fixes the intermediate games of the IND-CCA proof for the
implicit-rejection transform FO-notbot = U-notbot ∘ T of [HHK17]
(IACR ePrint 2017/604, full version dated 2 November 2021, §3.1 and §3.2.2). The proof follows
the structure of the paper's proofs of the §3.1 theorem for T (OW-PCA case, with the
correctness hop that replaces G by good coins) and the §3.2.2 IND-CCA theorem for U-notbot,
composed directly rather than through an OW-PCA interface.
Starting from the eager game Scheme.eagerIndCcaGame of
CslibFrontier.Crypto.Protocols.KEM.FujisakiOkamoto.Security, the hybrids are:
Scheme.eagerFbGame: decapsulation of invalid ciphertexts uses an independent tableHfb : CT → Kinstead ofH(false, s, ·)for the secret seeds.Scheme.eagerCoupledGame: the oracles are computed from independent tablesG,Hq : CT → KandHraw : Bool × M × CT → K; a key-derivation queryH(false, m, c)readsHq cexactly whenc = Enc(pk, m; G(m))andDec(sk, c) = some m(Scheme.coupledH), and every decapsulation queryc ≠ c*readsHq c.Scheme.coupledGame: the lazy-sampling realization ofeagerCoupledGameonSimState. Its real and random challenge keys are compared inCslibFrontier.Crypto.Protocols.KEM.FujisakiOkamoto.NotBot.Challenge.
The keyless simulator Scheme.simHandler drops the decryption test Dec(sk, c) = some m from
coupledH; the FO-notbot proof uses it only inside the one-wayness experiment
Scheme.simFilterOwExperiment. The filtered games Scheme.coupledFilterGame and
Scheme.simFilterGame are the corresponding hybrids of the FO^⊥ proof.
Main definitions #
Cslib.Crypto.Protocols.FujisakiOkamoto.Scheme.eagerFbHandler,Cslib.Crypto.Protocols.FujisakiOkamoto.Scheme.eagerFbGame: eager game with decoupled implicit-rejection keys.Cslib.Crypto.Protocols.FujisakiOkamoto.Scheme.coupledH,Cslib.Crypto.Protocols.FujisakiOkamoto.Scheme.eagerCoupledHandler,Cslib.Crypto.Protocols.FujisakiOkamoto.Scheme.eagerCoupledGame: eager coupled game.Cslib.Crypto.Protocols.FujisakiOkamoto.Scheme.coupledHashH,Cslib.Crypto.Protocols.FujisakiOkamoto.Scheme.coupledHandler,Cslib.Crypto.Protocols.FujisakiOkamoto.Scheme.coupledGame: lazy coupled game.Cslib.Crypto.Protocols.FujisakiOkamoto.Scheme.coupledFilterGame,Cslib.Crypto.Protocols.FujisakiOkamoto.Scheme.simFilterGame: lazy coupled and keyless simulator games with a decapsulation filter and the challenge coinG(m*)programmed.
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).
Decoupled implicit rejection #
Stateless oracle of eagerFbGame: as eagerHandler, except that a decapsulation query
c ≠ cStar that decT rejects is answered by an independent table Hfb c rather than by
H(false, dk.fallback, c).
The eager IND-CCA game of FO-notbot with implicit-rejection keys drawn from an independent
table Hfb : CT → K instead of H(false, s, ·).
Eager coupled game #
Coupled key-derivation oracle: H(false, m, c) reads the ciphertext table Hq c when
c = Enc(pk, m; G(m)) and Dec(sk, c) = some m, and the raw table Hraw otherwise.
Stateless oracle of eagerCoupledGame: G reads G, H reads coupledH, and every
decapsulation query c ≠ cStar reads Hq c.
The eager coupled game: independent tables G, Hq, Hraw, challenge
c* = Enc(pk, m*; G(m*)) with real key coupledH (false, m*, c*).
Lazy coupled and simulator games #
Lazy realization of coupledH on SimState: G on gCache, Hq on hqCache and Hraw
on hCache. It differs from simHashH only in the decryption test Dec(sk, c) = some m.
The filtered decapsulation branch shared by simFilterHandler and coupledFilterHandler
leaves gCache unchanged.
The decapsulation branch shared by simHandler and coupledHandler leaves gCache
unchanged.
Lazy coupled handler parameterized by a decapsulation filter d : List (M × R) → CT → Bool;
it differs from simFilterHandler only in using coupledHashH for H.
Lazy realization of eagerCoupledHandler on SimState; it differs from simHandler only
in using coupledHashH for H.
Lazy coupled game parameterized by a decapsulation filter
d : PK → SK → List (M × R) → CT → Bool.
The lazy coupled game: G(m*) is programmed to fresh challenge coins r* and the real key
is the answer of coupledHashH to (false, m*, c*).
Lazy keyless simulator game parameterized by a decapsulation filter
d : PK → List (M × R) → CT → Bool.