otpmk in OEM_OPEN state

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

otpmk in OEM_OPEN state

跳至解决方案
1,397 次查看
gilmoreat
Contributor III

I am looking through the security manual for the iMX8QM and I am struggling to understand how the OTPMK changes between the OEM_OPEN and the OEM_CLOSED state. 

- Is the OTPMK used when the chip is in the OEM_OPEN state unique for each chip (i.e two i.MX8QM will have different OTPMK even in the OEM_OPEN state)?

- Is there a way from linux or u-boot to check what the the security state is? (Trusted, Secure, Non-Secure, etc.)

- If we needed to move to OEM_CLOSED, what does that processes look like for a linux/yocto based system?

 

Thanks,

Allan

0 项奖励
回复
1 解答
1,314 次查看
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

You are correct, the last contradicts, I thought you were discussing SRK keys for signing secure boot.

OTPMK is a key unique to every chip, on SECO devices, such as the i.MX 8/8X family, a unique OTP Master Key (OTPMK) is used to encrypt and wrap the DEK in a blob. NXP provides the available U-Boot port with the capability of using these private keys through SECO firmware.

It doesn't change between an open and a closed device.

Regards.

在原帖中查看解决方案

0 项奖励
回复
5 回复数
1,384 次查看
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products,

This is the guide for secure boot and it also contains the U-boot command that returns the closed or open state depending on the SoC.

Regards

0 项奖励
回复
1,377 次查看
gilmoreat
Contributor III
Hi Joseph,

Thanks for the quick reply! Do you know if the OTPMK using in the OEM_OPEN state is unique per chip? We are using the iMX8QM and we would like to make sure that two of our device do not share the same key.
0 项奖励
回复
1,339 次查看
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Keys are always 0 in fresh devices, you can burn unique keys to each one of your chips.

Regards

0 项奖励
回复
1,327 次查看
gilmoreat
Contributor III
Hi Joseph,

This seems to conflict directly with this previous post: https://community.nxp.com/t5/i-MX-Processors/OTPMK-on-iMX8QM/m-p/1346985

After digging through the MRM and the SRM for the i.MX8QM, I don't see any method to set the OTPMK.

Back to my original question, Does the OTPMK change between OEM_OPEN and OEM_CLOSED state and is the key unique for each chip when in the OEM_OPEN state?
0 项奖励
回复
1,315 次查看
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

You are correct, the last contradicts, I thought you were discussing SRK keys for signing secure boot.

OTPMK is a key unique to every chip, on SECO devices, such as the i.MX 8/8X family, a unique OTP Master Key (OTPMK) is used to encrypt and wrap the DEK in a blob. NXP provides the available U-Boot port with the capability of using these private keys through SECO firmware.

It doesn't change between an open and a closed device.

Regards.

0 项奖励
回复