HiPerfCC-StateReuse: Ciphertext Reuse for Fast Confidential GPU Data Movement
Haoxuan Xu, Shaoyu Wang, Minghao Lin, Beijie Liu, Potung Yu, Yongqin Wang, Vincent Quentin Ulitzsch, Seo Jin Park, Murali Annavaram, Mengyuan Li
Abstract
Confidential GPUs offer near-native on-device compute performance, but transfers between CPU and GPU TEEs through untrusted host memory require bulk CPU encryption and decryption, even for unchanged data. Existing software techniques overlap or parallelize these operations but retain their per-byte CPU cost. Reusing exported ciphertext could avoid this work, but GPU TEE firmware enforces direction-specific encryption keys and fresh per-transfer initialization vectors (IVs), preventing direct reuse. We introduce ciphertext rebinding, a purely software primitive enabling repeated and cross-GPU ciphertext reuse on existing GPU TEEs without hardware changes, while preserving confidentiality, integrity, and freshness. Specifically, ciphertext rebinding exploits the separation between ciphertext-dependent and IV-dependent components in GPU TEE's AES-GCM authentication: a GPU-precomputed summary under the destination key can enable the CPU to update authentication tags without processing the payload. With this modification, GPU's subsequent read on the retained ciphertext can still proceed through the GPU's hardware-fixed copy-engine interfaces, which cannot be modified by software. An additional GPU correction step can then compensate for differences in the keys and IVs to recover the original plaintext. By retaining GPU-exported ciphertext in untrusted host memory, ciphertext rebinding avoids bulk CPU decryption and re-encryption, improving effective bandwidth for GPU-state restoration and sharing. We implement this primitive in HiPerfCC-StateReuse through only driver and library changes, combining batched submissions with pipelined GPU processing and copy-engine transfers. We evaluate transfer efficiency and CPU overhead through microbenchmarks, and application performance through three case studies: model switching, key-value cache offloading, and cross-instance cache sharing.
Create a lesson
Related papers
InstantCoFFEA: Fast and accurate Tor flow correlation at realistic scale
Shared title terminology · Saeyeon Hong, Hyewon Kim, Mohammad Saidur Rahman et al.
BinXSight: Fast Binary Program Summarization via Hierarchical Modular Decomposition
Shared title terminology · Zhijie Liu, Zhipeng Xue, Zhipeng Gao et al.
Too Fast to Doubt? Skipping Reasoning Leaves Jev-like Models Vulnerable
Shared title terminology · Yue Li, Hao Wu, Zenan Fu et al.
Felid: A Flexible and Efficient Design for Transformer Fine-Tuning over Encrypted Data
Shared title terminology · Linru Zhang, Jun Jie Sim, Xiangning Wang et al.
Smoothing and Learning for Movement-Robust RSS-Based Spoofing Detection
Shared title terminology · Usama Mir
Authenticating IoT Data on Ethereum after Pectra and Fusaka: A Cost Study of Signature Schemes, Batching and Anchoring for Agricultural Supply Chain Finance
Shared title terminology · Ming-Fong Sie, Jian-Hong Chen, Gwan-yen Lin et al.