Could someone explain how secure boot and OTFAD(On-The-Fly AES Decryption) works and how to use it on BL616?
Demo is here, https://github.com/bouffalolab/bl_mcu_sdk/tree/master/examples/peripherals/flash/flash_secure_read_write
This demo is for runtime encrypting/decryption to flash. I'm talking about the app on the flash being decrypted and execured on the fly.
That's how it works.