arXiv:2611.12570cs.ARNov 2026

Manuscript Offprint

arXiv:2611.12570

Hidden in Plain Sight: Privacy-Enhanced Computing Through Register Renaming

Ahmed Nematallah, Stefanos Kaxiras

Ahmed Nematallah and Stefanos Kaxiras, Fellow, IEEE

Abstract—Privacy-Enhanced Computing (PEC) is a mechanism to hide program secrets from the outside world without paying the cost of fully-homomorphic encryption. Previous work has developed hardware mechanisms to achieve this goal but they require a dedicated processor enclave where all computations are done, requiring duplicate ALU resources and limiting the performance of PEC-utilizing applications due to not being able to access the full compute resources of the processor (e.g., multiple execution units and vector units), or not being able to execute PEC instructions in parallel and out-of-order.

In this work, we introduce HPS-PEC (Hidden in Plain Sight PEC), a novel method of utilizing existing infrastructure in the CPU to achieve PEC with minor modifications to the architecture.

We show that, across 25 VIP-Bench benchmarks and with a 7-cycle QARMA-64 cipher, HPS-PEC runs encrypted code at 3.41×3.41\times the execution time of unprotected native code (geometric mean), of which 1.03×1.03\times is the cost of data-oblivious code itself, and is 1.26×1.26\times faster than a Sequestered Encryption (SE) unit while utilizing under a third of its dedicated area. Our method keeps plaintext out of reach of every instruction, as an enclave does given a correctly functioning renamer and register file, which every program already depends on.

Index Terms—Microarchitecture, Security, PEC, Encryption, Privacy, Sequestered Encryption

I. INTRODUCTION

Modern computing systems routinely process sensitive data, but standard methods require data to be decrypted before it can be computed on, exposing it to whoever runs the computation. Privacy-Enhanced Computing (PEC) addresses this problem by allowing computations to be performed directly on encrypted data, so the underlying information is never exposed. Several approaches have been developed to achieve this, including homomorphic encryption, secure multiparty computation, trusted execution environments, and sequestered encryption (SE). Sequestering in particular has garnered attention lately [1], where sensitive data is computed upon inside an enclave, and plaintext never leaves it.

Proposed implementations [2] suffer from duplication of computing resources in a specialized enclave, where the extra computing resources can only be used for PEC instructions, and PEC instructions do not have access to the full suite of CPU compute resources like multiple ALUs and vector units. SE's unit carries its own integer and floating-point datapath between its cipher engines, so every PEC operation needs duplicated compute resources.

Ahmed Nematallah and Stefanos Kaxiras are with the Computer Science Department at Uppsala University (e-mails: ahmed.nematallah@it.uu.se, stefanos.kaxiras@it.uu.se).

This work was supported by the Knut and Alice Wallenberg Foundation (KAW) through the Wallenberg Scholars Prolongation program (grant no. 2020.0202), the Swedish Research Council VR grant 2022-04959, and the Swedish Foundation for Strategic Research (SSF) grant FUS21-0067

Figure

Fig. 1. HPS-PEC pipeline modifications. Decode expands each PEC instruction into micro-operations that use hidden microarchitectural registers, and encryption and decryption units are added alongside the existing functional units.

In this paper, we introduce HPS-PEC, a novel architecture implementing sequestered encryption without requiring any extra computation resources apart from the ability to decrypt ciphertext and encrypt plaintext, and requiring minimal modifications to the core. We utilize existing core infrastructure, such as the renamer and μOp\mu Op expander to allow PEC instructions to share the same infrastructure as normal instructions while guaranteeing protections for sensitive data by utilizing renamer properties and hidden “microarchitectural” registers, and using the out-of-order mechanisms of the core to hide encryption and decryption latency and execute PEC instructions in parallel. Plaintext thus sits in plain sight in the register file, yet no architectural register can map to it. With a 7-cycle QARMA-64, encrypted execution costs 3.41×3.41\times native code and 3.31×3.31\times data-oblivious plaintext code while only adding encryption and decryption units and minimally changing the core.

Previous hardware approaches to protecting data differ in where plaintext may exist inside the processor. Execute-only memory (XOM) tags registers with their owner so that the OS cannot read them, but trusts the whole core with plaintext [3]. Data-oblivious ISA extensions confine confidential data to operands that do not leak it, without encrypting it [4]. Encrypted-execution designs, including SE, compute in a dedicated decrypt-compute-encrypt unit [2], [5], which can be dispatched like a native functional unit [2], [6]. HPS-PEC confines plaintext to hidden registers in an ordinary core instead, so it avoids the need for a trusted datapath.