Read a key from secure NVM

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

Read a key from secure NVM

214 Views
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 Kudos
3 Replies

186 Views
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 Kudos

182 Views
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 Kudos

130 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

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

0 Kudos