Back to search

The University of Texas at Austin

Modern hardware challenges for constant-time programming

Abstract

dc:description.abstract

Software execution relies on a transformation hierarchy consisting of abstraction layers: algorithm, compiler, ISA, microarchitecture, transistors, and electrons. From bottom to top, each layer abstracts away details, so the top layers must make assumptions about those below. These assumptions are valid for most applications, but security policies require them to be held whenever secret data is involved. The constant-time principle is a crucial security principle defending against timing side-channel attacks, a serious threat that compromises systems by exploiting the timing signals produced by target operations. The principle asserts that software is free from timing attacks if its execution time is independent of any secret. Over the years, researchers have developed constant-time programming, which has become the prevailing programming model for software that processes secret data. This dissertation demonstrates the incorrect hardware assumptions made by constant-time programming for both general-purpose processors and emerging accelerators. Firstly, constant-time programming assumes that microarchitecture does not execute secret-dependent memory access unless explicitly instructed by the software. By introducing GPU.zip and Gofetch, we reveal that modern microarchitecture features exotic data-dependent optimizations that violate this assumption, as the hardware is not aware of secret data types managed solely by the software. This violation highlights the challenge of communicating software security policies to increasingly complex state-of-the-art microarchitecture. Secondly, constant-time programming assumes that power leakages, despite being a powerful attack vector, cannot be captured via timing. By introducing Hertzbleed, we illustrate that modern transistor layer technology couples power and frequency, effectively transforming power side-channel attacks into remote timing attacks. This violation demonstrates that the prevailing constant-time programming is insufficient to guarantee constant-time execution. We provide a comprehensive analysis of these vulnerabilities and their implications for future secure system design.

Degree

thesis:*
Name thesis:degree_name
Doctor of Philosophy
Discipline thesis:degree_discipline
Computer Science
Department thesis:degree_department
Computer Science
Grantor
The University of Texas at Austin
Year dc:date.issued
2024

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Wang, Yingchen, Ph. D.
Advisor dc:contributor.advisor
  • Shacham, Hovav
Committee member dc:contributor.committeemember
  • Witchel, Emmett

Subjects

dc:subject × 3

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
University of Texas
Base URL
repositories.lib.utexas.edu/server/oai/request
Last updated
2026-11-20
Source record
OAI-PMH GetRecord
citation

Wang, Yingchen, Ph. D.. Modern hardware challenges for constant-time programming. The University of Texas at Austin, 2024. https://doi.org/10.26153/tsw/55994