LPC55Sxx PRINCE Real-time Data Encryption

2021-08-12
PRINCE introduction:
●The PRINCE algorithm is used for real-time encrypt/decrypt operation on LPC55Sxx on-chip flash contents. PRINCE is fast compared to AES because it can decrypt and encrypt without adding extra latency. PRINCE operates as data is read or written to flash without the need to first store data in RAM and then encrypt or decrypt to another memory space. PRINCE operates on block of 64 bits with a 128bit key size.
●This functionality is useful for asset protection, such as securing application code, securing data, and enabling secure flash update.
●The on-chip flash is divided into three regions for encryption/decryption. These regions are referred to as crypto regions. The LPC55Sxx supports three regions for encryption and decryption, referred to as crypto regions. Each crypto region resides at a 256 kB address boundary within the flash. For the 640 kB flash size in LPC55Sxx, the first two crypto regions are 256 kB in size, and the third one is 128 kB. For the other flash size, the region range can be set by configure the register BASE_ADDRn bits[19:18]. If the bit[19:18] is 0x0 in BASE_ADDR1, the region1 will cover from 0x0 to 0x3FFFF address flash. In this application note, 640 kB flash size as an example, every region covers different address flash range.
●Each crypto region is subdivided into 8 kB subregions. PRINCE encryption/decryption can be enabled or disabled for each sub region. The enabled subregions need not be contiguous.
●Each crypto region has a dedicated Key and an Initialization Vector (IV). This allows multiple images to reside in the flash with an independent encryption base. The Key is sourced from on-chip SRAM PUF via an internal hardware interface, without exposing the key on the system bus.

NXP

LPC55Sxx

More

Part#

chip

More

More

Application note & Design Guide

More

More

Please see the document for details

More

More

English Chinese Chinese and English Japanese

11 May, 2021

Rev. 3

AN12527

308 KB

- The full preview is over. If you want to read the whole 7 page document,please Sign in/Register -
  • +1 Like
  • Add to Favorites

Recommend

All reproduced articles on this site are for the purpose of conveying more information and clearly indicate the source. If media or individuals who do not want to be reproduced can contact us, which will be deleted.

Contact Us

Email: