Lune

CCS2021Top-tier venue

Solver-Aided Constant-Time Hardware Verification

Klaus von Gleissenthall, Rami Gökhan Kici, Deian Stefan, Ranjit Jhala

Abstract

We present Xenon, a solver-aided, interactive method for formally verifying that Verilog hardware executes in constant-time. Xenon scales to realistic hardware designs by drastically reducing the effort needed to localize the root cause of verification failures via a new notion of constant-time counterexamples, which Xenon uses to synthesize a minimal set of secrecy assumptions in an interactive verification loop. To reduce verification time Xenon exploits modularity in Verilog code via module summaries, thereby avoiding duplicate work across multiple module instantiations. We show how Xenon's assumption synthesis and summaries enable us to verify different kinds of circuits, including a highly modular AES- 256 implementation where modularity cuts verification from six hours to under three seconds, and the ScarVside-channel hardened RISC-V micro-controller whose size exceeds previously verified designs by an order of magnitude. In a small study, we also find that Xenon helps non-expert users complete verification tasks correctly and faster than previous state-of-art tools.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

12 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Lifting Micro-Update Models from RTL for Formal Security Analysis cites Constant-time foundations for the new spectre era
  • Lifting Micro-Update Models from RTL for Formal Security Analysis cites Specification and Verification of Side-channel Security for Open-source Processors via Leakage Contracts
  • Lifting Micro-Update Models from RTL for Formal Security Analysis cites Hardware-Software Contracts for Secure Speculation
  • RTL Verification for Secure Speculation Using Contract Shadow Logic cites Constant-time foundations for the new spectre era
  • RTL Verification for Secure Speculation Using Contract Shadow Logic cites Specification and Verification of Side-channel Security for Open-source Processors via Leakage Contracts
  • RTL Verification for Secure Speculation Using Contract Shadow Logic cites Hardware-Software Contracts for Secure Speculation
  • SoK: Computer-Aided Cryptography cites Verifying Constant-Time Implementations
  • Specification and Verification of Side-channel Security for Open-source Processors via Leakage Contracts cites Constant-time foundations for the new spectre era
  • Specification and Verification of Side-channel Security for Open-source Processors via Leakage Contracts cites Hardware-Software Contracts for Secure Speculation
  • Specification and Verification of Side-channel Security for Open-source Processors via Leakage Contracts cites Verifying Constant-Time Implementations
  • Hardware-Software Contracts for Secure Speculation cites Verifying Constant-Time Implementations
  • Hardware-Software Contracts for Secure Speculation cites Data Oblivious ISA Extensions for Side Channel-Resistant and High Performance Computing
  • RTL2MμPATH: Multi-μPATH Synthesis with Applications to Hardware Security Verification cites Specification and Verification of Side-channel Security for Open-source Processors via Leakage Contracts
  • RTL2MμPATH: Multi-μPATH Synthesis with Applications to Hardware Security Verification cites Data Oblivious ISA Extensions for Side Channel-Resistant and High Performance Computing
  • H-Houdini: Scalable Invariant Learning cites RTL Verification for Secure Speculation Using Contract Shadow Logic
  • H-Houdini: Scalable Invariant Learning cites Specification and Verification of Side-channel Security for Open-source Processors via Leakage Contracts
  • H-Houdini: Scalable Invariant Learning cites Data Oblivious ISA Extensions for Side Channel-Resistant and High Performance Computing
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers12

  1. Specification and Verification of Side-channel Security for Open-source Processors via Leakage ContractsZilong Wang, Gideon Mohr, Klaus von Gleissenthall, Jan Reineke et al.CCS 2023 · 20 citations
  2. RTL Verification for Secure Speculation Using Contract Shadow LogicQinhan Tan, Yuheng Yang, Thomas Bourgeat, Sharad Malik et al.ASPLOS 2025 · 12 citations
  3. RTL2MμPATH: Multi-μPATH Synthesis with Applications to Hardware Security VerificationYao Hsiao, Nikos Nikoleris, Artem Khyzha, Dominic P. Mulligan et al.MICRO 2024 · 12 citations
  4. H-Houdini: Scalable Invariant LearningSushant Dinesh, Yongye Zhu, Christopher W. FletcherASPLOS 2025 · 7 citations
  5. Lifting Micro-Update Models from RTL for Formal Security AnalysisAdwait Godbole, Kevin Cheang, Yatin A. Manerkar, Sanjit A. SeshiaASPLOS 2024 · 3 citations

Builds on16

  1. Verifying Constant-Time ImplementationsJosé Bacelar Almeida, Manuel Barbosa, Gilles Barthe, François Dupressoir et al.USENIX Security 2016 · 274 citations
  2. SoK: Computer-Aided CryptographyManuel Barbosa, Gilles Barthe, Karthik Bhargavan, Bruno Blanchet et al.S&P 2021 · 169 citations
  3. Hardware-Software Contracts for Secure SpeculationMarco Guarnieri, Boris Köpf, Jan Reineke, Pepe VilaS&P 2021 · 111 citations
  4. Data Oblivious ISA Extensions for Side Channel-Resistant and High Performance ComputingJiyong Yu, Lucas Hsiung, Mohamad El Hajj, Christopher W. FletcherNDSS 2019 · 106 citations
  5. Constant-time foundations for the new spectre eraSunjay Cauligi, Craig Disselkoen, Klaus von Gleissenthall, Dean M. Tullsen et al.PLDI 2020 · 90 citations

Related papers

  1. IODINE: Verifying Constant-Time Execution of HardwareKlaus von Gleissenthall, Rami Gökhan Kici, Deian Stefan, Ranjit JhalaUSENIX Security 2019 · 45 citations
  2. Accelerating and verifying constant-time modular inversionDaniel J. Bernstein, Han-Ting Chen, John R. Harrison, Cesare Huang et al.EUROCRYPT 2026 · 1 citation
  3. Formally Verifying Arithmetic Chisel Designs for All Bit Widths at OnceWeizhi Feng, Yicheng Liu, Jiaxiang Liu, David N. Jansen et al.DAC 2024
  4. VeriSketch: Synthesizing Secure Hardware Designs with Timing-Sensitive Information Flow PropertiesArmaiti Ardeshiricham, Yoshiki Takashima, Sicun Gao, Ryan KastnerCCS 2019 · 19 citations
  5. AutoSVA: Democratizing Formal Verification of RTL Module InteractionsMarcelo Orenes-Vera, Aninda Manocha, David Wentzlaff, Margaret MartonosiDAC 2021 · 30 citations
Dusk over the sea between two cliffs drawn in fine vertical lines