<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Round Optimal Black-box MPC in the Plain Model</title></titleStmt>
			<publicationStmt>
				<publisher>CRYPTO 2023</publisher>
				<date>08/01/2023</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10489785</idno>
					<idno type="doi"></idno>
					<title level='j'>CRYPTO 2023</title>
<idno></idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Yuval Ishai</author><author>Dakshita Khurana</author><author>Amit Sahai</author><author>Akshayaram Srinivasan</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[We give the őrst construction of a (fully) black-box roundoptimal secure multiparty computation protocol in the plain model. Our protocol makes black-box use of a sub-exponentially secure two-message statistical sender private oblivious transfer (SSP-OT), which in turn can be based on (sub-exponential variants of) most of the standard cryptographic assumptions known to imply public-key cryptography.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>The exact round complexity of secure computation has been a focus of research in cryptography over the past two decades. This has been especially well-studied in the synchronous setting in the plain model, with up to all-but-one static malicious corruptions. It is known that general-purpose secure multiparty computation (MPC) protocols in this setting admitting a black-box simulator require at least 4 rounds of simultaneous exchange [GK96b, <ref type="bibr">KO04,</ref><ref type="bibr">GMPP16]</ref>. <ref type="foot">5</ref> In this work we focus on MPC with black-box simulation. On the positive side, there has been a long sequence of works [GMPP16, BHP17, ACJ17, KS17, BGI + 17, BGJ + 18, CCG + 20] improving the round complexity, culminating in a round-optimal construction that relies on the minimal assumption that a 4-round malicious-secure OT protocol exists [CCG + 20].</p><p>Black-Box Use of Cryptography. Notably, all MPC protocols discussed above make non-black-box use of cryptography, which is typically associated with signi&#337;cant overheads in efficiency. It is interesting, from both a theoretical and a practical perspective, to realize fully black-box protocols <ref type="bibr">[RTV04]</ref> where not only does the simulator make black-box use of an adversary, but also the construction itself can be fully speci&#337;ed given just oracle access to the input-output relation of the underlying cryptographic primitives, and without being given any explicit representation of these primitives. In the following, we refer to this standard notion of fully black-box protocols as simply black-box protocols. The focus of this work is on the following natural question:</p><p>What is the round complexity of black-box MPC in the plain model?</p><p>It was only recently that the concrete round complexity of black-box MPC in the plain model was studied. <ref type="bibr">Ishai et al. [IKSS21]</ref> obtained a &#337;ve-round MPC protocol making only black-box use of a public-key encryption scheme with pseudorandom public keys, along with any 2-message OT protocol satisfying semimalicious security. They also gave 4-round protocols for a restricted class of functionalities that consist of parallel copies of &#322;sender-receiver&#382; two-party functionalities. While signi&#337;cantly improving over prior works, which required more than 15 rounds, it did not generally match the known 4-round lower bound. Indeed, round-optimal black-box protocols are not known even for the restricted case of two-sided 2PC, where both parties receive the output at the end of the protocol execution. Furthermore, <ref type="bibr">[IKSS21]</ref> highlighted signi&#337;cant barriers in extending their techniques to obtain a round-optimal construction.</p><p>Our Results. In this work, we overcome these barriers to obtain a 4-round blackbox MPC, thereby obtaining the &#337;rst round-optimal fully-black-box MPC in the plain model for general functions. Our construction makes black-box use of any sub-exponential secure two-message OT, that satis&#337;es a well-studied &#322;statistical sender privacy&#382; (SSP-OT) property. This essentially requires that the sender input remain statistically hidden from an unbounded malicious receiver. Such an OT protocol can be instantiated based on (sub-exponential variants) of standard cryptographic assumptions such as DDH/QR/N th Residuosity/LWE [NP01, AIR01, Kal05, HK12, BD18, DGI + 19]. This covers most of the standard cryptographic assumptions known to imply public-key cryptography, with LPN being the most notable exception<ref type="foot">foot_1</ref> </p><p>On the role of subexponentially secure OT. We stress that even though we rely on sub-exponentially secure OT, our &#337;nal simulator still runs in expected polynomial time. This itself may seem counter-intuitive, and indeed we see it as a highlight of our technique and work. Very roughly, the reason why subexponentially secure OT is helpful to us for achieving polynomial-time simulation is that we design a protocol that admits two separate means for extracting the adversary's input. One is an &#322;optimistic&#382; extraction that runs in expected polynomial time, and the other is a super-polynomial extraction that achieves stronger properties. We use the super-polynomial extraction to essentially &#322;bootstrap&#382; and allow the optimistic extraction to succeed for the purposes of simulation. (See Technical Overview below for more details.) We believe this technique is of independent interest and may inspire progress in other settings where standard polynomial simulation is desired, but there is a need to reduce round complexity beyond a barrier that arises from the need for some component of the protocol to achieve simulation security.</p><p>Finally, we note that the 4-round lower bound [GK96b, KO04, GMPP16] holds even when considering protocols that rely on sub-exponential hardness assumptions as long as the simulator runs in (expected) polynomial time.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.1">Related Work</head><p>The black-box round-complexity of general purpose secure computation as well as for speci&#337;c tasks such as oblivious transfer, zero-knowledge, non-malleable commitments etc., has a long and rich history.</p><p>General Purpose MPC. Haitner et al. [HIK + 11] gave the &#337;rst construction of a malicious-secure black-box MPC protocol in the plain model based on any semihonest secure oblivious transfer. However, the round complexity of this construction grew linearly in the number of parties (denoted by n) even if one starts with a constant round semi-honest OT protocol. A later work of Wee [Wee10] gave a O(log * n) black-box protocol by relying on stronger cryptographic assumptions such as dense cryptosystems, or homomorphic encryption, or lossy encryption. This was later improved by <ref type="bibr">Goyal [Goy11]</ref> to give a constant round protocol under similar assumptions. Unfortunately, this constant was more than 15 which is a far cry from the lower bound of 4. A recent work of <ref type="bibr">Ishai et al. [IKSS21]</ref> gave a black-box &#337;ve-round protocol based on any PKE with pseudorandom public keys and any two-message OT protocol with semi-malicious security.</p><p>Special Secure Computation Tasks. For the case of oblivious transfer, Ostrovsky et al. <ref type="bibr">[ORS15]</ref> gave a round-optimal (i.e., a four-round) construction that made black-box use of enhanced trapdoor permutations. <ref type="bibr">Friolo et al. [FMV19]</ref> gave a round-optimal black-box construction of OT based on any public key encryption with pseudorandom public keys. Other black-box constructions of four-round OT from lower level primitives were given in [CCG + 21, MOSV22]. <ref type="bibr">Ishai et al. [IKSS21]</ref> extended these results to the multiparty setting and gave a round-optimal protocol for pairwise oblivious transfer functionality. In the pairwise OT setting, each ordered pair of parties, namely, P i and P j execute an OT instance with P i acting as the sender and P j acting as the receiver. This can be extended to parallel instances of general two-party sender-receiver functionalities.</p><p>Hazay and Venkitasubramanian [HV18] and <ref type="bibr">Khurana et al. [KOS18]</ref> gave round-optimal black-box constructions of zero-knowledge arguments based on injective one-way functions. <ref type="bibr">Hazay et al. [HPV20]</ref> showed that unless the polynomial hierarchy collapses, all of NP cannot have a black-box zero-knowledge argument based on one-way functions. <ref type="bibr">Goyal et al. [GLOV12]</ref> gave the &#337;rst constant-round black-box construction of non-malleable commitments based on one-way functions. A latter work of <ref type="bibr">Goyal et al. [GPR16]</ref> gave a three-round (which is round-optimal) black-box construction that is secure against a weaker class of synchronizing adversaries assuming the existence of injective one-way functions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Technical Overview</head><p>In this section, we give an overview of the main techniques used in our construction of a round-optimal black-box secure multiparty computation protocol.</p><p>Starting Point. The starting point of our work is the recent result of <ref type="bibr">Ishai et al. [IKSS21]</ref> who gave a construction of a &#337;ve-round MPC protocol that makes black-box use of any public-key encryption scheme with pseudorandom public keys and any two-message semi-malicious OT protocol.<ref type="foot">foot_2</ref> Their protocol is obtained via a round-efficient implementation of the IPS compiler [IPS08] in the plain model.</p><p>We note a key component that was used in their instantiation: a four-round black-box protocol that securely implements the watchlist functionality. Informally speaking, the watchlist functionality is an n-party functionality where each ordered pair of parties (P i , P j ) where i, j &#8712; [n] are involved in a k-out-of-m OT instance with P i acting as the sender and P j acting as the receiver. Using this four-round watchlist protocol, Ishai et al. <ref type="bibr">[IKSS21]</ref> showed that with an additional round of interaction, it is possible to securely compute any multiparty functionality. Furthermore, the resulting protocol only made black-box use of cryptographic primitives.</p><p>Going Below Five Rounds. In the same work, <ref type="bibr">Ishai et al. [IKSS21]</ref> also observed that to get a four-round protocol (which is round-optimal) in the plain model by making use of the IPS compiler, one needs a three-round watchlist protocol. However, such a protocol cannot satisfy the standard simulation based security de&#337;nition w.r.t. a simulator that only makes black-box use of the adversary. This is because such a simulation-secure watchlist protocol almost directly implies a three-round protocol for oblivious transfer that satis&#337;es standard simulation security. We know that such a protocol is impossible to construct (even with non-black-box use of cryptography) if the simulator uses the adversary in a black-box manner <ref type="bibr">[KO04]</ref>. Furthermore, to make matters more complicated, the proof of security of the overall compiler given in <ref type="bibr">[IKSS21]</ref> crucially relied on the watchlist protocol to satisfy the standard simulation-style de&#337;nition. Therefore, to go below &#337;ve rounds and obtain a round-optimal construction, we need to come up with a new set of techniques.</p><p>Our Approach in a Nutshell. In this work, we show how to instantiate the IPS compiler using a weaker notion of watchlists, that we call watchlists with promise security. As one of our main contributions, we give a construction of a threeround watchlist protocol that satis&#337;es promise security. In Section 2.1, we motivate the de&#337;nition of this weaker watchlist protocol and show how it can be used to instantiate the IPS compiler and in Section 2.2, we give the main ideas in constructing such a watchlist protocol.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1">Instantiating the IPS Compiler with Three-Round Watchlist</head><p>What Security can be achieved in Three Rounds? The work of <ref type="bibr">Ishai et al. [IKSS21]</ref> gave a round-preserving compiler that transforms any two-party computation protocol that satis&#337;es certain additional properties (which we will ignore for the moment) to a watchlist protocol. To understand what security properties can be achieved by a three-round watchlist protocol, let us &#337;rst try to understand what type of security can be achieved by a three-round 2PC protocol.</p><p>Recall that in the standard two-party protocol setting, there is a receiver who holds an input x and there is a sender who holds an input y. At the end of the protocol, the receiver obtains the output of f (x, y) for some pre-determined functionality f . If we consider three-round protocols for the above task, then the &#337;rst and the third round messages in the protocol are sent by the sender and the second round message is sent by the receiver.<ref type="foot">foot_3</ref> As the sender is tasked with sending both the &#337;rst and the third round message, a simulator could potentially rewind the second and the third round messages in the protocol and extract the effective private input from an adversarial sender. In other words, a three-round 2PC protocol could satisfy standard simulation-based security de&#337;nition against malicious senders. However, the receiver in this protocol is only sending a single message, namely, the second round message. In fact, it is impossible to design a black-box PPT simulator that could extract the effective private input from an adversarial receiver.</p><p>The key observation is that if we allow the simulator against malicious receivers to run in super-polynomial time, then such a simulator can extract the effective receiver input and provide security against malicious receivers. Therefore, in the three-round setting, we can hope to construct a two-party protocol that satis&#337;es standard simulation based security against malicious senders and super-polynomial time simulation security against malicious receivers. Indeed, as we explain later, we give a construction of such a three-round protocol that makes black-box use of a sub-exponentially hard two-message OT protocol with statistical sender security. Such an OT protocol is known from the (subexponential variant) of standard cryptographic hardness assumptions such as DDH/N th residuosity/LWE/QR [AIR01, NP01, Kal05, HK12, BD18, DGI + 19].</p><p>Instantiating the IPS Compiler with the Three-Round Watchlist. Given the twoparty protocol above, we could hope to obtain a three-round watchlist satisfying &#322;semi-SPS&#382; security by following ideas in prior work <ref type="bibr">[IKSS21]</ref>. If this were possible, could we directly get a four-round MPC protocol by instantiating the IPS compiler with this &#322;semi-SPS&#382; three-round watchlist protocol? Unfortunately, this is not quite possible, as we now explain. To understand this better, we give a brief overview of the IPS compiler which is simpli&#337;ed and tailored to constructing a four-round protocol. The IPS compiler makes use of the following components:</p><p>-A two-round client-server MPC protocol that is secure against a malicious adversary that corrupts an arbitrary number of clients and a constant fraction of the servers. This is called as the outer protocol. Such an outer protocol was constructed by <ref type="bibr">Ishai et al. [IKP10,</ref><ref type="bibr">Pas12]</ref> by making black-box use of any PRG. -A four-round inner protocol that satis&#337;es the following robustness property.</p><p>Speci&#337;cally, even if the adversary behaves maliciously and deviates arbitrarily from the protocol speci&#337;cation in the &#337;rst three rounds, it cannot learn any information about the inputs of the honest parties. Furthermore, if the adversary is able to produce an input, random tape that correctly explains that the messages sent by it in the &#337;rst three rounds, then the last round message from the honest parties only reveals the output of the functionality.<ref type="foot">foot_4</ref> -A three-round watchlist protocol that satis&#337;es the standard extraction of the adversarial sender inputs and super-polynomial time extraction of the adversarial receiver inputs.</p><p>In the compiled protocol, each party plays the role of a client in the outer protocol and computation done by the servers are emulated by the inner protocol. To ensure that that the adversary only cheats in at most a small number of these inner protocol executions, we make use of the watchlist protocol. Speci&#337;cally, each party acting as the receiver in the watchlist protocol chooses a random subset of k executions as part of its secret watchlist. Every other party acting as the sender uses the input, randomness used in each of the inner protocol executions as the sender inputs. This watchlist protocol is run in parallel with the &#337;rst three rounds of the inner protocol. At the end of the third round, each party checks if the input, randomness pair provided by every other party corresponding to its watched executions are consistent. If it detects any inconsistency, then it aborts. Using standard probabilistic arguments, it is possible to show that if the honest parties have not aborted at the end of their watchlist check, then the adversary only deviates in a tiny constant fraction of the inner protocol executions. These deviations can be directly mapped to the corresponding server corruptions in the outer protocol. Since the outer protocol is secure against a constant fraction of the server corruptions, security of the overall protocol follows.</p><p>While the above intuition seems sound, we encounter a major issue while formalizing it. In particular, recall that we are aiming for standard polynomial security for our 4-round protocol, but we are relying on super-polynomial time extraction as an ingredient. Thus, we are only able to show that this protocol satis&#337;es security via a super-polynomial time simulator. The &#322;super-polynomial&#382; part in this simulator is needed to extract the receiver inputs used by the adversarial parties in the watchlist protocol. Recall that in the watchlist protocol, the adversarial receiver inputs correspond to the set of watched executions of the corrupted parties. We need to extract this information in order to invoke the security of the outer protocol.<ref type="foot">foot_5</ref> Further, the simulator also needs to additionally extract the adversarial sender inputs. As mentioned earlier, we cannot hope to simultaneously achieve efficient polynomial time extraction of both the sender and the receiver inputs.</p><p>Our Solution: &#322;Promise-Style&#382; Extraction. In order to get around this issue, we use a &#322;promise-style&#382; extraction technique that is inspired by the notion of Promise Zero-Knowledge [BGJ + 18]. Speci&#337;cally, we seek to devise an alternative polynomial-time extraction system that guarantees extraction of the adversarial receiver inputs only against those adversaries that send a valid third round message in the watchlist protocol (with non-negligible probability). For all other adversaries, we do not provide any guarantees. Let us now explain how this weaker extraction guarantee is sufficient to instantiate the IPS compiler.</p><p>The simulator of the compiled protocol starts generating the &#337;rst-round messages of the outer protocol using some default inputs for the honest parties. Note that these &#337;rst round messages correspond to the inputs to the inner protocol executions. The simulator uses these &#322;dummy&#382; inputs to the inner protocol and starts interacting with the adversary for the &#337;rst three rounds. If the adversary aborts during this interaction, or fails to send a valid third round message in the watchlist protocol, then the simulator simply outputs the view of this adversary. On the other hand, if the adversary sends a valid third round message in the watchlist protocol, then the simulator uses the &#322;promise-style&#382; extractor to extract the set of watched executions. This information is then used by the simulator to simulate the messages in the main thread (using Goldreich-Kahan simulation technique [GK96a]).</p><p>A subtle point to note here is that the third round message in the watchlist protocol is sent by the adversary only after it receives the third round message from the honest parties (as we are considering rushing adversaries). However, the third round message of the watchlist protocol delivers the input, randomness used by the honest parties corresponding to the adversarial watched executions. Recall that the simulator described above uses &#322;dummy&#382; inputs in the inner protocol executions and tries to extract the adversarial watched executions. This will succeed only if the distribution of the messages generated by the simulator is computationally indistinguishable to the messages in the real protocol. Specifically, to prove this indistinguishability, we need to make sure that the output of the watchlist protocol when using the real inputs is indistinguishable to the case when the simulator uses default inputs.</p><p>To argue this, we rely on the security of the outer protocol. Recall that the inputs given to the inner protocol executions correspond to the messages sent by the clients to the servers. By corrupting the servers corresponding to the adversarial watched executions, we are guaranteed that the &#337;rst round message sent to these servers reveals no information about the inputs of the honest clients. To give a bit more details, this is realized by &#337;rst relying on the SPS security of the watchlist protocol against adversarial receivers to extract the adversarial watched executions, and then switch the input to a default value by relying the security of the outer protocol, and then switch back to an honest watchlist execution using the default inputs.</p><p>Another point to note here is that we cannot guarantee perfect extraction of the adversarial receiver inputs even if it sends a valid third round message with non-negligible probability. Due to technical reasons, we can only guarantee &#322;almost&#382; perfect extraction. By this, we mean that whenever the output received by the adversarial receiver is not &#8869;, the output of the promise extractor is identical to the SPS extractor. In other cases, there are no guarantees about the extracted value. We show that this weaker property is sufficient to instantiate the IPS compiler. Roughly, this is because if the output of the watchlist protocol is provided to the adversary is &#8869;, the adversary learns no information about the input, randomness for any inner protocol execution. Hence, if the promise extractor &#322;over-extracts&#382; the adversarial watched executions, this does not create any trouble with the simulation.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2">Constructing Three-Round Watchlists with Promise Extraction</head><p>A core ingredient of our black-box MPC protocol is a three-round &#322;watchlist&#382; protocol with promise-style extraction guarantees. For every i &#8712; [n], j &#8712; [n] \ {i}, this functionality enables P i to choose a (private) subset K &#8838; [m] of protocol executions of size k, and obtain the input and randomness used by P j in all executions in the set K, while all other input and randomness values of P j remain hidden from P i .</p><p>Our &#337;rst goal is to develop a three round protocol that realizes the watchlist functionality in the plain model in the presence of malicious corruptions, with super-polynomial simulation and (polynomial) promise-style extraction. Following <ref type="bibr">[IKSS21]</ref>, we observe that it would suffice to implement &#322;sender nonmalleable&#382; OTs with super-polynomial simulation-based &#322;real/ideal&#382; security and with promise-style polynomial extraction; where in the (i, j)-th execution for i &#8712; [n], j &#8712; [n] \ {i}, P i is the receiver and P j is the sender. P j 's input to the OT will be the input and randomness it used in each of the m instances of the inner protocol, and P i 's input is a random subset K of [m] of size k. By sender non-malleability, we mean that the adversarial parties cannot maul the sender messages in an OT execution with an honest party to obtain a &#322;related&#382; sender inputs in an OT execution with an honest receiver.</p><p>The work of <ref type="bibr">[IKSS21]</ref> showed how to implement such sender non-malleable OT in four rounds from any four-round simulation-secure two-party computation protocol with certain additional properties (which we ignore for the momemt). Since we need three-round watchlists, we would need to begin with three-round two-party computation, which is impossible to realize with black-box polynomialtime simulation security. Nevertheless, we show that it is possible to realize such two-party computation with super-polynomial simulation and promise-style extraction, which is one of our key technical contributions. We describe this in the next subsection; here we discuss how such a two-party protocol can be compiled into 3-round non-malleable OT.</p><p>Our overall approach builds on <ref type="bibr">[IKSS21]</ref>, but also diverges in some key technical aspects. Like <ref type="bibr">[IKSS21]</ref>, our construction relies on a secure two-party protocol between a sender and a receiver realizing a special functionality F (described in Figure <ref type="figure">1</ref>). Unlike <ref type="bibr">[IKSS21]</ref>, we must develop a three-round compiler instead of a four round one.</p><p>In the <ref type="bibr">[IKSS21]</ref> compiler, the sender S on input (m 0 , m 1 ) &#337;rst encodes these messages using an appropriate 2-split-state non-malleable code (Enc, Dec).<ref type="foot">foot_6</ref> For technical reasons pertaining to the use of watchlists in our &#337;nal protocol, we require our watchlists to satisfy 1-rewinding security, i.e., no adversary should be able to distinguish the joint distribution of a main and a rewinding thread (with common pre&#337;x) from the real distribution, from those sampled according to the simulated distribution. This was not needed by <ref type="bibr">[IKSS21]</ref>, but this requirement in our setting necessitates deviating from the <ref type="bibr">[IKSS21]</ref> template, relying on (a special type of) 3-split-state non-malleable code &#347; speci&#337;cally one that is also a 3-out-of-3 secret sharing scheme &#347; instead of 2-split-state non-malleable codes.</p><p>Speci&#337;cally, our sender encodes</p><p>The receiver obtains input a choice bit b &#8712; {0, 1}, and additionally samples a uniformly random c &#8712; {0, 1, 2}. S and R invoke a two-party secure protocol &#928; to compute functionality F, described in Figure <ref type="figure">1</ref>.</p><p>Sender Inputs: m0, L0, M0, R0, m1, L1, M1, R1, Receiver Inputs: b, c The functionality F is de&#337;ned as follows.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Fig. 1: The functionality F</head><p>We note that the ideal functionality F only reveals m b to the receiver, and statistically hides m 1-b . This is because the receiver obtains only one of L 1-b , M 1-b and R 1-b , and secrecy follows from the security of the secret sharing scheme. Thus, given one of the states the message m 1-b is information-theoretically hidden. Further, even given two executions of the ideal functionality on the same sender inputs, same receiver input b, and different receiver challenges c, the receiver only obtains m b and two out of L 1-b , M 1-b and R 1-b . Given two out of these three shares, m 1-b is again statistically hidden. Indeed, when F is realized via a secure protocol &#928;, m 1-b continues to be computationally hidden even given a main and rewinding thread (with same inputs m 0 , m 1 , b). This protocol &#928; makes only black-box use of cryptography, and can be based on black-box access to our three-round two-party computation protocol that additionally satis&#337;es certain amount of rewinding security, which we discuss in the next subsection.</p><p>Proving Sender Non-Malleability. We must prove that running this protocol &#928; between every pair of parties in parallel securely realizes the watchlist functionality. We model the adversary as a man-in-the-middle, which acts as a receiver in &#322;left&#382; sessions and as sender in &#322;right&#382; sessions. We require that there is a simulator-extractor Sim-Ext that given the inputs of all honest receivers (in all right sessions), is able to extract all the implicit inputs used by the man-in-themiddle in all its right sessions. Crucially, Sim-Ext does not have access to the inputs of honest senders. Since the underlying protocol &#928; may be susceptible to arbitrary mauling attacks, achieving this property is non-trivial, as we discuss next.</p><p>Similar to <ref type="bibr">[IKSS21]</ref>, we use the speci&#337;c way that sender inputs are encoded to introduce an alternate extraction mechanism. Speci&#337;cally, one could imagine rewinding the second and the third round message of &#928; twice, with &#337;rst round message &#337;xed, and using inputs c = 0, c = 1 and c = 2 on behalf of the honest receiver in the real and rewinding threads, respectively. Our two-party computation protocol will be developed in such a way that &#337;xing the &#337;rst round message will &#337;x all other inputs m 0 , m 1 , b in all left and right sessions. Let us make the simplifying assumption that our adversary does not abort. Therefore, we expect to obtain outputs ( L 0 , L 1 ), ( M 0 , M 1 ) and ( R 0 , R 1 ) in the right session in the real and rewinding threads respectively. At this point, we can use the decoder of the non-malleable code to obtain ( m 0 , m 1 ), which, by correctness of the two-party protocol, should correspond to the implicit inputs of the MIM in the right session.</p><p>The Need for 2-Rewinding Security. Before we can rely on non-malleable codes to formally argue security, we need to replace the two-party protocol &#928; with its simulated version. At the same time, we need to argue that the joint distribution of values extracted from the strategy above (via extracting ( L 0 , L 1 ), ( M 0 , M 1 ) and ( R 0 , R 1 )) from the simulated two-party protocol, matches the distribution in the real protocol. This requires the two-party protocol &#928; to satisfy a stronger security property, that we call 2-rewind sender security. This roughly means that any adversarial receiver/MIM that rewinds the honest sender one time in the third and fourth rounds, with its input c set to a possibly different value, does not learn more than the output of F on (&#337;xed) inputs</p><p>). This can be formalized by demonstrating the existence of a simulator that simulates the receiver's view in the real and rewinding threads, given only (m b , L 0 , L 1 ) in the main thread, and (m b , M 0 , M 1 ), (m b , R 0 , R 1 ) respectively in each of the rewinding threads (w.l.o.g.). Now, it may seem like the sum total of this information could essentially allow the receiver to recover m 1-b . Yet, we show that if &#928; satis&#337;es this property, it becomes possible to replace m 1-b with an arbitrary value (say 0 &#955; ).</p><p>Here we make use of the fact that the different states of the non-malleable code are available to the MIM in separate (i.e. real and rewinding) executions, which allows us to rely on the security guarantees provided by non-malleable codes, by arguing that each of these states are essentially tampered by independent functions.</p><p>Finally, we note that just as in <ref type="bibr">[IKSS21]</ref>, we require these codes to satisfy many-many non-malleability. At a high level, these are codes that are secure against multiple tamperings of a codeword <ref type="bibr">[CGL16]</ref>. We note that a construction of 3-out-of-3 non-malleable secret sharing from [GSZ21] satis&#337;es all the required properties (if instantiated with the CGL non-malleable code). Also following <ref type="bibr">[IKSS21]</ref>, to deal with adversaries who might abort, we will modify the protocol and functionality F so that instead of encoding (m 0 , m 1 ) a single time, the sender generates &#955; (where &#955; is the security parameter) fresh encodings</p><p>,b&#8712;{0,1} of m 0 and m 1 . The receiver picks &#955; choice bits c 1 , . . . , c &#955; instead of a single bit c. The functionality F checks if for every i &#8712;</p><p>. We also recall that our watchlists need to satisfy super-polynomial simulation with &#322;promise-style&#382; extraction, but we note that these properties in fact carry over from the underlying special two-party computation protocol.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.3">Constructing Three-Round 2PC with Special Extraction</head><p>In this subsection, we explain the key ideas behind our construction of a threeround 2PC that satis&#337;es the &#322;promise-style&#382; extraction guarantee and &#322;2-rewinding&#382; sender security.</p><p>3-Round OT Protocol. As a &#337;rst step, we construct a three-round black-box OT protocol that satis&#337;es standard simulation-based security against malicious senders and super-polynomial time simulation security against malicious receivers. For this purpose, we rely on a (sub-exponentially hard) two-round OT protocol that has super-polynomial time simulation security against malicious receivers. To enable polynomial time extraction of the malicious sender input, we additionally require the sender to generate an extractable commitment to its input. To ensure the consistency of inputs used in the extractable commitment and the ones used in the OT protocol, we rely on the IPS compiler. Speci&#337;cally, we use the 1-out-of-2 SPS OT to construct a k-out-of-m SPS OT protocol (using Yao's garbled circuits) and use this as the watchlist protocol. We show that this watchlist protocol is sufficient to instantiate the IPS compiler when we only require SPS security against malicious receivers.</p><p>3-Round 2PC. As a next step, we use the above OT protocol to construct a threeround 2PC protocol that satis&#337;es standard simulation security against malicious senders and SPS security against malicious receivers. This step involves standard tools and closely follows the construction given in <ref type="bibr">[IKSS21]</ref>. Additionally, we also show how to add 2-rewinding sender security to this protocol. Speci&#337;cally, we show that if the underlying 3-round OT is 2-rewinding sender secure and we also have a 2-rewinding secure extractable commitment scheme (which was constructed in [BGJ + 18]), we get a 2-rewinding sender secure 2PC protocol. Further, we note that 2-rewinding sender security of our 3-round OT protocol just boils down to instantiating the underling extractable commitment on the sender side (as explained earlier) with a 2-rewinding secure one, and we instantiate this with the construction given in [BGJ + 18].</p><p>3-Round 2PC with Special Extraction. We then use the above 3-round 2PC protocol to construct a protocol that additionally satis&#337;es the &#322;promise-style&#382; extraction guarantee. To achieve this, we require the receiver to commit to its input (as well as the randomness) used in the 2PC protocol via a three-round extractable commitment. Again, as in the case of OT protocol, we need to make sure that the inputs committed via the extractable commitment is consistent with the inputs used in the 2PC protocol. As before, we rely on the IPS compiler but we observe that we do not need the &#322;full-blown&#382; watchlist protocol. Instead, we require the sender in the second round to send a set of executions to be opened in the clear and the receiver in the &#337;nal round opens the extractable commitment corresponding to these executions. The sender then checks whether the input, randomness committed via the extractable commitment is consistent with the messages sent in the 2PC protocol. If they are consistent for randomly opened set of executions, then by standard statistical argument, we can show that they are consistent for a majority of the executions with overwhelming probability. This allows us to rewind and extract the receiver's input via the extractable commitment. We note that we are only able to guarantee &#322;almost&#382; perfect extraction due to the existence of a &#322;small&#382; set of inconsistent executions. Speci&#337;cally, the &#322;small&#382; set of inconsistent executions could force the output of the watchlist protocol to be &#8869;, but even in this case, our polynomial time extract could extract some receiver input. But as explained earlier, this is not problematic and is sufficient to instantiate the IPS compiler. We also note that if the underlying 2PC protocol is 2-rewinding sender secure then this property is inherited by the 2PC protocol with special extraction as well.</p><p>Organization. Due to lack of space, we only present the watchlist protocol and defer the other constructions and their proof of security to the full version.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">Preliminaries</head><p>We recall some standard cryptographic de&#337;nitions in this section.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Split-State Non-Malleable Codes</head><p>We will use non-malleable codes in the splitstate model that are one-many secure and satisfy a special augmented nonmalleability [AAG + 16] property, as discussed below.</p><p>Definition 1 (One-many augmented split-state non-malleable codes). </p><p>) and every set of permutations</p><p>there exists a random variable D f,g,h,&#963;,&#963; &#8242; on R&#215;{{0, 1} p(&#955;) &#8746;same * } &#8467;(&#955;) which is independent of the randomness in NM.Code such that for all messages m &#8712; {0, 1} p(&#955;) it holds that the statistical distance between the distributions</p><p>and</p><p>is at most &#1013;(&#955;), where the function replace : {0, 1} * &#215;{0, 1} * &#8594; {0, 1} replaces all occurrences of same * in its &#337;rst input with its second input, and outputs the result.</p><p>We note that the construction of non-malleable secret sharing in [GSZ21] can be proven to satisfy this de&#337;nition. This is already implicit in [GSZ21] for the case of single tampering but extension of their proof to the case of multiple tamperings follows directly if we use a strong two-source non-malleable extractors that is multi-tamperable <ref type="bibr">[CGL16]</ref>.Thus, we have the following: Lemma 1. [GSZ21] For every polynomial &#8467;(&#8226;), there exists a polynomial q(&#8226;) such that for every &#955; &#8712; N, there exists an explicit &#8467;-augmented, split-state nonmalleable code satisfying De&#337;nition 1 with efficient encoding and decoding algorithms with code length q(&#955;), rate q(&#955;) -&#8486;(1) and error 2 -q(&#955;) &#8486; (1) .</p><p>Low-Depth Proofs Any computation performed by a family of polynomial sized ciruits can be transformed into a proof that is veri&#337;able by a family of circuits in NC1. We refer to the transformation as a low-depth proof, and we require such a proof to satisfy the following de&#337;nition.</p><p>Definition 2 (Low-Depth Non-Interactive Proofs). A low-depth non-interactive proof with perfect completeness and soundness for a relation R consists of an (ef&#337;cient) prover P and a veri&#337;er V that satisfy:</p><p>-Perfect completeness. A proof system is perfectly complete if an honest provers can always convince an honest veri&#337;er. For all x &#8712; L we have</p><p>-Perfect soundness. A proof system is perfectly sound if it is infeasible to convince an honest veri&#337;er when the statement is false. For all x &#824; &#8712; L and all (even unbounded) adversaries A we have</p><p>-Low Depth. The veri&#337;er V can be implemented in NC1.</p><p>It is shown in <ref type="bibr">[IKSS21]</ref> building on [GGH + 13] how such a non-interactive proof can be constructed in a simple way. Looking ahead, our construction of watchlists makes use of a (malleable) two-party computation protocol for NC1 that must verify validity of a non-malleable code. We rely on low-depth proofs to ensure that the two-party computation protocol only performs NC1 computations.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1">3-Round Two-Party Computation Protocol with Special Extraction</head><p>The watchlist protocol requires a special two-party computation protocol. We give a construction of this protocol in the full version and present the de&#337;nition here.</p><p>Syntax. A three-round protocol &#928; = (&#928; 1 , &#928; 2 , &#928; 3 , out &#928; ) between a sender and a receiver proceeds as follows. In each round r &#8712; <ref type="bibr">[3]</ref>, the sender runs &#928; r on its identity, the transcript, its input and randomness to generate msg S r . Similarly, in round r, the receiver runs &#928; r on its identity, the transcript, its input and randomness to generate msg R r . The sender sends msg S r to the receiver and the receiver sends msg R r to the sender and these messages are then added to the transcript. At the end of the protocol, the receiver run out &#928; on its identity, transcript, its input and randomness to compute the output which is a string z or &#8869;. The sender runs out &#928; on its identity and the &#337;rst round message from the receiver, the second round message from the sender and third round message from the receiver and outputs either accept/reject. We note that while the output computation of the receiver requires access to its private random tape, the output of the sender is publicly computable. -Public Coin Second Round Messages. The second round messages from the sender and the receiver are both public coin.</p><p>-Security against Malicious Senders. There exists an expected PPT machine Sim S such that for every non-uniform A the corrupts the sender and for every receiver's input x &#8712; {0, 1} n , we have:</p><p>In the above de&#337;nition, we note that if y output by Sim S is the special symbol &#8869;, then the output of f is also &#8869;. We additionally need the existence of a straight-line SPS simulator SPSim S that has the same guarantees as Sim S . -Super-Polynomial Time Simulation Security against Malicious Receivers. There exists a super-polynomial time machine</p><p>) such that for every adversary A corrupting the receiver and for every sender's input y &#8712; {0, 1} n , we have:</p><p>where the experiment Ideal R is described in Figure <ref type="figure">2</ref>.</p><p>-2-Rewinding Sender Security against Sub-Exponential Adversaries.</p><p>We require that this protocol to be secure against any malicious sub-exponential time receiver that could rewind an honest sender twice by giving possibly different second round messages in each rewind. -Special Extraction of the Malicious Receiver Input. There exists a super-polynomial time extractor SPSpecExt R such that for any adversary A corrupting the receiver and for any sender input y &#8712; {0, 1} n , the probability the following experiment outputs 1 is negligible: 1. Sample a transcript T from Ideal R (1 &#955; , y, A, SPSim R ).</p><p>2. If the output of the sender S in the transcript T is reject, then output of the experiment is 0.</p><p>output of the experiment is 0. 4. Else, run SPSpecExt(T) to obtain x &#8242; . 5. The output of the experiment is 1 if and only if x &#824; = x &#8242; .</p><p>-Existence of k accepting Transcript Extractor. There exists a polynomial time machine Ext R that on input any k transcripts T 1 , . . . , T k such that in each of the transcript the output of the sender is accept outputs x such that x = SPSpecExt(T 1 ) with overwhelming probability. -Delayed Function Selection. The function to be computed can be chosen by the sender in the third round.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">The Watchlist Protocol</head><p>In this section, we formally construct and prove security of three-round watchlist protocol. Recall that in the watchlist protocol, each ordered pair of parties P i -Run SPSim  and P j invoke a &#8467;-out-of-m OT functionality where P i acts as the receiver and P j acts as the sender. Speci&#337;cally, the private input of party P j in this OT instance consists of of x j which is the vector of sender inputs of dimension m and the private input of party P i is K i which is a subset of [m] of size &#8467;. The output to party P i consists of {x j,k } k&#8712;Ki . We note that in the watchlist protocol, every honest party P i uses the same K i in each instance of the OT functionality when acting as the receiver and same x i in each instance when acting as the sender. However, the corrupted party P i may choose different K i and x i for each instance when acting as the receiver and the sender respectively. For ease of notation, whenever we use K i as the receiver input of a corrupted party P i , we actually mean a set of subsets {K i,j } j&#8712;H . Similarly, whenever we use x j as the sender input of a corrupted party P j , we actually mean set of vectors, one for each honest party.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">Definitions</head><p>Before we proceed to the formal de&#337;nition of the watchlist protocol, we give an informal overview of the various properties that the protocol needs to satisfy.</p><p>1. The &#337;rst requirement is the existence of a straight-line super-polynomial time simulator Sim WL that has oracle access to the watchlist functionality and produces a view of the adversary that is computationally indistinguishable to the real world. This requirement is same as standard SPS security. Here, it is crucial that the simulator is straight-line i.e., it does not rewind the adversary. 2. The second property is about the existence of an &#322;alternate&#382; extraction mechanism of the malicious receiver inputs. Speci&#337;cally, we require that if the output of all the honest parties when acting as the sender is not &#8869; in the protocol, then there exists an alternate super-polynomial time extractor SPExt WL,R that extracts the adversarial receiver inputs using the accepting transcript. Further, for each corrupted party, these inputs are the same as the ones extracted by Sim WL except in the case that it is &#8869;.</p><p>3. The third property is about the existence of polynomial-time rewinding extractor (that rewinds the adversary until it obtains k accepting transcripts) and outputs the malicious receiver inputs that is identical to the one output by SPExt WL,R . For technical reasons, we need to separate out the existence of a polynomial time rewinding extractor and super-polynomial time extractor in the alternate extraction mechanism. 4. The fourth property is about the one-rewinding sender non-malleability.</p><p>Roughly speaking, it requires that adversarial sender inputs cannot depend on the honest party sender inputs even if the adversary is allowed to rewind the second and third round message of the protocol once.</p><p>Definition 4 (Extractable (n, m, &#8467;)-Watchlists). Fix any polynomials n = n(&#955;), m = m(&#955;), &#8467; = &#8467;(&#955;). An extractable (n, m, &#8467;)-watchlist is a protocol that achieves the simultaneous n-party m-choose-&#8467; OT functionality with the following security guarantees:</p><p>1. Real-Ideal Security with Straight-line SPS simulator. There exists a (stateful) straight-line super-polynomial time simulator Sim WL such that for any (stateful) adversary A that is corrupting an arbitrary subset M of the parties and for any choice of honest party inputs {x j , K j } j&#8712;H (where H denotes the set of honest parties, x j 's denote the sender inputs of party j, and K j 's denote the set of executions that player j watches), we have the following two distributions are computationally indistinguishable: (a) View of the adversary and the output of all the honest parties H in the real execution of the protocol. (b) Ideal SP S (1 &#955; , M, A, Sim WL ) where Ideal SP S is given in Figure <ref type="figure">3</ref>. Furthermore, the distribution of the messages generated by Sim WL on behalf of honest receivers is identically distributed to the real receiver messages with dummy inputs. 2. Special Extraction of the Malicious Receiver Input. There exists a super-polynomial time extractor SPExt WL,R such that for any adversary A corrupting a subset M of the parties and for any choice of honest party inputs {x j , K j } j&#8712;H , the probability that the following experiment outputs 1 is negligible: (a) Sample a transcript T from Ideal SP S experiment and let {&#963; j } j&#8712;H be the output of the honest parties.</p><p>The output of the experiment is 1 if and only if there exists an i &#8712; H such that</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Existence of k accepting Transcript</head><p>Extractor. There exists a polynomial time machine Ext WL,R such that on input any k transcripts T 1 , . . . , T k with common &#337;rst message such that in each of the transcript the output of the honest parties is not &#8869; outputs {K j } j&#8712;H such that {K j } j&#8712;H = SPExt WL,R (T 1 ) with overwhelming probability.</p><p>4. One-Rewinding Sender Non-Malleability. We require the existence of an (expected) PPT algorithm Ext WL,S such that for any 1-rewinding adversary A corrupting any set M of the parties (by 1-rewinding, we refer to an adversary that is allowed to rewind the second and third round message of the protocol once) and for any choice of honest party inputs {x j , K j } j&#8712;H such that the following two distributions are computationally indistinguishable against adversaries that run in time which is polynomial in the running time of SPSim WL,R : (a) Consider the Ideal SP S experiment in Figure <ref type="figure">3</ref> with the 1-rewinding adversary A (i.e., step-4 in the experiment is repeated once more). Let us denote the &#337;rst execution with the adversary as the main thread and the rewinding execution with A as the rewind thread. After step-4, run Sim WL on the messages generated in the main thread to compute {x i } i&#8712;M . Output the view of the adversary A and {x i } i&#8712;M . (b) Sample uniform random tape {r j } j&#8712;H and execute the protocol honestly with the 1-rewinding adversary A using the honest inputs {K j , x j } j&#8712;H with the above random tape. Run Ext WL,S (1 &#955; , {K j , x j , r j } j&#8712;H ) to obtain {x i } i&#8712;M . Output view of the adversary in the above honest execution along with {x i } i&#8712;M .  </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2">Construction</head><p>Our construction is described in Figure <ref type="figure">4</ref>, and makes use of the following ingredients:</p><p>-A 3 round two-party secure computation protocol &#928; satisfying De&#337;nition 3 with delayed-function selection for NC 1 circuits and 2-rewinding sender security.</p><p>-An information-theoretic m(&#955;) &#8226; &#8467;(&#955;) non-malleable coding scheme satisfying De&#337;nition 1. -A low-depth proof for P according to De&#337;nition 2.</p><p>-An existentially unforgeable signature scheme with algorithms denoted by Signature.Setup, Signature.Sign and Signature.Verify.</p><p>We describe our protocol formally in Figure <ref type="figure">4</ref>. The correctness of this protocol follows from correctness of the underlying oblivious transfer, non-malleable codes and signature scheme. In what follows, we formally prove security according to De&#337;nition 4. Proof of Theorem 1. We observe that properties 2 and 3 carry over from the properties of the underlying two-party computation protocol, and 1 is implied by 4 together with SPS security of the two-party protocol against malicious adversaries (following <ref type="bibr">[IKSS21]</ref>). Our key goal is to prove that the protocol satis&#337;es property 4. To keep exposition simple, we prove this property against polynomial time distinguishers. We note that indistinguishability against distinguishers running in time which is polynomial in the running time of SPExt WL,R follows directly from the 2-rewinding sender security of the underlying 2PC protocol against such distinguishers. We now consider a man-in-the-middle adversary that participates as an OT receiver in upto &#8467;(&#955;) executions of this protocol on the right, and participates as an OT sender in upto &#8467;(&#955;) executions on the left. Towards proving that our protocol satis&#337;es property 1, we will prove that there exists a PPT algorithm Sim-Ext, that with black-box access to the MIM, and to &#8467; copies of the ideal OT functionality OT = {OT j ({m i,j } i&#8712;[m] , &#8226;)} j&#8712;[&#8467;] and with input {K j } j&#8712;[&#8467;] , simulates an execution of the protocol with the MIM and extracts all the inputs</p><p>used by the MIM in the executions where the MIM is sender. We will prove that the 1-rewinding view output by Sim-Ext, that we denote by</p><p>) will be such that</p><p>where the expression on the left denotes the joint distribution of the view and messages committed by a 1-rewinding adversary in an interaction where honest senders S j have inputs {m i,j } i&#8712;[m] , and honest receivers R j have inputs K j .</p><p>To prove indistinguishability, we de&#337;ne a sequence of hybrid experiments, where the &#337;rst one outputs the distribution</p><p>Inputs: Sender S has inputs {mj}j&#8712;m and receiver R has input a set K &#8838; [m] where |K| = k.</p><p>Protocol: S and R do the following.</p><p>1. S samples (vk, sk) &#8592; Signature.Setup(1 &#955; ), then does the following.</p><p>-</p><p>, pick uniform randomness ri,j and compute (Li,j, Mi,j, Ri,j) = NM.Code((vk|mj); ri,j).</p><p>-Set instance x = (vk, {(Li,j, Mi,j, Ri,j, mj)} i&#8712;[&#955;],j&#8712; <ref type="bibr">[m]</ref> ) and language</p><p>NM.Decode(Li,j, Mi,j, Ri,j) = (vk|mj) .</p><p>Compute ldp = LDP.Prove(x, L).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">For each</head><p>3. Both parties engage in the protocol &#928; to compute functionality F where:</p><p>-R plays the receiver with input K committed in round 1 and delayed function (c1, . . . , c &#955; ) chosen in round 2. -S plays the sender with input (x, ldp), where x is parsed as</p><p>generates an output as follows:</p><p>Additionally, S signs messages generated according to &#928;, denoted by (&#928;1, &#928;3). It sets &#963;1 = Signature.Sign(&#928;1, idS, sk), &#963;3 = Signature.Sign(&#928;3, idS, sk) where idS is the identity of the sender. It sends (&#963;1, &#963;3) to R. 4. R obtains output out and parses out = (vk, {mj}j&#8712;K , &#8226;). It outputs {mj}j&#8712;K iff Signature.Verify(&#963;1, &#928;1, idSvk) &#8743; Signature.Verify(&#963;3, &#928;3, idS, vk) = 1, otherwise outputs &#8869;. </p><p>Formally, these hybrids are de&#337;ned as follows:</p><p>Hyb 0 : This corresponds to an execution of the MIM with &#8467; honest senders {S j } j&#8712;[&#8467;] on the left, each using inputs {m i,j } i&#8712;[m] respectively and &#8467; honest receivers on the right with inputs ({K j } j&#8712;[&#8467;] ) respectively. The output of this</p><p>Hyb 1 : This experiment modi&#337;es Hyb 1 by introducing an additional abort condition. Speci&#337;cally, the experiment &#337;rst executes the complete protocol corresponding to the real execution of the MIM exactly as in Hyb 0 (including rewinding the MIM once) to obtain the distribution</p><p>Let p(&#955;) denote the probability that the MIM completes this execution without aborting. Set &#947;(&#955;) = max &#955;, p -2 (&#955;) . With the &#337;rst two rounds of the transcript &#337;xed, the rewind the right execution up to &#947; 2 (&#955;) times, picking inputs (c j 1 , . . . , c j &#955; ) for each of the &#8467; receivers {R j } j&#8712; <ref type="bibr">[&#8467;]</ref> independently and uniformly at random in every run. If there exist two rewinding threads where the MIM completes the protocol execution, denote the inputs chosen by the challenger on behalf of the honest receiver in these rewinding threads by (c &#8242; j 1 , . . . , c &#8242; j &#955; ) and (c &#8242;&#8242; j 1 , . . . , c &#8242;&#8242; j &#955; ) respectively. For every j &#8712;</p><p>) obtained as output from the main and rewinding executions respectively to compute m j i = NM.Decode( L j &#945;j ,i , M j &#945;j ,i , R j &#945;j ,i ). If no such rewinding thread exists, or if there exists j &#8712; [&#8467;] for which there does not exist &#945; &#8712;</p><p>Lemma 2. For every unbounded distinguisher D and large enough &#955; &#8712; N,</p><p>Proof. Since the MIM's inputs { m j i } j&#8712;[&#8467;] are committed in round 1 of the protocol, then conditioned on the adversary providing a non-aborting transcript in rewinding executions in Hyb 1 , by simulation security of the 2pc, {( m j i } j&#8712;[&#8467;] are correctly extracted.</p><p>Therefore, to prove this lemma it suffices to show that two rewinding executions (with a non-aborting transcript) can be found within &#947; 2 (&#955;) attempts, except with probability negl(&#955;). To see this, we observe that the probability of a non-aborting transcript is p(&#955;), and therefore, the probability that &#947; 2 (&#955;) -1 out of the &#947; 2 (&#955;) trials abort is negl(&#955;).</p><p>Hyb 2 : This experiment modi&#337;es Hyb 1 to execute the superpolynomial simulator of &#928; in all sessions where the MIM is a receiver. Speci&#337;cally, in these executions, instead of the honest sender strategy with input</p><p>).</p><p>-A &#337;rst creates receiver R &#8242; that interacts with the external challenger as follows.</p><p>&#8226; Obtain the &#337;rst round sender message from the 2pc challenger, and forward this to the MIM as S j * 's message in the j * th left execution. In addition, generate the &#337;rst round messages according to receiver strategy with inputs {K j } j&#8712; <ref type="bibr">[&#8467;]</ref> for the right execution. Obtain the &#337;rst round message from the MIM, which includes a (malicious) sender message for the right execution and a (malicious) receiver message for the left execution. Output the MIM's receiver message in the j * th left execution to the challenger of the 2pc. &#8226; Generate the second round message for the right execution according to honest receiver strategy, and obtain the second round message for the left execution from the challenger. Forward the MIM's message in left session j * to the challenger. &#8226; Obtain the third round message for the left execution externally from the challenger, and forward this to the MIM as S's message in the j * th left execution. Generate messages for the right executions using honest receiver strategy. Obtain the third round message from the MIM for the right execution. -Next, A rewinds R &#8242; twice with &#337;xed &#337;rst round, and obtains MIM outputs as follows.</p><p>&#8226; Run the second round with honest receiver strategy on the right, and obtain challenger messages on the left. Obtain the second round message from the MIM, and output the MIM's message in session j * to the challenger. &#8226; Obtain the third round message for the left execution externally from the challenger, and forward this to the MIM as S's message in the j * th left execution. Obtain the third round messages from the MIM. -If none of the executions abort, for every j &#8712; [&#8467;], &#337;nd &#945; j &#8712; [&#955;] such that c j &#945;j = 0, c &#8242; j &#945;j = 1, c &#8242;&#8242; j &#945;j = 2. If these do not exist, abort. Otherwise use the outputs of the two-party computation protocol to compute m j i = NM.Decode( L j &#945;j ,i , M j &#945;j ,i , R j &#945;j ,i )</p><p>. If the challenger used honest sender messages, we denote the distribution output by A in this experiment by Dist 1 and if the challenger used simulated messages, we denote the distribution output by A in this experiment by Dist 2 .</p><p>If the challenger's messages correspond to the real sender S, then the distribution output by A conditioned on not aborting corresponds to Hyb 1 , and if the challenger's messages correspond to Sim-2PC Sen , then the distribution output by A conditioned on not aborting corresponds to Hyb 2 .</p><p>By assumption, for in&#337;nitely many &#955; &#8712; N,</p><p>Since the MIM completes any run of the protocol without aborting with probability at least p(&#955;), and because aborts are independent of the distinguishing advantage, for in&#337;nitely many &#955; &#8712; N:</p><p>where &#172;abort denotes the event that an execution that is completed in the main thread, is also completed without aborting in one rewinding execution.</p><p>This implies that for in&#337;nitely many &#955; &#8712; N:</p><p>where Dist 1 and Dist 2 denote the real and ideal distributions of the underlying 2-party computation protocol under 2-rewinding security. This implies that D contradicts 2-rewinding security of the two party computation protocol.</p><p>Hyb 3 : This hybrid is the same as Hyb 2 except whenever the challenger obtains as output a veri&#337;cation key in one of the right sessions that is identical to a veri&#337;cation key used in one of the left sessions, the hybrid outputs &#8869;. By existential unforgeability of the signature scheme, given any PPT adversary MIM, Hyb 2 and Hyb 3 are computationally indistinguishable.</p><p>Hyb 4 : This hybrid is the same as Hyb 3 except that inp S j is set differently. Speci&#337;cally, for every j &#8712; [&#8467;], i &#8712; [m] and &#945; &#8712; [&#955;], we set (L j &#945;,i , M j &#945;,i , R j &#945;,i ) &#8592; NM.Sim (1 p(&#955;) ), and set inp S j = ({m j i , L j 1,i , . . . , L j &#955;,i , M j 1,i , . . . , M j &#955;,i , R j 1,i , . . . , R j &#955;,i } i&#8712;[m] ).</p><p>We note that at this point, the functionality {F(inp S j , &#8226;)} j&#8712;[&#8467;] can be perfectly simulated with access to the ideal functionality {OT j (m j i , m j i , &#8226;)} j&#8712; <ref type="bibr">[&#8467;]</ref> . Moreover, this hybrid runs the super-polynomial simulator of the two-party computation protocol, which can be split into a straight-line simulator that extracts adversarial receiver input from the &#337;rst round, and then a rewinding-based expected polynomial-time simulator that extracts adversarial sender input. The latter can also be replaced by a straight-line superpolynomial simulator that extracts the adversarial sender-input by running the straight-line superpolynomial simulator of the two-party computation protocol. Finally, as long as the underlying two-party computation protocol has its ideal distribution be identical to an honest execution with dummy inputs, the same is true for our protocol. Therefore, the output of this hybrid is identical to the ideal distribution Proof. We prove indistinguishability between Hyb 3 and Hyb 4 by considering a sequence of sub-hybrids, {Hyb 3,i,j,k } i&#8712; <ref type="bibr">[1,m]</ref>,j&#8712; <ref type="bibr">[1,&#8467;]</ref>,k&#8712; <ref type="bibr">[0,&#955;]</ref> where:</p><p>-Hyb 3 = Hyb 3,0,&#8467;,&#955; , Hyb 4 = Hyb 3,m,&#8467;,&#955; , -for i &#8712; [m], Hyb 3,i-1,&#8467;,&#955; = Hyb 3,i,1,0 -for j &#8712; [&#8467;], Hyb 3,i,j-1,&#955; = Hyb 3,i,j,0 , -</p><p>Suppose the lemma is not true. Then there exists i</p><p>an unbounded distinguisher D and a polynomial p(&#8226;) such that for large enough &#955; &#8712; N,</p><p>We now de&#337;ne a set of tampering functions (f MIM , g MIM , h MIM ), and a set of additional functions (w MIM , y MIM , z MIM ). Before de&#337;ning them, we de&#337;ne a shared state for these functions, that is generated as follows:</p><p>-Execute Sim-2PC MIM Sen , using honest R strategy in the right executions with input {K j } j&#8712;[&#8467;] and uniformly chosen {c j 1 , . . . c j &#955; } j&#8712;[&#8467;] , until Sim-2PC Sen generates a query to the ideal functionality F at the end of round 2.</p><p>-At this point, Sim-2PC MIM Sen outputs a view and transcript of the MIM until the third round, as well as { K j } j&#8712;[&#8467;] that correspond to the receiver's inputs in the left execution.</p><p>-Rewind the second round twice with uniformly and independently chosen {c &#8242; j 1 , . . . , c &#8242; j &#955; } j&#8712;[&#8467;] and {c &#8242;&#8242; j 1 , . . . , c &#8242;&#8242; j &#955; } j&#8712;[&#8467;] respectively in each rewind. If for every j &#8712; [&#8467;(&#955;)], there exists &#945; j &#8712; [&#955;] such that c j &#945;j = 0, c &#8242; j &#945;j = 1, c &#8242;&#8242; j &#945;j = 2, continue, otherwise abort.</p><p>-Obtain the rewinding message of the adversary in the second round (with the same &#337;rst round pre&#337;x), as well as (c 1 , . . . , c n ) and ( c 1 , . . . , c n ) that correspond to the receiver's chosen functions in the j * th left session in this rewinding execution.</p><p>-Output the view of the MIM until round 2 in the main the rewinding threads, and also output (i * , j * , k * ), and the values</p><p>-Additionally, output the receiver's inputs { K j , c j 1 , . . . , c j &#955; } j&#8712;[&#8467;] and also output the sender's inputs {sk j , vk j , {m j i } i&#8712;[m] } j&#8712;[&#8467;] , along with randomness r.</p><p>The functions f MIM,i,j , g MIM,i,j and h MIM,i,j correspond to tampering functions, and are de&#337;ned as follows.</p><p>-The deterministic function f MIM,i,j on input L, sets L</p><p>It then invokes Sim-2PC Sen using randomness r on out to generate the third round message of the protocol transcript in the thread corresponding to the receiver challenge being 0. It outputs the value</p><p>It then invokes Sim-2PC Sen using randomness r on out to generate the third round message of the protocol transcript in the thread corresponding to the receiver challenge being 1. It outputs the value</p><p>It then invokes Sim-2PC Sen using randomness r on out to generate the third round message of the protocol transcript in the thread corresponding to the receiver challenge being 2. It outputs the value L j &#945;j ,i or M j &#945;j ,i or R j &#945;j ,i obtained from the MIM.</p><p>The functions w MIM , y MIM , z MIM generate the threads themselves and are de&#337;ned as follows.</p><p>-Next, the function</p><p>It then invokes Sim-2PC Sen on out to generate the third round message of the protocol transcript in the thread corresponding to receiver left challenge being 0. It outputs the resulting transcript as one thread in the view of the MIM.</p><p>-Next, the function y</p><p>. It then invokes Sim-2PC Sen on out to generate the third round message of the protocol transcript in the thread corresponding to receiver left challenge being 1. It outputs the resulting transcript as another thread in the view of the MIM.</p><p>-Next, the function</p><p>. It then invokes Sim-2PC Sen on out to generate the third round message of the protocol transcript in the thread corresponding to receiver left challenge being 2. It outputs the resulting transcript as another thread in the view of the MIM.</p><p>Note that there is a &#337;xed set of permutations &#963; i,j such that f MIM,i,j , g MIM,i,j , h MIM,i,j can be relabeled as functions F i,j , G i,j , H i,j such that F i,j outputs L values, G i,j outputs M values, and H i,j outputs R values.</p><p>By De&#337;nition 1 of &#8467; augmented non-malleable codes, we have that for every permutation &#963; and &#963; &#8242; on L, M, R, and every F i,j , G i,j and H i,j , &#963; &#8242; (L), &#963; &#8242; (M), {NM.Decode F i,j (&#963; i,j (L)), G i,j (&#963; i,j (M)), H i,j (&#963; i,j (R)) } i,j L, M, R &#8592; NM.Code(m j * i * ) &#8776; &#1013; &#963; &#8242; (L), &#963; &#8242; (M), {NM.Decode F i,j (&#963; i,j (L)), G i,j (&#963; i,j (M)), H i,j (&#963; i,j (R)) } i,j L, M, R &#8592; NM.Code(0)</p><p>But these distributions upon post-processing (via the functions w MIM , y MIM , z MIM ) exactly correspond to the outputs of Hyb 3,i * ,j * ,k * -1 and Hyb 3,i * ,j * ,k * respectively, whenever c j * k * , c j * k * and c j * k * are all different. On the other hand, when any two of the three values c j * k * , c j * k * and c j * k * are identical, the distributions Hyb 3,i * ,j * ,k * -1 and Hyb 3,i * ,j * ,k * are statistically indistinguishable because of the two-out-ofthree secret sharing property of the code, i.e. they jointly do not depend on all three of the shares, L, R and M. Since &#1013;(&#955;) = negl(&#955;), this contradicts Equation (1), as desired.</p><p>Finally, this proof also extends to show that security of the watchlist protocol holds against sub-exponential adversaries that run in time less than or equal to T , where T denotes the running time of adversaries against which the underlying two-party computation protocol is 2-rewinding sender secure.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">4-Round Black-Box MPC Protocol</head><p>In this section, we give our construction of a four-round black-box MPC protocol from any two-message OT protocol that has super-polynomial time security against malicious receivers and sub-exponential indistinguishability-based security against malicious senders. Speci&#337;cally, we prove the following theorem.</p><p>Theorem 2. For some &#1013; &gt; 0, assume black-box access to a two-round oblivious transfer protocol with super-polynomial time simulation security against malicious receivers and (2 &#955; &#1013; , 2 -&#955; &#1013; )-indistinguishability-based security against malicious senders. Then, there exists a four-round protocol for computing general functions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.1">Building Blocks</head><p>The construction makes use of the following building blocks:</p><p>1. A three-round watchlist protocol WL = (WL 1 , WL 2 , WL 3 , out WL ) satisfying De&#337;nition 4. Let T 1 (&#955;) (abbreviated as T 1 ) be the running time of Sim WL (which is the SPS simulator for the watchlist protocol). Let T 2 (&#955;) (abbreviated as T 2 ) to be the running time of Sim WL,R (which is the special SPS extractor that over extracts the receiver inputs). 2. A two-round n-client, m-server MPC protocol &#934; = (&#934; 1 , &#934; 2 , out &#934; ) that satis&#337;es ((T 1 + T 2 ) &#8226; poly(&#8226;), negl)-privacy with knowledge of outputs property against any adversary corrupting upto t servers and an arbitrary number of clients. By (T, &#1013;)-security, we require &#1013; distinguishing advantage against any adversary that runs in time T . By privacy with knowledge of outputs [IKP10], we consider a weaker notion of security (when compared to standard malicious security in the real/ideal paradigm), wherein the adversary has the additional power to determine the outputs of the honest parties. This is modelled by the ideal functionality getting an output to be delivered to the honest parties from the adversary. We call this protocol as the outer protocol. We set t = 2&#955;n 2 and m = 3t + 1. We need this protocol to additionally satisfy the property that the &#337;rst round message generated by the simulator on behalf of the honest clients to the corrupted servers is identically distributed to the &#337;rst round messages generated by honest clients on some default input. We note that [IKP10, Pas12] constructed such a protocol making black-box use of a ((T 1 + T 2 ) &#8226; poly(&#8226;), negl)-secure PRG. As noted in <ref type="bibr">[IKSS21]</ref>, we can delegate the PRG computations done by the servers to the clients and ensure that the computations done by the servers are information-theoretic. 3. For each h &#8712; [m], a three-round inner protocol &#928; h = (&#928; h,1 , &#928; h,2 , &#928; h,3 , out &#928; h )</p><p>for computing the functionality of the h-th server in the outer protocol. We require this protocol to satisfy De&#337;nition 5 (discussed below) against adversaries running in time (T 1 + T 2 ) &#8226; poly(&#955;) and the distinguishing advantage being negl(&#955;).</p><p>Syntax. The three-round inner protocol computing a function f is given by a tuple of algorithms (&#928; 1 , &#928; 2 , &#928; 3 , out &#928; ) with the following syntax. For each round r &#8712; <ref type="bibr">[3]</ref>, the i-th party in the protocol runs &#928; r on 1 &#955; , the index i, the private input x i and the transcript of the protocol in the &#337;rst (r -1) rounds to obtain &#960; i r . It sends &#960; i r to every other party via a broadcast channel. We use &#960;(r) to denote the transcript of &#928; in the &#337;rst r rounds. At the end of the interaction, parties run the public decoder out &#928; (&#960;(3)) to compute the output.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Definition 5 ([IKSS21]</head><p>). The protocol &#928; is said to be an inner protocol for computing a funtion f if it satis&#337;es the following properties.</p><p>-Correctness. The protocol &#928; correctly computes a function f if for every choice of inputs x i for party P i ,</p><p>where &#960;(3) denotes the transcript of the protocol &#928; when the input of P i is x i . -Security. Let A be an adversary corrupting a subset of the parties indexed by the set M and let H be the set of indices denoting the honest parties. We require the existence of a simulator Sim &#928; such that for any choice of honest parties inputs {x i } i&#8712;H , we have:</p><p>where the real and ideal experiments are described as in <ref type="bibr">[IKSS21]</ref> (details deferred to the full version due to lack of space).</p><p>Given these building blocks, our construction is described in Figure <ref type="figure">5</ref>. Due to space constraints, the full proof of security of this construction is deferred to the full version.</p><p>-Round-1: In the &#337;rst round, the party Pi with input &#967;i does the following:</p><p>1. It chooses a random MAC key ki &#8592; {0, 1} * and sets zi := (&#967;i, ki).  Prabhanjan Ananth, Arka Rai Choudhuri, and Abhishek Jain. A new approach to round-optimal secure multiparty computation. In Jonathan Katz and Hovav Shacham, editors, CRYPTO 2017, Part I, volume 10401 of LNCS, pages 468&#347;499, Santa Barbara, CA, USA, August 20&#347;24, 2017. Springer, Heidelberg, Germany.</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="5" xml:id="foot_0"><p>By simultaneous message exchange we mean that in each round, every party can send a message over a broadcast channel. However, we allow the adversarial parties to be rushing, meaning that they can wait until they receive all the honest party messages in each round before sending their own messages.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="6" xml:id="foot_1"><p>Recently, SSP-OT was constructed from low-noise LPN and a standard derandomization assumption<ref type="bibr">[BF22]</ref> (building on [DGH + 20]). However, this construction is only secure against quasi-polynomial sized adversaries.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="7" xml:id="foot_2"><p>Recall that semi-malicious adversaries are stronger than the standard semi-honest adversaries and are allowed to &#337;x the random tape of adversarial parties to arbitrary values. However, like in the semi-honest setting, they are forced to follow the protocol speci&#337;cation.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="8" xml:id="foot_3"><p>We note that any protocol, even one in the bidirectional communication model, can be reduced to this setting.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="9" xml:id="foot_4"><p>For technical reasons, we actually need the inner protocol to run in three rounds instead of four rounds. However, to keep the exposition simple, we will ignore this in the overview. In the main body, we give a black-box construction of such a three-round inner protocol based on two-round semi-malicious OT protocol (which is implied by two-round SSP OT). This construction builds on the protocols given in<ref type="bibr">[GS18,</ref><ref type="bibr">PS21]</ref>.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="10" xml:id="foot_5"><p>Speci&#337;cally, the set of watched executions of the adversarial parties correspond to a subset of the corrupted servers in the outer protocol. To invoke the security of the outer protocol, we need to extract this information from the watchlist messages.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="11" xml:id="foot_6"><p>Recall that a split-state non-malleable code (Enc, Dec) encodes any message m into multiple states, such that the distribution of the tampered message obtained by tampering the each state individually is independent of m.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="4" xml:id="foot_7"><p>It checks if &#963;i is a valid tag on y using the key ki. If yes, it outputs y and otherwise, it aborts.</p></note>
		</body>
		</text>
</TEI>
