Encrypted image and direct-xip #1837
Unanswered
DanielStindl-NXP
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
From documentation...
"Handling the primary and secondary slots as equals has its drawbacks. Since the images are not moved between the slots, the on-the-fly image encryption/decryption can’t be supported (it only applies to storing the image in an external flash on the device, the transport of encrypted image data is still feasible)."
How mcuboot behaves when it finds encrypted image in slot when direct-xip mode is set up? Will boot_go() function returns valid structure even when the image is flagged as ENCRYPTED?
Background: I am working on project using SoC what supports hardware on-the-fly decryption of executed encrypted code in external flash. The device is without internal flash and RAM is too small to use ram-load mode so both slots needs to be encrypted.
I am basically looking for something like "ram-load" mode what supports encrypted image without copying active image to RAM.
Thanks
Daniel
Beta Was this translation helpful? Give feedback.
All reactions