首页> 外文会议>IEEE Symposium on Security and Privacy >Simple High-Level Code for Cryptographic Arithmetic - With Proofs, Without Compromises
【24h】

Simple High-Level Code for Cryptographic Arithmetic - With Proofs, Without Compromises

机译:加密算法的简单高级代码-带有证明,不妥协

获取原文

摘要

We introduce a new approach for implementing cryptographic arithmetic in short high-level code with machine-checked proofs of functional correctness. We further demonstrate that simple partial evaluation is sufficient to transform into the fastest-known C code, breaking the decades-old pattern that the only fast implementations are those whose instruction-level steps were written out by hand. These techniques were used to build an elliptic-curve library that achieves competitive performance for 80 prime fields and multiple CPU architectures, showing that implementation and proof effort scales with the number and complexity of conceptually different algorithms, not their use cases. As one outcome, we present the first verified high-performance implementation of P-256, the most widely used elliptic curve. implementations from our library were included in BoringSSL to replace existing specialized code, for inclusion in several large deployments for Chrome, Android, and CloudFlare.
机译:我们引入了一种新的方法,该方法可以使用机器检查的功能正确性证明,在简短的高级代码中实现密码算法。我们进一步证明,简单的部分求值足以转换成已知最快的C代码,打破了几十年前的模式,即仅有的快速实现是那些手工编写指令级步骤的实现。这些技术用于构建椭圆曲线库,该库在80个主要字段和多个CPU架构上均具有竞争性能,表明实现和证明工作随概念上不同的算法(而不是其用例)的数量和复杂性而扩展。作为一个结果,我们提出了最广泛使用的椭圆曲线P-256的第一个经过验证的高性能实现。我们的库中的实现已包含在BoringSSL中,以替换现有的专用代码,以包含在针对Chrome,Android和CloudFlare的多个大型部署中。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号