Hardware security is only as trustworthy as the process used to build and verify it.

Hardware security is only as trustworthy as the process used to build and verify it.

Hardware Security Modules (HSMs) are designed to protect cryptographic operations and sensitive data. But how can we independently verify that the hardware and firmware inside them actually correspond to the source code and tools used to build them?

In our latest work, we explore reproducible builds as a security property for open FPGA-based Hardware Security Modules.

We developed an FPGA-based HSM building block integrating an open RISC-V processor, a True Random Number Generator (TRNG), and a hardware SHA-256 module. Using Nix, we established a controlled build environment that makes it possible to reconstruct and verify the generated hardware, firmware, and associated verification workflows.

Two key results stand out:

β†’ Bit-for-bit reproducibility of generated hardware RTL and firmware images, independently rebuilt in a fresh environment.
β†’ Portability across two open RISC-V processors, VexRiscv and Ibex, reusing the same security peripherals, firmware drivers, verification tests, and build environment, with processor-specific work limited to the integration layer.

The broader idea is that reproducibility should not be treated merely as a software engineering convenience. For security-critical hardware, being able to independently reconstruct and verify the artifacts is itself an important part of establishing trust.

Our work has been published in the proceedings of the 3rd Workshop on Trusted Computing and Artificial Intelligence applied to Cybersecurity (TrustAICyberSec ’26), co-located with ACM CCS 2026, where I will also be attending the conference and presenting our work in The Hague.

πŸ“„ Paper: https://doi.org/10.1145/3847160.3848074

“Reproducible Builds as a Security Property for Open FPGA-Based Hardware Security Modules Design”

We would like to thank Luca Mannella, Alessandro Savino, and Stefano Di Carlo for their collaboration on this work.

Shared by: Francesco Corvaglia

View original post on LinkedIn

Categories: News

Leave a Reply

Your email address will not be published. Required fields are marked *