NVM-Shelf: Secure Hybrid Encryption with Less Flip for Non-Volatile Memory

  • Dadzie, Thomas Haywood
  • Lee, Jiwon
  • Kim, Jihye
  • Oh, Hyunok
Citations

WEB OF SCIENCE

1
Citations

SCOPUS

7

초록

The Non-Volatile Memory (NVM), such as PRAM or STT-MRAM, is often adopted as the main memory in portable embedded systems. The non-volatility triggers a security issue against physical attacks, which is a vulnerability caused by memory extraction and snapshots. However, simply encrypting the NVM degrades the performance of the memory (high energy consumption, short lifetime), since typical encryption causes an avalanche effect while most NVMs suffer from the memory-write operation. In this paper, we propose NVM-shelf: Secure Hybrid Encryption with Less Flip (shelf) for Non-Volatile Memory (NVM), which is hybrid encryption to reduce the flip penalty. The main idea is that a stream cipher, such as block cipher CTR mode, is flip-tolerant when the keystream is reused. By modifying the CTR mode in AES block cipher, we let the keystream updated in a short period and reuse the keystream to achieve flip reduction while maintaining security against physical attacks. Since the CTR mode requires additional storage for the nonce, we classify write-intensive cache blocks and apply our CTR mode to the write-intensive blocks and apply the ECB mode for the rest of the blocks. To extend the cache-based NVM-shelf implementation toward SPM-based systems, we also propose an efficient compiler for SA-SPM: Security-Aware Scratch Pad Memory, which ensures the security of main memories in SPM-based embedded systems. Our compiler is the first approach to support full encryption of memory regions (i.e., stack, heap, code, and static variables) in an SPM-based system. By integrating the NVM-shelf framework to the SA-SPM compiler, we obtain the NVM-shelf implementation for both cache-based and SPM-based systems. The cache-based experiment shows that the NVM-shelf achieves encryption flip penalty less than 3%, and the SPM-based experiment shows that the NVM-shelf reduces the flip penalty by 31.8% compared to the whole encryption.

키워드

main memoryphysical securityencryptionbit flipscratch pad memory
제목
NVM-Shelf: Secure Hybrid Encryption with Less Flip for Non-Volatile Memory
저자
Dadzie, Thomas HaywoodLee, JiwonKim, JihyeOh, Hyunok
DOI
10.3390/electronics9081304
발행일
2020-08
유형
Article
저널명
ELECTRONICS
9
8
페이지
1 ~ 27

파일 다운로드