Running encrypted image on i.mx6

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

Running encrypted image on i.mx6

ソリューションへジャンプ
2,209件の閲覧回数
vadimlomovtsev
Contributor II

Let's say we have encrypted image which have to be loaded and run at the i.MX6-based board. Image was created and encrypted at some build-server.

According to documentation it is possible to decrypt it using CAAM module but we need to specify keys to decrypt our image in some way.

The question is - how we could store keys for image decryption at the board (e.g. decryption could be made by u-boot)?

Is it possible to use OTPMK fuse block for storing keys (which is quite small)? Or there is another solution to handle such scenarios?

Also it is said that in order to run HAB authentication we need to burn some values onto OTPMK fuses block, would it be critical if we try to store our secret keys there?

ラベル(6)
タグ(2)
1 解決策
1,440件の閲覧回数
Yuri
NXP Employee
NXP Employee

The following thread provides some information about CAAM using

for application encryption / decryption. 

https://community.freescale.com/message/362564#362564

As for OTPMK, please refer to i.MX6 Security Reference Manual.

Note, the OTPMK is factory burned. This means blobs MUST be generated on the i.MX6 :

the blob is the DEK (Data Encryption Key) encrypted with the OTP Master Key (programmed

in fuses on the i.MX6).

  So, Your requirement to use own key to encrypt an image on an external server and decrypt

it on the i.MX6 is not supported.


元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,441件の閲覧回数
Yuri
NXP Employee
NXP Employee

The following thread provides some information about CAAM using

for application encryption / decryption. 

https://community.freescale.com/message/362564#362564

As for OTPMK, please refer to i.MX6 Security Reference Manual.

Note, the OTPMK is factory burned. This means blobs MUST be generated on the i.MX6 :

the blob is the DEK (Data Encryption Key) encrypted with the OTP Master Key (programmed

in fuses on the i.MX6).

  So, Your requirement to use own key to encrypt an image on an external server and decrypt

it on the i.MX6 is not supported.


0 件の賞賛
返信