Granite: A Modular Methodology for Foundational Verification of Hardware-Software Leakage Contracts

The work

AuthorsStella Lau; Andres Erbsen; Adam Chlipala
Editors
Typemisc
Year2026
Citekeylau2026granite

Identifiers

arXiv2607.27480 from its landing_page_url

Related

Distinct frombaty2024formal
Distinct frombaumann2026triosecuris
Distinct frombloem2018formal
Distinct frombourgeat2025making
Distinct fromchoi2017kami
Distinct fromkocher1999differential
Distinct fromkocher2019spectre
Distinct fromkumar2023pragmatic
Distinct fromtan2023security

From bibtex.

Abstract

Granite is a methodology for modular verification of both functional correctness and nonleakage of RTL processors against ISA contracts. We prove that the cycle-by-cycle timing of a pipelined RISC design - with speculation, precise interrupts, and I/O - is determined solely by observables specified in an ISA leakage contract. For programs that keep observables independent of secrets (i.e., following the cryptographic-constant-time discipline), this result conclusively rules out information leakage through known and unknown timing side channels. Granite's specifications only constrain functional correctness and information-flow dependencies: not how many cycles an instruction takes, at which instruction an interrupt is handled, or the exact latencies of submodules such as multipliers and memory. Granite's central technique is leakage-aware refinement via determinism, which establishes correctness and confidentiality together as trace equivalence with respect to a family of cycle-level, deterministic spec machines. Secret-independent nondeterminism is handled by existentially parameterizing specifications with untrusted, deterministic functions acting only on public data. Submodules are proved against their own leakage-aware specifications, and these proofs compose into the whole-design guarantee - which therefore holds over a space of secure implementations. We believe this work is the first to achieve modular and foundational connection between instruction-set-level leakage contracts and microarchitecture-specific cycle-by-cycle execution with wire-level observations. Our proofs compose with a certified static analysis that recognizes cryptographic-constant-time code to derive a single Rocq theorem about the cycle-by-cycle confidentiality of a hardware-and-software cryptographic implementation - eliminating every intermediate specification, including the ISA contract itself, from the trusted computing base.

A copy is held

pdf, 815.6 kB. Not published — it may be under copyright. The facts and links here are.

How it got here

How it got hereagent via bibtex
Added2026-09-17 05:43 UTC
Approved bya person 2026-09-17 16:58 UTC

Cite it as

@misc{lau2026granite,
  title        = {Granite: A Modular Methodology for Foundational Verification of Hardware-Software Leakage Contracts},
  author       = {Stella Lau and Andres Erbsen and Adam Chlipala},
  year         = {2026},
}

This record lives at https://refs.drheap.org/lau2026granite/ and will keep doing so.