S32K144 CSEc Engine usage

cancel
Showing results for 
Search instead for 
Did you mean: 

S32K144 CSEc Engine usage

399 Views
harish_g2
Contributor II

Hi All,

We are trying to use CSEc engine for AES 128 encoding. In the example code, board is resetting after calling this function. 

/* Initialize Flash for CSEc operation */
initFlashForCsecOperation();

We just wanted to do AES 128 bit encoding.

Please let us know how it can be done.

Regards,

Harish G

0 Kudos
1 Reply

167 Views
jorge_a_vazquez
NXP Employee
NXP Employee

Hi Harish G

Please remember that Flash partitioning for CSEc operation must only be run with RAM configuration. The first time when running the example on the board (or after a key erases) should be run from RAM, in order to enable CSEc operation.

I recommend you check the application note AN5401:

https://www.nxp.com/webapp/Download?colCode=AN5401 

Hope this helps
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
-------------------------------------------------------------------------------

0 Kudos