RT685 PUF key storage questions

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

RT685 PUF key storage questions

808 次查看
JerryQian_132
Contributor II

I have create the project in MCUXpresso Secure Provisioning, which is to sign our bootloader of RT685.

JerryQian_Shure_0-1687855754585.png

As above picture, the generated write_image_win.bat will write the sbkek and userkey. Where are the keys stored in? 41.5.1.4.1 Basic function of the FlexSPI remap has the KEY STORE areas. Are they used to save the keys? Is it possile to read the keys in code?

 

I also noticed that Table 1058.Key type details have 12 key types.

JerryQian_Shure_1-1687856158305.png

Above wirting script only uses 3 key types. Can I use other types, like 0x4 to 0xA, to save our application keys? I have tried set_user_key, but failed. Could you shared the blhost command and API to read the keys in code?

JerryQian_Shure_2-1687856291076.png

标记 (1)
0 项奖励
回复
1 回复

757 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @JerryQian_132 ,

Please refer to 42.2.4 and 42.2.5 for where the key is stored and how it is used. The last write_key_nonvoletile command is write the keys to flash 0x800(42.5.5.1). You can use GetKey command to read these keys.

AN12324 has the detail of PUF. Although it is for LPC55, but RT600 is same.

 

Regards,

Jing

0 项奖励
回复