AnsweredAssumed Answered

LPC55S69 : Encrypt flash on fly, min write chunk

Question asked by Eugene Hiihtaja on Oct 29, 2019
Latest reply on Nov 6, 2019 by xiangjun.rong

Hello !

In UM I can see :

"

LPC55S6x devices offer support for real-time encryption and decryption for on-chip flash
using the PRINCE encryption algorithm. Compared to AES, PRINCE is fast because it
can decrypt and encrypt without adding extra latency. PRINCE operates as data is read or
written, without the need to first store data in RAM and then encrypt or decrypt to another
space. It operates on a block size of 64-bits with a 128-bit key.

"

 

What is minimal data chunk what I can write to flash memory at once ?

 

8 byte block what is also 8 byte boundary aligned ?

 

What are constrains if PRINCE block is not used on certain 8KB flash block ?

 

Regards,

Eugene

Outcomes