[Security] CSEC with keys

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

[Security] CSEC with keys

Jump to solution
881 Views
Gideon
Contributor III

Dear NXPs:

IC:S32K142

I need to determine whether there is a key in NVM in a scenario, and I hope to get such judgment from the register, rather than the software recording the flag itself. How can I know from the CSEc register that the key has been imported?

0 Kudos
Reply
1 Solution
859 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @Gideon 

CSEc does not provide information if a key is loaded or not. It's up to user to do the tracking of keys.

The only indirect way I can see: try to use a key. If a key is not loaded yet, you should get ERC_KEY_EMPTY error.

Regards,

Lukas

View solution in original post

0 Kudos
Reply
1 Reply
860 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @Gideon 

CSEc does not provide information if a key is loaded or not. It's up to user to do the tracking of keys.

The only indirect way I can see: try to use a key. If a key is not loaded yet, you should get ERC_KEY_EMPTY error.

Regards,

Lukas

0 Kudos
Reply