arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1711.06467cs.PL
收藏

WYS *:用于验证安全多方计算的DSL

WYS*: A DSL for Verified Secure Multi-party Computations

Aseem Rastogi, Nikhil Swamy, Michael Hicks

摘要:

安全多方计算(MPC)使一组相互不信任的各方能够使用加密协议在其私有数据上合作计算函数。本文介绍了Wys*,一种新的领域特定语言(DSL)的混合模式的MPC编写。Wys* 是一种以F* 为宿主的嵌入式DSL,F * 是一种面向验证的有效程序设计语言。Wys* 源程序本质上是以自定义MPC效果编写的F* 程序,这意味着程序员可以使用F* 的逻辑来验证其程序的正确性和安全性。为了推理这些程序的分布式运行时语义,我们形式化了Wys* 的深度嵌入,也是在F* 中。我们机械化必要的元理论,以证明验证的Wys* 源程序进行到分布式,多方语义的属性。最后,我们使用F* 的提取提取一个解释器,我们已经证明匹配这个语义,产生一个部分验证的实现。Wys* 是第一个支持MPC程序形式化验证的DSL。我们已经在Wys* 中实现了多个MPC协议,包括私有集合交集、联合中值和MPC卡处理应用,并验证了它们的正确性和安全性。

英文摘要:

Secure multi-party computation (MPC) enables a set of mutually distrusting parties to cooperatively compute, using a cryptographic protocol, a function over their private data. This paper presents Wys*, a new domain-specific language (DSL) for writing mixed-mode MPCs. Wys* is an embedded DSL hosted in F*, a verification-oriented, effectful programming language. Wys* source programs are essentially F* programs written in a custom MPC effect, meaning that the programmers can use F*'s logic to verify the correctness and security properties of their programs. To reason about the distributed runtime semantics of these programs, we formalize a deep embedding of Wys*, also in F*. We mechanize the necessary metatheory to prove that the properties verified for the Wys* source programs carry over to the distributed, multi-party semantics. Finally, we use F*'s extraction to extract an interpreter that we have proved matches this semantics, yielding a partially verified implementation. Wys* is the first DSL to enable formal verification of MPC programs. We have implemented several MPC protocols in Wys*, including private set intersection, joint median, and an MPC card dealing application, and have verified their correctness and security.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑