Is there a function example for OTFAD encryption?
01-15-2024
02:16 AM
746 Views
Vinos
Contributor III
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
1 Reply
01-19-2024
07:20 AM
718 Views

NXP TechSupport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
This is going to be helpful
https://community.nxp.com/t5/i-MX-RT/OTFAD-encryption-for-i-MX-RT-1160-EVK-without-fuse/m-p/1493328
Regards
