Store private key in SE050 chip

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

Store private key in SE050 chip

跳至解决方案
912 次查看
saireddy_saredd
Contributor III

Hallo,

Currently we are working with SE050 crypto chip with S32K146 micro controllers.
We have two binaries.

Firmware 1. Writes the private key to the SE050 during start up of the system

Firmware 2. Do not write the private key because it already writtern with Firmware1 and loads the same private key during init.

 

We want to avoid maintaining two firmwares.

Can we write multiple times (every start up) the private key on SE050 chip ? Does the private key stores in eeprom of SE050 crypto chip?

Is there any possibility to read stored private key and avoid writing duplicate key?

 

Best Regards,

Saidhi reddy Sareddy

 

@ Christine_Li

标签 (1)
0 项奖励
回复
1 解答
889 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @saireddy_saredd ,

 

Yes, it is ok to write multiple times (every start up) the private key on SE050 chip, and the private key stores in eeprom/internal flash of SE050 crypto chip, but it consumes the flash/eeprom endurance . Why not check the key availability on start up? There is such APDU command available, please refer to the section for CheckObjectExists in the APDU command spec for details.

 

Please also note any private key stored in SE050 can not be read out, I assume you are referring to the public key , right?

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
1 回复
890 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @saireddy_saredd ,

 

Yes, it is ok to write multiple times (every start up) the private key on SE050 chip, and the private key stores in eeprom/internal flash of SE050 crypto chip, but it consumes the flash/eeprom endurance . Why not check the key availability on start up? There is such APDU command available, please refer to the section for CheckObjectExists in the APDU command spec for details.

 

Please also note any private key stored in SE050 can not be read out, I assume you are referring to the public key , right?

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复