This paper discusses the relationship between two frameworks: universal composability (UC) and robust compilation (RC). In cryptography, UC is a framework for the specification and analysis of cryptographic protocols with a strong compositionality guarantee: UC protocols remain secure even when composed with other protocols. In programming language security, RC is a novel framework for determining secure compilation by proving whether compiled programs are as secure as their source-level counterparts no matter what target-level code they interact with. Presently, these disciplines are studied in isolation, though we argue that there is a deep connection between them and exploring this connection will benefit both research fields. This paper formally proves the connection between UC and RC and then it explores the benefits of this connection. For this, this paper first identifies which conditions must programming languages fulfil in order to possibly attain UC-like composition. Then, it proves UC of both an existing and a new commitment protocol as a corollary of the related compilers attaining RC. Finally, it mechanises these proofs in Deepsec, obtaining symbolic guarantees that the protocol is indeed UC. Our connection lays the groundwork towards a better and deeper understanding of both UC and RC, and the benefits we showcase from this connection provide first evidence of scalable mechanised proofs for UC.
翻译:本文讨论了两个框架之间的关系:普遍可化(UC)和强有力的汇编(RC)。在加密学中,UC是一个对加密协议进行规格和分析的框架,具有很强的构成保证:即使与其他议定书一起组成,UC协议仍然安全。在语言安全编程中,RC是一个新的框架,通过证明汇编程序是否与源一级对应方一样安全,从而确定安全汇编,无论它们与谁相交,无论它们与什么目标级代码相互作用。目前,这些学科是孤立研究的,尽管我们认为它们之间有着深厚的联系,探索这一联系将有益于两个研究领域。本文件正式证明UC和RCR之间的联系,然后探讨这一联系的好处。为此,本文件首先确定了为可能实现UC的构成而必须具备哪些条件。随后,它证明UC是一个既有的和新的承诺协议,作为实现驻地协调员相关汇编者的必然结果。最后,它从Deepsec中将这些证据加以归纳,获得关于协议确实是UCUC的象征性保证。我们的联系为更好地和更深入地理解这种展示和RCU的链接提供了基础。