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?
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