Documentation

CslibFrontier.Crypto.Protocols.KEM.FujisakiOkamoto.NotBot.Pushforward

Re-indexing the random oracles of FO-notbot #

The eager game with decoupled implicit-rejection keys (Scheme.eagerFbGame) and the eager coupled game (Scheme.eagerCoupledGame) have the same output distribution. For fixed G, pk and sk, the tables H : Bool × M × CT → K and Hfb : CT → K are read off independent tables Hq : CT → K, Hraw : Bool × M × CT → K and Hfb' : CT → K:

Since Dec is deterministic, each entry Hq c is read at most once, so the read-off tables again have independent coordinates with the original sampleKey law (pi_map_comp_injective). Under this re-indexing every decapsulation query c ≠ c* is answered by Hq c, whether decT accepts c or not. This is the re-randomization step of the proof of the IND-CCA theorem for U-notbot in [HHK17] (IACR ePrint 2017/604, full version dated 2 November 2021, §3.2.2), with the plaintext-checking oracle replaced by the re-encryption and decryption test of T.

Main results #

References #

theorem Cslib.Crypto.Protocols.FujisakiOkamoto.Scheme.bind_keyTable_coupledH {PK SK M R CT K : Type} [DecidableEq M] [DecidableEq CT] [Fintype M] [Fintype CT] [Finite K] (S : Scheme PK SK M R CT K) (G : M → R) (pk : PK) (sk : SK) {β : Type} (F : (Bool × M × CT → K) → PMF β) :
((S.keyTable (Bool × M × CT)).bind fun (H : Bool × M × CT → K) => F H) = (S.keyTable CT).bind fun (Hq : CT → K) => (S.keyTable (Bool × M × CT)).bind fun (Hraw : Bool × M × CT → K) => F (S.coupledH G Hq Hraw pk sk)

Reading the independent tables (Hq, Hraw) through coupledH gives an independent table H.

theorem Cslib.Crypto.Protocols.FujisakiOkamoto.Scheme.eagerCoupledGame_eq_eagerFbGame {PK SK M R CT K : Type} [DecidableEq M] [DecidableEq CT] [Fintype M] [Finite R] [Fintype CT] [Finite K] (S : Scheme PK SK M R CT K) (A : ROAdversary PK M R CT K) (b : Bool) :

Re-indexing the random oracles of FO-notbot: the eager coupled game and the eager game with decoupled implicit-rejection keys have the same output distribution.