Key update isse

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

Key update isse

199 Views
shravani
Contributor II

Hello, I am trying to load a AES128 key to the secure NVM, the key got loaded first time but when I try to update it again it is giving me response as HSE_SRV_RSP_NOT_ALLOWED.  How to solve this? Could anyone help me on this?  Below is my Configuration:

 

shravani_0-1717557396381.png

 

0 Kudos
Reply
3 Replies

179 Views
shravani
Contributor II

Could anyone tell me how to fill the below information in authentication container.

shravani_0-1717570791153.png

 

0 Kudos
Reply

134 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @shravani 

I was asked by SW team if you advance the life cycle? Could you let me know?

0 Kudos
Reply

155 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @shravani 

to update a key, the key must be either encrypted or authenticated. It's not possible to update a key in plain format.

I have asked SW team if they already have a demo for authenticated key update in MCAL crypto because it's not so simple. I will let you know later.

As a workaround, an option is to erase the key and load it again in plain format. See HSE FW RM for details. Such function is not available in Crypto driver, user needs to write own code to execute such service.

Regards,

Lukas

0 Kudos
Reply