Bits of Knowledge: Combining Probabilistic and Formal Techniques for Secure and Low-Power Hardware Design
Licentiate thesis, 2025

Power consumption is a major concern in hardware design. Additionally, power usage can be exploited in side-channel attacks, turning power into a security vulnerability. This thesis lays the groundwork for developing side-channel resistant hardware by developing tools that combine power analysis, formal verification, and probabilistic models in order to rigorously establish security guarantees. We begin by presenting a simple power model for CMOS circuits, computable using BDD-based symbolic simulation. This allows the power consumption to be expressed directly as a function of the circuit inputs, shifting the focus to symbolically representing the input distribution. While there are methods for generating symbolic inputs, they have no guarantees with regards to the distribution of generated vectors. On the other hand, there are methods that do have some guarantee on the distribution, but these do not support symbolic simulation. The latter methods are also restricted to generating uniform distributions. This problem is addressed in one of our papers. We introduce methods for defining arbitrary input distributions in a way that supports symbolic simulation, using BDDs as the core computational tool. Beyond power analysis, these introduced methods are widely applicable in both software and hardware verification. We also discuss the implementation and evaluation of a low-power custom processor for high-level languages, detailing decisions for minimizing energy consumption for both core and memory. This is compared to a low-power RISC-V core running a high-level language in software, showing favorable results for the custom design.

Computer Architecture

Functional programming

Formal verification

Low-power computing

Probabilistic modeling

Room ED, EDIT Building, Campus Johanneberg
Opponent: Associate Prof. Roberto Guanciale, KTH

Author

Henrik Jansson Valter

Chalmers, Computer Science and Engineering (Chalmers), Functional Programming

Higher-order Hardware: Implementation and Evaluation of the Cephalopode Graph Reduction Processor

Proceedings - 2024 22nd ACM-IEEE International Symposium on Formal Methods and Models for System Design, MEMOCODE 2024,;(2024)p. 87-97

Paper in proceeding

Jansson Valter, H. Seger, C. J. BDD-Based Methods for Constrained and Biased Simulation-Vector Generation

Subject Categories (SSIF 2025)

Formal Methods

Computer Sciences

Computer Engineering

Security, Privacy and Cryptography

Publisher

Chalmers

Room ED, EDIT Building, Campus Johanneberg

Opponent: Associate Prof. Roberto Guanciale, KTH

More information

Latest update

5/19/2025