Scalable secure computation from ANSI-C

Niklas Büscher, D. Kretzmer, Arnav Jindal, S. Katzenbeisser
{"title":"Scalable secure computation from ANSI-C","authors":"Niklas Büscher, D. Kretzmer, Arnav Jindal, S. Katzenbeisser","doi":"10.1109/WIFS.2016.7823913","DOIUrl":null,"url":null,"abstract":"With Secure Multi-party Computation (MPC) becoming more and more practical, tools for automatized application development become of importance. Therefore, multiple compilers have been developed that translate high-level functionality descriptions into Boolean circuits, optimized for their use in MPC protocols. Previous efforts in compiler development for MPC either focused on domain specific (hardware) languages or only provided limited optimization techniques. Yet, for the practical use of MPC, compilers supporting common programming languages are desirable to provide developers an accessible interface to MPC, and to enable reusability of existing code. In this work we present a novel compilation approach from ANSI-C to Boolean circuits that allows scalable compilation with advanced optimization techniques. To achieve an efficient compilation, we present a source code decomposition approach based on static analysis and introduce the idea of source code guided circuit minimization. Multiple experiments illustrate the efficiency of our approach. For instance, comparing with other recently presented compilers, we report a circuit size that is 70% smaller for the example application of a floating point matrix multiplication with 22.8 million non-linear gates.","PeriodicalId":194831,"journal":{"name":"2016 IEEE International Workshop on Information Forensics and Security (WIFS)","volume":"37 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"12","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2016 IEEE International Workshop on Information Forensics and Security (WIFS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/WIFS.2016.7823913","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 12

Abstract

With Secure Multi-party Computation (MPC) becoming more and more practical, tools for automatized application development become of importance. Therefore, multiple compilers have been developed that translate high-level functionality descriptions into Boolean circuits, optimized for their use in MPC protocols. Previous efforts in compiler development for MPC either focused on domain specific (hardware) languages or only provided limited optimization techniques. Yet, for the practical use of MPC, compilers supporting common programming languages are desirable to provide developers an accessible interface to MPC, and to enable reusability of existing code. In this work we present a novel compilation approach from ANSI-C to Boolean circuits that allows scalable compilation with advanced optimization techniques. To achieve an efficient compilation, we present a source code decomposition approach based on static analysis and introduce the idea of source code guided circuit minimization. Multiple experiments illustrate the efficiency of our approach. For instance, comparing with other recently presented compilers, we report a circuit size that is 70% smaller for the example application of a floating point matrix multiplication with 22.8 million non-linear gates.
可扩展的安全计算从ANSI-C
随着安全多方计算(MPC)越来越实用,自动化应用开发工具变得越来越重要。因此,已经开发了多个编译器,将高级功能描述转换为布尔电路,并针对其在MPC协议中的使用进行了优化。以前在MPC编译器开发方面的努力要么集中在特定领域(硬件)语言上,要么只提供有限的优化技术。然而,对于MPC的实际使用,需要支持通用编程语言的编译器为开发人员提供可访问的MPC接口,并使现有代码具有可重用性。在这项工作中,我们提出了一种新的编译方法,从ANSI-C到布尔电路,允许使用先进的优化技术进行可扩展的编译。为了实现高效编译,提出了一种基于静态分析的源代码分解方法,并引入了源代码引导电路最小化的思想。多个实验证明了该方法的有效性。例如,与其他最近提出的编译器相比,我们报告的电路尺寸比具有2280万个非线性门的浮点矩阵乘法的示例应用程序小70%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书