Is there a function example for OTFAD encryption?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is there a function example for OTFAD encryption?

162 Views
Vinos
Contributor III

if OTFAD is enabled,the firmware was encrypted using image_enc.exe on Windows, but now I want to encrypt some fields in the program.

I have seen the source code of image_enc on GitHub, but it takes up a lot of memory if placed the AES-related code in NOR Flash. 

Is there any code example that can encrypt plaintext into corresponding ciphertext based on the current OTFAD IEK in the RT1170 chip?

 

I've found relevant functions in https://mcuxpresso.nxp.com/api_doc/dev/2304/a00047.html,it seems SDK of other RT chips support OTFAD examples.RT1170 doesn't have relevant implementaions in the SDK?

0 Kudos
1 Reply

134 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport
0 Kudos