Hardware Security Modules (HSMs), secure elements, and Root of Trusts (RoTs) protect cryptographic operations and secrets, but their hardware artifacts and implementation flows are often difficult to verify independently. This paper argues that reproducibility should be treated as a security property for code-defined hardware, firmware, and software artifacts, and evaluates this claim in the Field-Programmable Gate Array (FPGA) setting. We present a minimal FPGA-based HSM building block composed of a RISC-V processor, a coherent-sampling oscillator True Random Number Generator (TRNG), and a hardware Secure Hash Algorithm (SHA)-256 module. The design is instantiated with VexRiscv and Ibex to assess portability across open RISC-V control cores. A Nix flake pins the hardware-generation, verification, synthesis-input, and firmware dependencies, enabling auditors to rebuild the generated Register-Transfer Level (RTL), reproduce the OpenTRNG verification workflow, execute firmware-level tests, and validate the SHA-256 module through known-answer tests. The result is a reproducible and auditable FPGA-based security substrate whose guarantees hold up to the explicit synthesis boundary, where proprietary vendor tooling remains a residual trust assumption.
Reproducible Builds as a Security Property for Open FPGA-Based Hardware Security Modules Design / Corvaglia, F., Lentini, N., Mannella, L., Savino, A., Di Carlo, S.. - (2026), pp. 9-18. (ACM CCS TrustAICyberSec '26: Proceedings of the 3rd Workshop on Trusted Computing and Artificial Intelligence applied to Cybersecurity L'Aia (NL) 15-19 November 2026) [10.1145/3847160.3848074].
Reproducible Builds as a Security Property for Open FPGA-Based Hardware Security Modules Design
Francesco Corvaglia;Niccolo Lentini;Luca Mannella;Alessandro Savino;Stefano Di Carlo
2026
Abstract
Hardware Security Modules (HSMs), secure elements, and Root of Trusts (RoTs) protect cryptographic operations and secrets, but their hardware artifacts and implementation flows are often difficult to verify independently. This paper argues that reproducibility should be treated as a security property for code-defined hardware, firmware, and software artifacts, and evaluates this claim in the Field-Programmable Gate Array (FPGA) setting. We present a minimal FPGA-based HSM building block composed of a RISC-V processor, a coherent-sampling oscillator True Random Number Generator (TRNG), and a hardware Secure Hash Algorithm (SHA)-256 module. The design is instantiated with VexRiscv and Ibex to assess portability across open RISC-V control cores. A Nix flake pins the hardware-generation, verification, synthesis-input, and firmware dependencies, enabling auditors to rebuild the generated Register-Transfer Level (RTL), reproduce the OpenTRNG verification workflow, execute firmware-level tests, and validate the SHA-256 module through known-answer tests. The result is a reproducible and auditable FPGA-based security substrate whose guarantees hold up to the explicit synthesis boundary, where proprietary vendor tooling remains a residual trust assumption.Pubblicazioni consigliate
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.
https://hdl.handle.net/11583/3017410
Attenzione
Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo
