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

高级加密抽象

High-level Cryptographic Abstractions

Christopher Kane, Bo Lin, Saksham Chand, Scott D. Stoller, Yanhong A. Liu

摘要:

通常使用的加密库所公开的接口是笨拙的、复杂的,并且假定理解加密算法。挑战在于设计需要最少知识和工作量的高级抽象,同时在需要时允许最大限度的控制。本文提出了这种高层次的抽象组成的简单的密码原语和完整的声明式配置。这些抽象可以在任何语言的任何加密库之上实现。我们已经在Python中实现了这些抽象,并使用它们编写了各种各样的知名安全协议,包括Signal,TLS和TLS。我们表明,使用我们的抽象程序更小,更容易写比使用低级别的库,其中实现的安全协议的大小平均减少了约三分之一。我们表明,我们的实现产生了一个小的开销,小于5微秒的共享密钥操作和小于341微秒(< 1%)的公钥操作。我们还表明,我们的抽象是安全的,对主要类型的密码滥用文献中报道。

英文摘要:

The interfaces exposed by commonly used cryptographic libraries are clumsy, complicated, and assume an understanding of cryptographic algorithms. The challenge is to design high-level abstractions that require minimum knowledge and effort to use while also allowing maximum control when needed. This paper proposes such high-level abstractions consisting of simple cryptographic primitives and full declarative configuration. These abstractions can be implemented on top of any cryptographic library in any language. We have implemented these abstractions in Python, and used them to write a wide variety of well-known security protocols, including Signal, Kerberos, and TLS. We show that programs using our abstractions are much smaller and easier to write than using low-level libraries, where size of security protocols implemented is reduced by about a third on average. We show our implementation incurs a small overhead, less than 5 microseconds for shared key operations and less than 341 microseconds (< 1%) for public key operations. We also show our abstractions are safe against main types of cryptographic misuse reported in the literature.

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

↑