The adaptive dummy adversary #
The adaptive dummy adversary UC.adaptiveDummyAdversary forwards every query of the environment
to the routed adaptive network port AdaptiveNetQ/AdaptiveNetR—including party inputs, .net
network messages, and .corrupt i queries—and returns every reply and CorruptionReport verbatim.
As in the static setting (CslibFrontier.Crypto.Protocols.UC.DummyAdversary), simulating the
adaptive dummy adversary suffices for general adaptive UC emulation
(UC.adaptiveEmulates_iff_adaptiveEmulatesDummy). The key subtlety relative to static UC is that an
AdaptiveAdversary carries its initial corruption set initial : ℕ → Finset (Fin n): since the
environment can inspect corrupted via AdaptivePartyQ.status (passed straight through by
UC.liftAdaptiveAdversary), UC.AdaptiveEmulatesDummy and UC.AdaptiveEmulatesDummyWithin
quantify S_D per C₀ : ℕ → Finset (Fin n) (∀ C₀, ∃ S_D, ...). Given A, composing A on top
dummy simulator S_D obtained for C₀ := A.initial yields UC.compAdaptiveSim S_D A with
initial := S_D.initial.
Budgets count oracle calls per activation (Cslib.Crypto.Protocols.UC.Machine.IsBounded), not
running time; these theorems are call-bounded statistical adaptations of Claim 11 (p. 28:43) of
[Can20a] to the snapshot adaptive-corruption model of UC.Adaptive (inspired by Section
7.1.1, p. 28:71; §7.1.1's write-once storage restriction remains open).
Main definitions #
Cslib.Crypto.Protocols.UC.adaptiveDummyAdversary: the adaptive forwarding adversary.Cslib.Crypto.Protocols.UC.compAdaptiveSim: an adversary composed on top of a dummy simulator.Cslib.Crypto.Protocols.UC.absorbAdaptiveAdversary: an environment running an adversary internally while passing party and.statusqueries through unchanged.Cslib.Crypto.Protocols.UC.AdaptiveEmulatesDummyWithin,Cslib.Crypto.Protocols.UC.AdaptiveEmulatesDummy: concrete and negligible-error emulation of the adaptive dummy adversary.
Main results #
Cslib.Crypto.Protocols.UC.adaptiveExec_dummyAdversary,Cslib.Crypto.Protocols.UC.adaptiveExec_eq_adaptiveExec_dummy,Cslib.Crypto.Protocols.UC.adaptiveExec_compAdaptiveSim,Cslib.Crypto.Protocols.UC.adaptiveAdvantage_compAdaptiveSim: execution regrouping laws.Cslib.Crypto.Protocols.UC.AdaptiveEmulatesDummyWithin.emulatesWithin,Cslib.Crypto.Protocols.UC.AdaptiveEmulatesWithin.emulatesDummyWithin,Cslib.Crypto.Protocols.UC.adaptiveEmulates_iff_adaptiveEmulatesDummy: adaptive dummy-adversary completeness.
References #
- R. Canetti, Universally Composable Security, Section 4.3 (Claim 11, p. 28:43, dummy-adversary completeness) and Section 7.1.1 (p. 28:71, inspiration for the snapshot adaptive-corruption model).
Adaptive dummy adversary, black-box simulators, and absorbed environments #
Compose an adversary A on top of a dummy-adversary simulator S_D, inheriting S_D's
initial corruption set.
Absorb an adaptive adversary A into the environment Z. Party and .status queries from Z
pass through unchanged to adaptiveRouter.
Running the adaptive execution with adaptiveDummyAdversary runs Z directly against
adaptiveRouter.
Running any adaptive adversary A with Z equals running adaptiveDummyAdversary with
initial set A.initial against the absorbed environment absorbAdaptiveAdversary A Z.
Running compAdaptiveSim S_D A with Z equals running S_D with the absorbed environment
absorbAdaptiveAdversary A Z.
Advantage of Z against (P, A) and (Q, compAdaptiveSim S_D A) equals the advantage of
absorbAdaptiveAdversary A Z against (P, adaptiveDummyAdversary A.initial) and (Q, S_D).
Absorbing the dummy adversary leaves an environment unchanged.
Budgets #
The adaptive dummy adversary makes at most one call per activation.
Composing A (budget pA) on top of S_D (budget pD) gives budget pA * (pD + 1) + pD.
Absorbing an adaptive adversary with budget pA into an environment with budget pZ gives
budget absorbPoly pZ pA.
Completeness of the adaptive dummy adversary #
Concrete emulation of the adaptive dummy adversary under mode in the snapshot
adaptive-corruption model of UC.Adaptive (statistical, call-bounded adaptation of [Can20a],
Definition 10 and Claim 11, p. 28:43; §7.1.1 write-once storage remains open): for every initial
corruption schedule C₀, there exists a simulator S_D with call budget pD such that every
environment Z with budget pZ has advantage at most ε pZ κ. Quantifying C₀ outside S_D
lets S_D.initial match C₀, which .status makes observable.
Completeness of the adaptive dummy adversary (concrete): simulating the dummy adversary implies
general adaptive emulation with simulator overhead compSimPoly pD and error evaluated at the
absorbed environment budget absorbPoly pZ pA.
Concrete adaptive emulation implies concrete dummy-adversary emulation with budget
g.comp (X + 1).
Negligible-error emulation of the adaptive dummy adversary under mode in the snapshot
adaptive-corruption model of UC.Adaptive (statistical, call-bounded adaptation of [Can20a],
Claim 11, p. 28:43; §7.1.1 write-once storage remains open).
Completeness of the adaptive dummy adversary (negligible error) in the snapshot
adaptive-corruption model of UC.Adaptive: adaptive UC emulation is equivalent to simulating the
adaptive dummy adversary (call-bounded adaptation of [Can20a], Claim 11, p. 28:43).