Frigate: A Validated, Extensible, and Efficient Compiler and Interpreter for Secure Computation
Authors:
- Benjamin MoodBMBenjamin Mood
- Debayan GuptaDGDebayan Gupta
- Henry CarterHCHenry Carter
- Kevin ButlerKBKevin Butler
- Patrick TraynorPTPatrick Traynor
- 1 March 2016
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 112-127
Abstract
Recent developments in secure computation have led to significant improvementsin efficiency and functionality. These efforts created compilers that form thebackbone of practical secure computation research. Unfortunately, many of theartifacts that are being used to demonstrate new research for secure computationare incomplete, incorrect, or unstable, leading to demonstrably erroneousresults and inefficiencies - extending even to the most recently developedcompiler systems. This is a problem because it hampers research and underminesfeasibility tests when other researchers attempt to use these tools. We addressthese problems and present Frigate, a principled compiler and fast circuitinterpreter for secure computation. To ensure correctness we apply bestpractices for compiler design and development, including the use of standarddata structures, helpful negative results, and structured validation testing. Our systematic validation tests include checks on the internal compiler state, combinations of operators, and edge cases based on widely used techniques anderrors we have observed in other work. This produces a compiler that buildscorrect circuits, is efficient and extensible. Frigate creates circuits withgate counts comparable to previous work, but does so with compile time speedupsas high as 447x compared with the best results from previous work in circuit compilers. By creating avalidated tool, our compiler will allow future secure computationimplementations to be developed quickly and correctly.Keywords
This publication has 37 references indexed in Scilit:
- Reuse It Or Lose It2014
- FleXOR: Flexible Garbling for XOR Gates That Beats Free-XOR2014
- A Witnessing Compiler: A Proof of Concept2013
- A new approach to interdomain routing based on secure multi-party computation2012
- Secure two-party computations in ANSI C2012
- Memory-Efficient Garbled Circuit Generation for Mobile Devices2012
- Secure Two-Party Computation via Cut-and-Choose Oblivious Transfer2011
- Formal verification of a realistic compilerCommunications of the ACM, 2009
- Improved Garbled Circuit: Free XOR Gates and Applications2008
- The verifying compilerJournal of the ACM, 2003