Lazy/eager equivalence of the coupled FO-notbot game #
The lazy coupled game Scheme.coupledGame of
CslibFrontier.Crypto.Protocols.KEM.FujisakiOkamoto.NotBot.Hybrids answers G, the ciphertext
table Hq and the raw table Hraw lazily on the three caches of SimState. This module proves
that it has the same output distribution as the eager coupled game Scheme.eagerCoupledGame, a
step in the IND-CCA proof for FO-notbot of [HHK17] (IACR ePrint 2017/604,
full version dated 2 November 2021, §3.1 and §3.2.2).
The three lazy tables are one lazy random oracle coupledLazyOracle on the joined interface
CoupledSpec, read on the joined cache SimState.coupledCache, and every query of a filtered
coupled game is the oracle program coupledProgram over it (coupledFilterHandler_eq_interpret).
So RandomOracle.eval_run_interpret_eq_complete_bind replaces the three caches by complete tables
in one step, RandomOracle.bind_complete_sum splits the completed table into G, Hraw and Hq,
and interpret_coupledProgram reads the program on those tables. The same API serves the
approximate lazy/eager hop of FO^⊥ (CslibFrontier.Crypto.Protocols.KEM.FujisakiOkamoto.Bot),
whose decapsulation filter depends on the cache.
Main definitions #
Cslib.Crypto.Protocols.FujisakiOkamoto.CoupledSpec,Cslib.Crypto.Protocols.FujisakiOkamoto.SimState.coupledCache: the joined random-oracle interface of the coupled games and the joined cache of aSimState.Cslib.Crypto.Protocols.FujisakiOkamoto.Scheme.coupledProgram,Cslib.Crypto.Protocols.FujisakiOkamoto.Scheme.coupledLazyOracle,Cslib.Crypto.Protocols.FujisakiOkamoto.Scheme.coupledDistribution: the coupled game's queries as programs over the joined oracle, its lazy implementation and its sampling distributions.
Main results #
Cslib.Crypto.Protocols.FujisakiOkamoto.Scheme.coupledFilterHandler_eq_interpret,Cslib.Crypto.Protocols.FujisakiOkamoto.Scheme.eval_coupledLazyOracle_map_coupledCache,Cslib.Crypto.Protocols.FujisakiOkamoto.Scheme.interpret_coupledProgram: every filtered coupled handler iscoupledProgramagainst a lazy random oracle on the joined cache, and on a complete table it readsG,coupledHandHq.Cslib.Crypto.Protocols.FujisakiOkamoto.Scheme.eval_coupledGame_eq_eagerCoupledGame: the lazy coupled game and the eager coupled game have the same output distribution.
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).
The random oracles G : M → R, Hraw : Bool × M × CT → K and Hq : CT → K of the coupled
game as one interface.
The joined cache represented by the three list caches gCache, hCache and hqCache of a
SimState.
Each query of a coupled game as a program over its random oracles: G is forwarded, H runs
the coupled key derivation coupledH, and decapsulation of c ≠ cStar reads Hq c when
accept c holds and answers none otherwise.
The lazy random oracles G, Hraw and Hq of the coupled games on the caches of
SimState.
Each lazy oracle call, read on the joined cache, is a lazy call of the joined oracle.
coupledFilterHandler d interprets coupledProgram, with the decapsulation filter read on
the current G cache, against the lazy oracles on SimState.
Answering the coupled oracles from a complete table T turns coupledProgram into the
stateless dispatcher that reads G, coupledH and, for accepted ciphertexts, Hq from T.
Lazy/eager equivalence of the coupled game: the lazy coupled game S.coupledGame A b
has the output distribution of the eager coupled game S.eagerCoupledGame A b.