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

设置它并忘记它!用于即时集成的交钥匙ECC

Set It and Forget It! Turnkey ECC for Instant Integration

Dmitry Belyavsky, Billy Bob Brumley, Jesús-Javier Chi-Domínguez, Luis Rivera-Zamarripa, Igor Ustinov

摘要:

从历史上看,椭圆曲线密码学(ECC)是应用密码学的一个活跃领域,最近的重点是高速,恒定时间和正式验证的实现。虽然存在少数异常值,其中所有这些概念都加入并落在现实世界的部署中,但这些通常是基于具体情况的:例如,库可能具有这样的X25519或P-256代码,但不是所有曲线。在这项工作中,我们提出并实现了一种方法,完全自动化的实施,测试和集成的ECC堆栈与上述属性。我们展示了我们的方法的灵活性和适用性,无缝集成到三个现实世界的项目:OpenSSL,Mozilla的NSS,和GOST OpenSSL引擎,实现大约9.5倍,4.5倍,13.3倍,和3.7倍的速度在任何给定的曲线上的密钥生成,密钥协议,签名和验证,分别。此外,我们通过发现OpenSSL中的缺陷和漏洞以及俄罗斯标准中的规范级漏洞来展示我们测试方法的有效性。我们的工作弥合了重要的应用密码学研究成果和部署的软件之间的差距,使整个过程完全自动化。

英文摘要:

Historically, Elliptic Curve Cryptography (ECC) is an active field of applied cryptography where recent focus is on high speed, constant time, and formally verified implementations. While there are a handful of outliers where all these concepts join and land in real-world deployments, these are generally on a case-by-case basis: e.g. a library may feature such X25519 or P-256 code, but not for all curves. In this work, we propose and implement a methodology that fully automates the implementation, testing, and integration of ECC stacks with the above properties. We demonstrate the flexibility and applicability of our methodology by seamlessly integrating into three real-world projects: OpenSSL, Mozilla's NSS, and the GOST OpenSSL Engine, achieving roughly 9.5x, 4.5x, 13.3x, and 3.7x speedup on any given curve for key generation, key agreement, signing, and verifying, respectively. Furthermore, we showcase the efficacy of our testing methodology by uncovering flaws and vulnerabilities in OpenSSL, and a specification-level vulnerability in a Russian standard. Our work bridges the gap between significant applied cryptography research results and deployed software, fully automating the process.

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

↑