Toward Trustworthy Simulation-Based Security Evaluation: A TPM-PUF Root of Trust for RISC-V in gem5

Trusted Platform Module (TPM) and Physically Unclonable Function (PUF) are two complementary building blocks of hardware-rooted security: the former offers a standardized, Trusted Computing Group (TCG)-compliant interface for key management, integrity measurement, and attestation, while the latter derives device-unique secrets directly from uncontrollable manufacturing variations rather than from static, extractable storage. This paper presents a simulation framework that integrates a TPM 2.0 model with a PUF challenge-response subsystem inside the gem5 full-system simulator, targeting the RISC-V architecture, and extends it with a fine-grained latency-characterization methodology. The TPM command dispatcher and the PUF challenge-response path were instrumented with a dedicated statistics group that records per-command and per-sub-phase latency using both gem5's discrete-event tick counter and host wall-clock timing, the latter reinjected into the simulated timeline as a Programmed I/O (PIO) delay. Using four bare-metal authorization scenarios (unsalted Hash-based Message Authentication Code (HMAC), password-based, salted HMAC, and Non-Volatile (NV)-storage), each replicated to separate genuine signal from measurement noise via the Coefficient of Variation (CV), we show that (i) HMAC-based authorization is roughly 35X more expensive than password-based authorization, (ii) the PUF computation itself, rather than TPM protocol or authentication logic, dominates challenge-response latency, (iii) disk I/O and Rivest-Shamir-Adleman (RSA) key-setup operations are the principal sources of measurement variance, and (iv) PUF computation cost is essentially flat across challenge sizes from 16 to 128 bytes, indicating a fixed-overhead-dominated cost model for the current generic PUF implementation. These results characterize the performance envelope of a TPM-PUF root of trust on RISC-V, identify the specific sub-operations that would most benefit from hardware acceleration or architectural redesign, and establish that such a root of trust can be built, instrumented, and characterized inside gem5 at all - a preliminary foundation for future work benchmarking these results against physical hardware.

Link
https://www.semanticscholar.org/paper/6ba3c4e0f018ec33157fd7214d885f52e97132b8
Found by
Semantic Scholar
Authors
Sadia Shamas, Rosanna Landi, S. di Carlo, A. Savino
Categories
benchmark, evaluation
Published
2026-11-14
Last seen by the radar
2026-11-15
Citations
0
Influential citations
0
Radar score
40.35 / 100 (how it is scored)
Why it scored so
Matched: benchmark, evaluat; Primary record: Semantic Scholar
Related links
https://doi.org/10.1145/3847160.3848079
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Semantic Scholar