Documentation

CslibFrontier.Crypto.Protocols.MPC.DDHOT.Simulators

Stand-alone semi-honest security of fair-coin DDH oblivious transfer with PPT simulators #

CslibFrontier/Crypto/Protocols/MPC/DDHOT/Family.lean defines ddhOTProbFamily (ddhOTProbProtocol), the three-message DDH oblivious transfer protocol over a PrimeOrderGroupFamily F whose honest parties draw raw fair-coin bit strings via sampleExpBits n d (Remark 23.5, p. 1059) and retain those unreduced bit strings in PartyView.coins, together with the machine encoding ddhOTEncoding and the certified DDH reduction ddhOTReceiverToDDHDistinguisher.

This module gives uniform strict-PPT simulator families for all four static coalitions I : Finset (Fin 2) that likewise generate only raw fair-coin bit strings via sampleExpBits n d, and proves stand-alone ProtocolFamily.SemiHonestSecure of ddhOTProbFamily under F.DDH setup (DDH.ddhOTProbFamily_semiHonestSecure) as a step toward [BS23], Section 23.5.7.2, Theorem 23.7 (p. 1058; #5829, #5293):

Remaining gap to [BS23], Theorem 23.7 #

DDH.ddhOTProbFamily_semiHonestSecure is a stand-alone semi-honest step toward [BS23], Section 23.5.7.2, Theorem 23.7 (p. 1058), not the cited result (#5829, #5293):

Both parties and simulators draw raw fair-coin bit strings (sampleExpBits n d), and PartyView.coins retains those unreduced bit strings verbatim, discharging the coin-representation requirement of Section 23.5.7.2 ("Further assumptions about randomness", p. 1059) and [Lin17], Section 4.2, Definition 4.1 (p. 7; up to the uniform post-setup input-choice conventions of ProtocolFamily.SemiHonestSecure documented in CslibFrontier/Crypto/Protocols/MPC/Asymptotic.lean).

Main definitions #

Main results #

References #

The simulator families #

Simulator family for a corrupted sender ({0}) in ddhOTProbFamily: draws the sender's five raw fair-coin bit strings via sampleDDHOTSenderBitCoins n d (recording them unreduced in PartyView.coins, with the exact same law as the real sender) and one bit string bBits via sampleExpBits n d for the simulated Round 2 message.

Simulator family for a corrupted receiver ({1}) in ddhOTProbFamily: draws six raw fair-coin bit strings via sampleExpBits n d, recording bBits unreduced in the receiver's PartyView.coins (with the exact same law as the real receiver) and using the remaining five bit strings for ddhOTReceiverSimWithCoinsOf.

Statistical closeness to ddhOTReceiverSimOf #

On every input, ddhOTReceiverSimProb and ddhOTReceiverSimOf (which shares the receiver's exact sampleExpBits n d draw bBits and draws the five sender/mask exponents uniformly) are within statistical distance 5 / 2 ^ n.

Efficiency of the simulator families #

Empty and full coalitions #

Security #

Concrete statistical sender security of ddhOTProbFamily: against a corrupted sender ({0}), every environment Z—with no running-time bound and no computational assumption—has advantage at most 2 / 2 ^ n between the fair-coin real game and the ideal game with ddhOTSenderSimProb (1 / 2 ^ n from the honest receiver's sampleExpBits draw plus 1 / 2 ^ n from the simulator's bBits draw, while the sender's five raw bit strings are drawn from the exact same law in both games).

Step toward the corrupted-sender case of [BS23], Section 23.5.7.2, Theorem 23.7 (pp. 1058, 1060), not the cited result: this proves two-stage stand-alone ProtocolFamily.SemiHonestSecure at {0} for the checked per-branch-coin variant ddhOTProbFamily rather than Section 23.5.6 interactive emulation of F_ot for Figure 23.17 (#5829, #5293). F.ddhOTProbFamily is semi-honest secure against a corrupted sender ({0}) for every setup law setup, with no hardness assumption (advantage_ddhOTProbSenderGame_le, ≤ 2 / 2 ^ n).

Concrete receiver reduction bound for ddhOTProbFamily: against a corrupted receiver ({1}), every environment Z has advantage between the fair-coin real game and the ideal game with ddhOTReceiverSimProb at most the DDH advantage of ddhOTReceiverToDDHDistinguisher Z plus 14 / 2 ^ n (9 / 2 ^ n from advantage_ddhOTReceiverGame_le plus 5 / 2 ^ n from advantage_bind_ddhOTReceiverSimProb_le, with zero loss on the receiver's raw coin bit string).

Step toward [BS23], Section 23.5.7.2, Theorem 23.7 (p. 1058), not the cited result: this proves two-stage stand-alone ProtocolFamily.SemiHonestSecure for the checked per-branch-coin variant ddhOTProbFamily rather than execution indistinguishability against interactive report/control environments implementing F_ot in the restricted framework of Section 23.5.6 (pp. 1054–1056) for Figure 23.17 (#5829, #5293).

Under F.DDH setup, F.ddhOTProbFamily—whose parties draw raw fair-coin bit strings via sampleExpBits and record those unreduced bit strings in PartyView.coins, as in Remark 23.5 (p. 1059) and [Lin17], Section 4.2, Definition 4.1 (p. 7)—satisfies ProtocolFamily.SemiHonestSecure across every static coalition I : Finset (Fin 2) with certified uniform strict-PPT simulators and DDH reduction:

  • I = ∅ (no corruption): exact simulation (SimulatorFamily.empty, advantage 0);
  • I = {0} (corrupted sender): unconditional statistical simulation (ddhOTSenderSimProb, advantage ≤ 2 / 2 ^ n);
  • I = {1} (corrupted receiver): computational simulation (ddhOTReceiverSimProb) via the certified reduction ddhOTReceiverToDDHDistinguisher (advantage ≤ ddhAdv + 14 / 2 ^ n);
  • I = Finset.univ (full corruption): exact simulation (ddhOTFullSimProb, advantage 0).