跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 密码学与安全

arXiv:2012.09919 (cs)
[提交于 2020年12月17日 (v1),最后修订于 2021年3月29日 (此版本, v2)]

标题:Efficient Verification of Optimized Code: Correct High-speed X25519

作者:Marc Schoolderman, Jonathan Moerman, Sjaak Smetsers, Marko van Eekelen
查看论文《Efficient Verification of Optimized Code: Correct High-speed X25519》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Code that is highly optimized poses a problem for program-level verification: programmers can employ various clever tricks that are non-trivial to reason about. For cryptography on low-power devices, it is nonetheless crucial that implementations be functionally correct, secure, and efficient. These are usually crafted in hand-optimized machine code that eschew conventional control flow as much as possible. We have formally verified such code: a library which implements elliptic curve cryptography on 8-bit AVR microcontrollers. The chosen implementation is the most efficient currently known for this microarchitecture. It consists of over 3000 lines of assembly instructions. Building on earlier work, we use the Why3 platform to model the code and prove verification conditions, using automated provers. We expect the approach to be re-usable and adaptable, and it allows for validation. Furthermore, an error in the original implementation was found and corrected, at the same time reducing its memory footprint. This shows that practical verification of cutting-edge code is not only possible, but can in fact add to its efficiency -- and is clearly necessary.
评论: 19 pages, 5 figures. accepted at NFM 2021 (without appendix)
主题: 密码学与安全 (cs.CR); 计算机科学中的逻辑 (cs.LO)
引用方式: arXiv:2012.09919 [cs.CR]
  (或者 arXiv:2012.09919v2 [cs.CR] 对于此版本)
  https://doi.org/10.48550/arXiv.2012.09919

提交历史

来自:Marc Schoolderman
[v1] 2020年12月17日 星期四 20:25:58 UTC
[v2] 2021年3月29日 星期一 11:07:36 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.CR
< 上一篇   |   下一篇 >
最新 | 近期 | 2021-03
切换浏览方式为:
cs
cs.LO

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站