Read a key from secure NVM

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

Read a key from secure NVM

207 次查看
shravani
Contributor II

Hi, I wanted to read a key from secure NVM, is it possible to read back a key? I want to use this key further in my application. I checked the RTD firmware there is only one service for exporting key from RAM. Also, in the Firmware reference manual of HSE it is mentioned that SHE NVM keys cannot be exported. How could I use stored key in my application?

Please check below details.

1) Microcontroller: S32K312_100MQFP

2) IDE: S32DS 3.5  

3) SDK Version: PlatformSDK_S32K3_2022_03

 

shravani_0-1713953011681.pngshravani_1-1713953028240.png

 

0 项奖励
3 回复数

179 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

It is stated in section
6.3.6.2 SHE key update policies

"When RAM_KEY is updated with the SHE key update protocol, it cannot be exported, until it is updated in plain via the key import service or via the SHE plain key update."

"NVM SHE keys cannot be exported." as you already screenshot.

0 项奖励

175 次查看
shravani
Contributor II

Hi, I want to apply AES 128 encryption on the key which is stored in the secure NVM. How could I achieve this?

0 项奖励

123 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

It cannot be done as a key stored in the secure NVM cannot be exported.

0 项奖励