Shared correctness facts for Fujisaki--Okamoto transforms #
This module contains the PKE-level facts shared by the unsalted and salted FO correctness hops. A
coin cache is good when every cached honest encryption decrypts to its cached message.
ExplicitCoinPKE.advantage_bind_keyGen_le is the common key-mixture rule: fixed-key CloseTo
bounds proportional to the worst-message failure probability average to the exact
loss * δ two-world advantage bound under ExplicitCoinPKE.DeltaCorrect δ.
Main definitions #
Cslib.Crypto.Protocols.ExplicitCoinPKE.GoodCache: every cached message/coin pair decrypts correctly for a fixed key pair.
Main results #
Cslib.Crypto.Protocols.ExplicitCoinPKE.GoodCache.of_subset: goodness is inherited by a subcache.Cslib.Crypto.Protocols.ExplicitCoinPKE.advantage_bind_keyGen_le: average a fixed-key correctness hop over key generation.
Every cached message/coin pair decrypts correctly for a fixed PKE key pair.
A subcache of a good cache is good.
Average a fixed-key FO correctness hop over PKE key generation. If fixed-key real and
simulated games are within loss times that key pair's worst-message failure probability, then
DeltaCorrect δ bounds their key-averaged two-world advantage by loss * δ.