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:
Could anyone tell me how to fill the below information in authentication container.
Hi @shravani
I was asked by SW team if you advance the life cycle? Could you let me know?
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