otpmk in OEM_OPEN state

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

otpmk in OEM_OPEN state

Jump to solution
1,399 Views
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 Kudos
Reply
1 Solution
1,316 Views
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.

View solution in original post

0 Kudos
Reply
5 Replies
1,386 Views
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 Kudos
Reply
1,379 Views
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 Kudos
Reply
1,341 Views
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 Kudos
Reply
1,329 Views
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 Kudos
Reply
1,317 Views
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 Kudos
Reply