Question: Is it possible to do a Secure Boot (SB) image on the MKV31F128?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Question: Is it possible to do a Secure Boot (SB) image on the MKV31F128?

1,094件の閲覧回数
deanmcu
Contributor I

I found the following comment in this post:  https://community.nxp.com/docs/DOC-330885

 

It is quite easy to generate an encrypted SB image. No need to modify the command file. Just add "-k KeyFile" to the command line, and remove "-z". <KeyFile> is a text file containing the AES key. You can generate one with "-K" parameter.

BTW, to let bootloader parse the encrypted sb file, you also need to program the AES key into device's IFR field, and the device must support hardware decryption.

You can refer to the "Kinetis ROM bootloader" chapter in the device's reference manual about the hardware decryption support and IFR programming.

 

The MKV31 is a supported processor in the Bootloader Document but it is not obvious whether the MKV31 can actually handle an encrypted SB image.  I do not believe it has any crypto hardware to handle this decryption task.  Can it be done in software?

ラベル(1)
0 件の賞賛
1 返信

525件の閲覧回数
ramboyang
NXP Employee
NXP Employee

Hello,

Yes it can be done by a SW AES algorithm implementation, please replace all the function in the aes_security.c with the SW implementation.

Besides, regarding the SB key, it can be implemented in other ways, for example, storing them in internal FLASH or the generic IFRs.

Hope above info is helpful to you

0 件の賞賛