{"contenttype":"result","language":"en","availableLanguages":"en","rcn":"183913","id":"293843_PS","title":"Final Report Summary - VON NEUMANN MPC (Secure Multiparty Computation in the von Neumann Architecture)","teaser":"One of the breakthrough results of modern cryptography is the existenceof *secure multiparty computation*: a way to convert any distributedcomputation that can be performed securely with the assistance of atrusted third party into a protocol...","summary":"\n#### Project context and objectives\n\nOne of the breakthrough results of modern cryptography is the existence of *secure multiparty computation*: a way to convert any distributed computation that can be performed securely with the assistance of a trusted third party into a protocol that does not require any third parties, yet gives the same output and remains just as secure. These results appear to be extremely relevant for problems in many areas\u2014wherever there is tension between privacy, trust and functionality. Examples included running sealed-bid auctions without a trusted auctioneer, privately performing computations \u201cin the cloud\u201d and verifiable voting with secret ballots.\n\nExisting generic secure computation techniques involve translating a function to be computed into a logical circuit. Like a digital electrical circuit, the logical circuit is composed of gates connected by logical wires. Each gate computes a very simple function of its input wires (e.g., logical *or*, *and* or *not*).\n\nIn this project we took a different avenue towards practical secure computation: changing it from a \u201chardware engineering\u201d problem (designing circuits) to one of \u201csoftware engineering\u201d (writing programs). By relaxing the security definition a little (to allow the secure computation to reveal its total running time), this model could make it feasible to compute functions whose circuit representation is too large for existing techniques to handle. Moreover, in this architecture it is possible to compile secure programs directly from standard programming languages (such as C or Java). We hope this will make secure computation accessible to the many software engineers who already know how to program but do not have time to learn new, domain-specific languages or circuit design.\n\n#### Main results\n\nThe project consists of both theoretical and implementation components.\nOn the practical front, we have developed a software library for running a secure computation \u201cvirtual machine\u201d (we call this the Inchworm Virtual Machine). By constructing a toolkit aimed at the \u201caverage programmer\u201d, together with sample applications that demonstrate its usefulness, we hope to repeat the success of now standard cryptographic tools, such as public-key encryption and digital signatures.\n\nWe now have a working virtual machine for secure computation, written in Java. The implementation contains a built-in assembler\/disassembler, supporting symbolic addresses and inline evaluation of (constant) arithmetic expressions. In addition, we have written an LLVM backend that targets the Inchworm virtual machine, allowing C programs to be compiled to Inchworm assembly.\n\nWe have also written several benchmark \u201capplications\u201d in both C and the Inchworm assembly language, including an implementation of the SHA-1 and SHA-256 hash functions, the AES block cipher, secure computation of the GCD of two integers and multiplication of big integers. These assembly programs are already useful as test cases for the virtual machine implementation and for evaluating the \u201cprogrammer experience\u201d when working with the Inchworm platform. They are also stepping stones towards applications that may have practical use, such as secure computation of an RSA public key.\n\nThe planning for initial implementation originally called for a circuit-based CPU, implemented using standard secure-computation techniques. However, during our preliminary research and design phase, we observed that such a monolithic design is not necessary. Instead, our virtual CPU design relies on a new idea: each \u201cinstruction\u201d of the virtual CPU is composed of several operations (ops), and each op is a separate secure computation. For example, an instruction might be composed of a LOADREG (an indirect read from a register), several arithmetic ops (e.g., ADD, XOR, etc.) and a STOREREG (and indirect write to a register). Since each op is a separate secure computation, its implementation can be tailored for that particular operation. In particular, we can \u201cmix and match\u201d between secure computation protocols and choose the best one for each op.\n\nIn our implementation, we make use of this property extensively. For example, we implement the LOAD and STORE operations using a new dedicated protocol we call FastMUX, based only on (black-box) oblivious transfer (which itself is implemented using OT extension protocols, and thus requires almost no computation overhead). In comparison testing, our FastMUX protocol beats both the na\u00efve circuit-based MUX and ORAM implementations for memory sizes of up to several gigabytes. The arithmetic operations are currently implemented using circuit-based secure computation (for this purpose we are currently using code based on the FastGC secure computation library from the University of Virginia).\n\nAn additional advantage of our design choice is extreme modularity. It is easy to test and compare different implementations of a single op, without changing the rest of the code. This design also lends itself to easier debugging of both the infrastructure and application (Inchworm assembly) code\u2014this is something that secure computation can make much harder to do, since the application (by design) runs in a completely \u201copaque\u201d manner. Using the modular design, we can swap out the secure op implementation with \u201cdummy\u201d implementations that have the same functionality but do not use secure computation; these can be easily inspected during runtime (using a standard Java debugger, or via logging infrastructure).\n\nA second innovation in the current design stems from the observation that, while the number of ops in an instruction and their order must be known to all the computing parties (and thus cannot depend on the secret state of the CPU), we do not have to use the same ops in each instruction. For example, a DIV op (secure computation of a division operation) is extremely expensive compared to an ADD; if we required every instruction to contain a DIV, efficiency would be significantly impacted. To solve this problem, we allow each op to have a different frequency: for example, we can specify that an ADD op is included in every instruction, while a DIV op is only executed once every hundred instructions. This allows an Inchworm assembly program to benefit from a DIV instruction (executed rarely), without paying the price in each instruction.\n\nOn the theoretical side, we have several new results in related areas:\n\n-   *One-Way Functions and (Im)perfect Obfuscation*: We considered a basic question about the relation between indistinguishability Obfuscation (iO) and one-way functions, taking a step towards proving that if $\\textrm{P}\\ne\\textrm{NP}$ then efficient iO implies one-way functions (we showed the implication when $\\textrm{NP}\\nsubseteq\\textrm{io-BPP}$).\n\n-   *Topology-Hiding Computation*: We studied multiparty computation in a setting where parties are connected by a *partial* communication graph (as opposed to a broadcast channel or a full point-to-point network), where one of the security objectives is hiding information about the communication graph itself. Our research was one of the first to consider this question, and we provided both negative and positive results (on the positive side, we constructed a protocol for topology-hiding computation in the semi-honest model, on graphs with logarithmic diameter, while on the negative we showed impossibility results in the fail-stop model).\n\n-   *Public Verification of Private Effort*: We studied the problem of converting privately-verifiable proofs into a publicly-verifiable protocol. In this context, we proposed a new \u201ceffort\u201d based polling protocol whose results can be publicly verified, without having to trust the pollster for faithfully announcing the poll\u2019s results or relying on strong identity verification (which is very hard to achieve in an Internet setting).\n\n-   *How to Use Bitcoin to Play Decentralized Poker*: We generalized \u201ctraditional\u201d secure multiparty computation to a setting with money\u2014where in addition to the standard (informational) inputs and outputs, parties can also submit money as input to the computation, and the resulting computation can distribute the money to the parties. We show how to construct a protocol for general \u201csecure cash distribution\u201d, relying on an ideal primitive that can be implemented by existing crypto-currencies, as well as a more efficient protocol specifically for card games (such as Poker).\n\n-   *Proofs of Space-Time and Rational Proofs of Storage*: In the context of crypto-currencies, we propose a replacement to the using \u201cproofs-of-work\u201d (PoWs) as the underlying proof of resource consumption. Our protocol can be used instead to prove that a user \u201cwasted\u201d storage space for a given amount of time. This has the advantage of being far more energy efficient, which is both more environmentally friendly and allows lower transaction fees. Our definitions are in the same spirit as previous work on \u201cProofs of Space\u201d (patching some holes in the original definitions), but our construction is completely different (and can be thought of as complementary).[^1]\n\n#### Public web-site\n\nThe software library source and documentation have been published under an open-source license on GitHub (http:\/\/github.com\/factcenter\/inchworm ), and linked from the project website at \u003Chttp:\/\/factcenter.org\/inchworm\u003E. Theoretical research papers have been\/will be published on the IACR eprint archive and the author\u2019s personal web pages.","reportTypeDescription":"IG Final Report","identifiers":{"reportId":"1328328"},"sourceUpdateDate":"2017-02-21 16:34:31","contentCreationDate":"2016-06-03 12:14:15","contentUpdateDate":"2016-06-03 12:17:06","lastUpdateDate":"2017-02-21 16:34:31","archivedDate":"2024-06-23 00:00:00","relations":{"associations":[{"availableLanguages":"de,en,es,fr,it,pl","rcn":"190579","id":"190579-a-new-age-in-cryptography","title":"A new age in cryptography","teaser":"Complex multiparty computation has become easier. A new approach relies on faster and more flexible software compared to traditional methods using hardware computations.","contentUpdateDate":"2016-11-23 10:49:28","archivedDate":"2024-06-10 00:00:00","relations":{"categories":[{"language":"en","availableLanguages":"de,en,es,fr,it,pl","code":"ict","title":"Digital Economy","displayCode":"\/Digital Economy","attributes":{"classification":"applicationDomain","type":"isApplicableIn"}},{"language":"en","availableLanguages":"de,en,es,fr,it,pl","code":"brief","title":"Result in Brief","description":"Article: Classic and enhanced","displayCode":"\/Result in Brief","attributes":{"classification":"collection","type":"belongsTo"}},{"language":"en","availableLanguages":"de,en,es,fr,it,pl","code":"editorial","title":"CORDIS Editorial","description":"Written by CORDIS","displayCode":"\/CORDIS Editorial","attributes":{"classification":"source","type":"isProvidedBy"}}],"associations":[{"language":"en","availableLanguages":"de,en,es,fr,it,pl,any","uri":"\/docs\/results\/images\/2016-11\/190579.jpg","mimetype":"image\/jpeg","size":"0","copyright":"\u00a9 McIek, Shutterstock","contenttype":"webItem","attributes":{"represents":"article","source":"editorial","type":"relatedImage"}}]},"contenttype":"article","attributes":{"source":"editorial","type":"relatedArticle"}},{"availableLanguages":"en","rcn":"3108030","legalName":"INTERDISCIPLINARY CENTER (IDC) HERZLIYA","address":{"country":"IL"},"contenttype":"organization","attributes":{"source":"sesam","type":"relatedOrganization"}},{"availableLanguages":"en","rcn":"100007","id":"293843","acronym":"VON NEUMANN MPC","title":"Secure Multiparty Computation in the von Neumann Architecture","archivedDate":"2024-06-18 00:00:00","relations":{"categories":[{"language":"en","availableLanguages":"de,en,es,fr,it,pl","code":"project","title":"Project","description":"Project factsheets","displayCode":"\/Project","attributes":{"classification":"collection","type":"belongsTo"}},{"language":"en","availableLanguages":"de,en,es,fr,it,pl","code":"\/23\/47\/307","title":"software","displayCode":"\/natural sciences\/computer and information sciences\/software","attributes":{"classification":"euroSciVoc","type":"isInFieldOfScience"}},{"language":"en","availableLanguages":"de,en,es,fr,it,pl","code":"\/25\/73\/453\/449\/1203","title":"computer processors","displayCode":"\/engineering and technology\/electrical engineering, electronic engineering, information engineering\/electronic engineering\/computer hardware\/computer processors","attributes":{"classification":"euroSciVoc","type":"isInFieldOfScience"}},{"language":"en","availableLanguages":"de,en,es,fr,it,pl","code":"\/23\/47\/295\/917","title":"cryptography","displayCode":"\/natural sciences\/computer and information sciences\/computer security\/cryptography","attributes":{"classification":"euroSciVoc","type":"isInFieldOfScience"}},{"language":"en","availableLanguages":"en","code":"MC-CIG","title":"Support for training and career development of researcher (CIG)","displayCode":"\/Support for training and career development of researcher (CIG)","attributes":{"classification":"projectFundingSchemeCategory","type":"relatedProjectFundingSchemeCategory"}},{"language":"en","availableLanguages":"de,en,es,fr,it,pl","code":"corda","title":"CORDA","description":"RTD research data warehouse","displayCode":"\/CORDA","attributes":{"classification":"source","type":"isProvidedBy"}}],"associations":[{"availableLanguages":"de,en,es,fr,it,pl","rcn":"848","id":"FP7-PEOPLE","code":"FP7-PEOPLE","frameworkProgramme":"FP7","pga":"FP7-PEOPLE","title":"Specific programme \u0022People\u0022 implementing the Seventh Framework Programme of the European Community for research, technological development and demonstration activities (2007 to 2013)","shortTitle":"Specific Programme \u0022People\u0022","parent":{"rcn":"1401\/837","code":"EC\/FP7"},"archivedDate":"2024-06-12 00:00:00","relations":{"categories":[{"language":"en","availableLanguages":"de,en,es,fr,it,pl","code":"legalbasis","title":"Legal Basis","description":"Programme: Legal basis for research funding","displayCode":"\/Legal Basis","attributes":{"classification":"collection","type":"belongsTo"}},{"language":"en","availableLanguages":"de,en,es,fr,it,pl","code":"editorial","title":"CORDIS Editorial","description":"Written by CORDIS","displayCode":"\/CORDIS Editorial","attributes":{"classification":"source","type":"isProvidedBy"}}]},"contenttype":"programme","attributes":{"source":"corda","type":"relatedLegalBasis"}},{"availableLanguages":"en","rcn":"15136","id":"FP7-PEOPLE-2011-CIG","code":"FP7-PEOPLE-2011-CIG","frameworkProgramme":"FP7","title":"Marie-Curie Action: \u0022Career Integration Grants\u0022","parent":{"rcn":"10053\/11419\/848\/1401\/837","code":"PEOPLE-2\/PEOPLE\/FP7-PEOPLE\/EC\/FP7"},"archivedDate":"2024-06-14 00:00:00","relations":{"categories":[{"language":"en","availableLanguages":"de,en,es,fr,it,pl","code":"topic","title":"Topic","description":"Programme: Part of the Commission work programme implementing legal basis","displayCode":"\/Topic","attributes":{"classification":"collection","type":"belongsTo"}},{"language":"en","availableLanguages":"de,en,es,fr,it,pl","code":"editorial","title":"CORDIS Editorial","description":"Written by CORDIS","displayCode":"\/CORDIS Editorial","attributes":{"classification":"source","type":"isProvidedBy"}}]},"contenttype":"programme","attributes":{"source":"corda","type":"relatedTopic"}}]},"contenttype":"project","attributes":{"source":"sesam","type":"relatedProject"}}],"categories":[{"language":"en","availableLanguages":"de,en,es,fr,it,pl","code":"pubsum","title":"Report Summary","description":"Result: Publishable summary (FP7 SESAM) and Summary for publication (H2020 SyGMa)","displayCode":"\/Report Summary","attributes":{"classification":"collection","type":"belongsTo"}},{"language":"en","availableLanguages":"de,en,es,fr,it,pl","code":"sesam","title":"SESAM","description":"RTD FP7 reporting system (including FP6 Marie Curie)","displayCode":"\/SESAM","attributes":{"classification":"source","type":"isProvidedBy"}}],"regions":[{"name":"Israel","rcn":"307661352","nutsCode":"IL","euCode":"IL","isoCode":"IL","attributes":{"source":"sesam","type":"relatedRegion"}}]},"modelVersion":"132","icaVersion":"20.0.1-7111aba0"}