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

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

计算机科学 > 程序设计语言

arXiv:2504.15550 (cs)
[提交于 2025年4月22日]

标题:Smooth, Integrated Proofs of Cryptographic Constant Time for Nondeterministic Programs and Compilers

作者:Owen Conoly, Andres Erbsen, Adam Chlipala
查看论文《Smooth, Integrated Proofs of Cryptographic Constant Time for Nondeterministic Programs and Compilers》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Formal verification of software and compilers has been used to rule out large classes of security-critical issues, but risk of unintentional information leakage has received much less consideration. It is a key requirement for formal specifications to leave some details of a system's behavior unspecified so that future implementation changes can be accommodated, and yet it is nonetheless expected that these choices would not be made based on confidential information the system handles. This paper formalizes that notion using omnisemantics and plain single-copy assertions, giving for the first time a specification of what it means for a nondeterministic program to be constant-time or more generally to avoid leaking (a part of) its inputs. We use this theory to prove data-leak-free execution of core cryptographic routines compiled from Bedrock2 C to RISC-V machine code, showing that the smooth specification and proof experience omnisemantics provides for nondeterminism extends to constant-time properties in the same setting. We also study variants of the key program-compiler contract, highlighting pitfalls of tempting simplifications and subtle consequences of how inputs to nondeterministic choices are constrained. Our results are backed by modular program-logic and compiler-correctness theorems, and they integrate into a neat end-to-end theorem in the Coq proof assistant.
评论: 34 pages, 1 table, 0 figures. to be published in PLDI 2025 proceedings
主题: 程序设计语言 (cs.PL)
引用方式: arXiv:2504.15550 [cs.PL]
  (或者 arXiv:2504.15550v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.2504.15550

提交历史

来自:Owen Conoly
[v1] 2025年4月22日 星期二 03:12:31 UTC
全文链接:

访问论文:

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

当前浏览上下文:

cs.PL
< 上一篇   |   下一篇 >
最新 | 近期 | 2025-04
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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