AIM: Fast and Energy‐Efficient AES In‐Memory Implementation for Emerging Non‐volatile Main Memory

Mimi Xie1,a, Shuangchen Li2,c, Alvin Oliver Glova2,d, Jingtong Hu1,b, Yuangang Wang3 and Yuan Xie2,e
1Department of Electrical and Computer Engineering, University of Pittsburgh, Pittsburgh, PA 15261, USA
amix17@pitt.edu
bjthu@pitt.edu
2Department of Electrical and Computer Engineering, University of California, Santa Barbara, CA 93106, USA
cshuangchenli@ece.ucsb.edu
daomglova@ece.ucsb.edu
eyuanxie@ece.ucsb.edu
3Huawei Technologies Co., Ltd. P.R. China
wangyuangang@huawei.com

ABSTRACT


Non‐volatile main memory‐based systems pose an opportunity for an attacker to readily access sensitive information on the memory because of its long retention time. While real‐time memory encryption with dedicated AES engine can address this vulnerability, it incurs extra performance and energy overheads. As an alternative, we propose an AES in‐memory implementation, AIM, to encrypt the whole/part of the memory only when it is necessary. We leverage the benefits offered by the inmemory computing architecture to address the challenges of the bandwidth intensive encryption application. We take advantage of NVM’s intrinsic logic operation capability to implement the AES task. Embracing the massive parallelism inside the memory, AIM outperforms existing mechanisms with higher throughput yet lower energy consumption. Compared with state‐of‐the-art AES engine running at 2.1GHz, AIM can speed up the encryption process by 80× for a 1GB NVM.



Full Text (PDF)