Acta Metallurgica Sinica(English letters) ›› 2010, Vol. 17 ›› Issue (1): 77-84.doi: 10.1016/S1005-8885(09)60428-3

• Wireless • Previous Articles     Next Articles

PEM: a lightweight program memory encryption mechanism
for embedded processor

HUO Wen-jie, LIU Zheng-lin, ZOU Xue-cheng   

  1. Department of Electronics of Science and Technology, Huazhong University of Science and Technology, Wuhan 430074, China
  • Received:2008-12-30 Revised:1900-01-01 Online:2010-02-28
  • Contact: LIU Zheng-lin

Abstract:

Application of embedded systems is faced with multiple threats against security. To solve this problem, this article proposes a new program memory encryption mechanism (PEM) to enhance the security of embedded processor. The new mechanism encrypts all the programs via a secure cache structure. It not only caches the instructions read from the off-chip memory, but also stores the pad values used to encrypt the plaintext. It effectively accelerates encryption and reduces the performance overhead. Besides the encryption, PEM also monitors the program modifications and reset behaviors to reduce the risk of vicious tamper. The experiment indicates that PEM has an average of 2.3 % performance improvement and results in a 25.71 % power reduction in the write-back stage. The new scheme offers a good balance between performance and security. It is fully practicable for embedded processor.

Key words:

embedded processor;memory encryption;advanced encryption standard (AES);secure cache;hardware protection