Paper 2023/1630

Crystalor: Recoverable Memory Encryption Mechanism with Optimized Metadata Structure

Rei Ueno, Tohoku University
Hiromichi Haneda, Tohoku University
Naofumi Homma, Tohoku University
Akiko Inoue, NEC (Japan)
Kazuhiko Minematsu, NEC (Japan)
Abstract

This study presents an efficient recoverable memory encryption mechanism, named Crystalor. Existing memory encryption mechanisms, such as Intel SGX integrity tree, offer neither crash consistency nor recoverability, which results in attack surfaces and causes a non-trivial limitation of practical availability. Although the crash consistency of encrypted memory has been studied in the research field of microarchitecture, existing mechanisms lack formal security analysis and cannot incorporate with metadata optimization mechanisms, which are essential to achieve a practical performance. Crystalor efficiently realizes provably-secure recoverable memory encryption with metadata optimization. To establish Crystalor with provable security and practical performance, we develop a dedicated universal hash function PXOR-Hash and a microarchitecture equipped with PXOR-Hash. Crystalor incurs almost no latency overhead under the nominal operations for the recoverability, while it has a simple construction in such a way as to be compatible with existing microarchitectures. We evaluate its practical performance through both algorithmic analyses and system-level simulation in comparison with the state-of-the-art ones, such as SCUE. Crystalor requires 29–62% fewer clock cycles per memory read/write operation than SCUE for protecting a 4 TB memory. In addition, Crystalor and SCUE require 312 GB and 554 GB memory overheads for metadata, respectively, which indicates that Crystalor achieves a memory overhead reduction of 44%. The results of the system-level simulation using the gem5 simulator indicate that Crystalor achieves a reduction of up to 11.5% in the workload execution time compared to SCUE. Moreover, Crystalor achieves a higher availability and memory recovery several thousand times faster than SCUE, as Crystalor offers lazy recovery.

Metadata
Available format(s)
PDF
Category
Applications
Publication info
Preprint.
Keywords
Memory encryptionSymmetric key cryptographySecure computer architecture
Contact author(s)
rei ueno a8 @ tohoku ac jp
hiromichi haneda r5 @ dc tohoku ac jp
naofumi homma c8 @ tohoku ac jp
a_inoue @ nec com
k-minematsu @ nec com
History
2024-01-24: last of 2 revisions
2023-10-20: received
See all versions
Short URL
https://ia.cr/2023/1630
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2023/1630,
      author = {Rei Ueno and Hiromichi Haneda and Naofumi Homma and Akiko Inoue and Kazuhiko Minematsu},
      title = {Crystalor: Recoverable Memory Encryption Mechanism with Optimized Metadata Structure},
      howpublished = {Cryptology ePrint Archive, Paper 2023/1630},
      year = {2023},
      note = {\url{https://eprint.iacr.org/2023/1630}},
      url = {https://eprint.iacr.org/2023/1630}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.