TinyGarble: Highly Compressed and Scalable Sequential Garbled Circuits

TitleTinyGarble: Highly Compressed and Scalable Sequential Garbled Circuits
Publication TypeConference Paper
Year of Publication2015
AuthorsSonghori, E., S. U. Hussain, A. - R. Sadeghi, T. Schneider, and F. Koushanfar
Conference NameIEEE Symposium on Security and Privacy (S&P)(14% acceptance rate)
Date PublishedMay, 2015
KeywordsGarbled Circuit, Hardware Synthesis, Logic Design, Multiparty Computation, Secure Function Evaluation, Yao’s protocol

We introduce TinyGarble, a novel automated methodology based on powerful logic synthesis techniques for generating and optimizing compressed Boolean circuits used in secure computation, such as Yao’s Garbled Circuit (GC) protocol. TinyGarble achieves an unprecedented level of compactness and scalability by using a sequential circuit description for GC. We introduce new libraries and transformations, such that our sequential circuits can be optimized and securely evaluated by interfacing with available garbling frameworks. The circuit compactness makes the memory footprint of the garbling operation fit in the processor cache, resulting in fewer cache misses and thereby less CPU cycles. Our proof-of-concept implementation of benchmark functions using TinyGarble demonstrates a high degree of compactness and scalability. We improve the results of existing automated tools for GC generation by orders of magnitude; for example, TinyGarble can compress the memory footprint required for 1024-bit multiplication by a factor of 4,172, while decreasing the number of non-XOR gates by 67%. Moreover, with TinyGarble we are able to implement functions that have never been reported before, such as SHA-3. Finally, our sequential description enables us to design and realize a garbled processor, using the MIPS I instruction set, for private function evaluation. To the best of our knowledge, this is the first scalable emulation of a general purpose processor.

TinyGarble.pdf693.26 KB


Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer