Universal composability
In the universal composability (UC) framework, a protocol securely realizes an ideal functionality if for every efficient adversary attacking there is an efficient simulator attacking an ideal execution of such that no efficient environment , which chooses the parties’ inputs, reads their outputs and converses with the adversary throughout, tells the two executions apart — Can01. A protocol secure in this sense stays secure as a subroutine of an arbitrary protocol, by the composition theorem below. The statements follow the journal version of Can01 (JACM 2020); details of the model differ between its versions.
Model of execution
Every machine is an instance of an interactive Turing machine (ITM). A protocol fixes the program of its parties, and each party is identified by a session identifier , common to the parties of one session, and a party identifier . A party takes inputs from the machine that invoked it, returns outputs to that machine, invokes subroutines, and sends messages to other parties — Can01.
- Environment. starts on the security parameter and an input , invokes the adversary and the main parties of the protocol under analysis, gives those parties inputs, reads their outputs, and exchanges messages with the adversary at any time. Its output is one bit — Can01.
- Adversary. delivers the messages between parties; the basic model provides neither authenticated nor private channels, which are ideal functionalities (, ) — Can01. also corrupts parties: it receives a corrupted party’s state and controls the party from then on.
- Corruption. Corruptions are static when they all happen before the execution starts, and adaptive when chooses whom to corrupt during the execution, depending on what it has seen — Can01. Against adaptive corruptions, some protocols assume that honest parties can erase internal state before a corruption reveals it — CF01.
is the distribution of the output bit of after an execution of with adversary and environment , and is the ensemble indexed by and . Two such binary ensembles and are indistinguishable, , if for all there is such that
for all and all with — Can01.
Ideal functionalities
An ideal functionality is a machine that plays the trusted party of a task. It takes inputs from the parties, may exchange messages with the adversary, for instance to leak information to it or to let it delay an output, and hands outputs to the parties. The ideal protocol consists of dummy parties, each of which forwards every input it receives to and every output it receives from to the machine that invoked it. The adversary in an execution of is the simulator : it interacts with and with , and through each corrupted dummy party it gives inputs and receives the party’s outputs — Can01.
UC emulation
Following Can01, a protocol UC-emulates a protocol if for all PPT there is a PPT such that for all PPT ,
Polynomial time is defined for ITMs in terms of the length of their inputs, and the journal version quantifies over balanced environments, a technical restriction on that this notion of polynomial time requires — Can01. A protocol UC-realizes if UC-emulates — Can01.
The simulator depends on but not on , and interacts with it throughout the execution, so cannot rewind : a simulator that must hand a corrupted party’s input extracts it straight-line — CF01, CKL03.
Dummy adversary. The dummy adversary delivers messages and corrupts parties as instructs, and forwards to everything it receives. A protocol UC-emulates if and only if there is a PPT such that for all PPT , — Can01. The quantifier over adversaries can thus be dropped, the environment playing the adversary through .
Hybrid models and composition
In the -hybrid model, the parties of a protocol may invoke any number of sessions of , each with its own session identifier — Can01. For protocols , and , the protocol is with every invocation of a session of replaced by an invocation of a session of with the same identifiers, and replaces the sessions of — Can01.
Composition theorem. If UC-emulates , then UC-emulates — Can01. Taking : if UC-realizes and UC-realizes in the -hybrid model, then UC-realizes — Can01.
The journal version states the theorem under side conditions: and are subroutine respecting, meaning that the machines a session of either protocol invokes, other than the session’s main parties, exchange inputs and outputs only with machines of the same session, and subroutine exposing; and is -compliant for a predicate on identities such that UC-emulates against environments restricted by — Can01. Subroutine respect excludes a subroutine shared with other sessions, such as one reference string used by every session — CDPW07; joint-state and global-setup composition, below, treat that case.
Impossibility without setup
In the plain model, over authenticated channels with no setup, no protocol in which only the committer and the receiver take part, and in which the receiver accepts an honest committer’s commitment with non-negligible probability, UC-realizes the commitment functionality, even against an adversary that corrupts one of them at the outset (no UC commitment from authenticated channels) — CF01. Large classes of two-party functionalities have no non-trivial protocol, one that gives each party its output when both are honest and every message is delivered, that UC-realizes them against a malicious adversary statically corrupting one party, whatever the computational assumption (no UC MPC from authenticated channels) — CKL03. Security under concurrent general composition is equivalent to a relaxation of UC security that differs only in the order of quantifiers, so it too is unachievable in the plain model for large classes of two-party functionalities — Lin03b. With an honest majority no setup is needed: as long as only a minority of the parties are corrupted, practically any functionality can be UC-realized — Can01.
Setup assumptions
Common reference string. In the CRS model, the -hybrid model, all parties of a session have access to one string drawn from a predetermined distribution — CF01. There, trapdoor permutations over bit strings give UC commitments with one reference string per commitment (TDP over bit strings ⇒ UC commitment), and a claw-free pair of trapdoor permutations together with a CCA2-secure PKE gives UC multi-commitments with one reference string for all commitments (claw-free TDP + CCA2 PKE ⇒ UC multi-commitment) — CF01. Enhanced trapdoor permutations give every well-formed functionality a non-trivial protocol that UC-realizes it against a malicious adversary statically corrupting any number of parties, non-trivial meaning that the parties generate output when none is corrupted and all messages are delivered (enhanced TDP ⇒ UC MPC) — CLOS02. Two-round UC-secure OT follows from DDH (DDH ⇒ two-round UC-secure OT), QR (QR ⇒ two-round UC-secure OT) or LWE with polynomial modulus-to-noise ratio (LWE ⇒ two-round UC-secure OT) — PVW08 — and from CDH (CDH ⇒ two-round UC-secure OT) — DGHMW20.
Joint state. If UC-realizes the multi-session extension of , a single functionality that runs every session of , then a protocol in the -hybrid model stays secure when all its sessions of are replaced by one session of , which may share state, such as one reference string, across them — CR03.
Global setup. Generalized UC (GUC) security lets the environment run arbitrary other protocols that use the same setup as the protocol under analysis, and so models setup that is globally available — CDPW07.
Super-polynomial simulation. Letting the simulator run in super-polynomial time is a way around plain-model impossibility results: with quasi-polynomial-time simulation, constant-round zero-knowledge arguments that are straight-line simulatable under concurrent composition exist without setup, under a subexponential hardness assumption — Pas03.
Angel-based security. The adversary, in the real and in the ideal execution, and the environment get access to a super-polynomial-time oracle, the angel. PS04 prove a composition theorem for the notion and, under new computational assumptions, realize secure multi-party computation against static adversaries without setup.