In my application, there is a need to execute same piece of sensitive code rather often. I would like to use Lockbox and Secure Mode for it. The entire code doesn't fit L2 SRAM, so a major part of it must reside in SDRAM.
If I run authentification every time for secure code piece, the processing overhead and time delay are both too high. But if I stay all the time in Secure Mode and try to run code from SDRAM, it looks intrinsically unsafe.
Is there any way to use Lockbox in this case?