Paper 2023/1630 Original: eprint.iacr.org/2023/1630 ↗

Crystalor: Recoverable Memory Encryption Mechanism with Optimized Metadata Structure

Rei Ueno
Hiromichi Haneda
Naofumi Homma
Akiko Inoue
Kazuhiko Minematsu
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.
History
2024-06-11: last updated
2023-10-20: published
Short URL
https://ia.cr/2023/1630
License
https://creativecommons.org/licenses/by/4.0/

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},
      url = {https://eprint.iacr.org/2023/1630}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.