EUVIMEDEUVIMED entdecken
Crossref

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

Owen Conoly, Andres Erbsen, Adam Chlipala

Proceedings of the ACM on Programming Languages · 10.06.2025 · 9 (PLDI) · 1692-1715

DOI: 10.1145/3729318 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Proceedings of the ACM on Programming Languages, online erschienen am 13.06.2025. Verfasst von Owen Conoly und 2 weiteren Autor:innen. Die Arbeit wurde bisher 3-mal zitiert (Crossref) und nennt 28 Literaturangaben. Gefördert von: NSF.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

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.

Förderung

  • NSF

Zitieren

APA

Conoly, O., Erbsen, A., & Chlipala, A. (2025). Smooth, Integrated Proofs of Cryptographic Constant Time for Nondeterministic Programs and Compilers. Proceedings of the ACM on Programming Languages, 9(PLDI), 1692-1715. https://doi.org/10.1145/3729318

Vancouver

Conoly O, Erbsen A, Chlipala A. Smooth, Integrated Proofs of Cryptographic Constant Time for Nondeterministic Programs and Compilers. Proceedings of the ACM on Programming Languages. 2025;9(PLDI):1692-1715. doi:10.1145/3729318

BibTeX
@article{Conoly2025,
  author = {Conoly, Owen and Erbsen, Andres and Chlipala, Adam},
  title = {Smooth, Integrated Proofs of Cryptographic Constant Time for Nondeterministic Programs and Compilers},
  journal = {Proceedings of the ACM on Programming Languages},
  year = {2025},
  volume = {9},
  number = {PLDI},
  pages = {1692--1715},
  doi = {10.1145/3729318}
}
Kostenlos starten →