Hi,
I'm trying to to do encrypted XiP on flexspi nor on the rt1052 but I'm having some difficulties to understand the whole process.
I'm already going through lots of pdfs including Flashloader, elftosb, HAB code signing, etc.
What I have got so far but I'm unsure about is:
Now if I what I wrote is correct, assuming that I programmed my private key in the SW_GP2 fuses and that I set BEE_KEY0_SEL to point to SW_GP2 then I need to generate a secure binary file that will be driven by a bd file so that:
But where is encryption really happening? Is it during download phase that BEE encrypts on the fly? Or is it the elftosb tool that encrypts on pc side as secure binary?
Is there a particular pdf or manual that I can follow here? because most of what I'finding is explaining HAB or encryption but not the XiP one.
Thanks!
Hello Paride,
SB file is generated using elftosb so encryption is happening in this side. On the encrypted XiP boot side, decryption is done via BEE and DCP.
I recommend you to check Security Application note AN12079 where you could find more information regarding encrypted XiP flow and examples to follow on your side.
I hope this helps.
Best regards,
Felipe
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------