[Security] Clear ALL Keys

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

[Security] Clear ALL Keys

Jump to solution
500 Views
Gideon
Contributor III

Dear NXPs:

uSFE = false;

The Key attribute of MASTER_ECE_KEY is set to: Write Prot = 0; Boot Prot = 1; Debugger Prot = 1; KeyUsage = 1; Wild card = 1;

Then I want to call the bool eraseKeys(void) interface (csec_utils.h) to Clear all keys. But when

The bool getUID(uint8_t *uid) function returned a STATUS_SEC_KEY_NOT_AVAILABLE error when calling the CSEC_DRV_GetID interface. What should I do to erase all keys?

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

Hi @Gideon 

it makes sense. If you used: Boot Prot = 1; Debugger Prot = 1;

... then:

lukaszadrapa_0-1716292349255.png

 

So, the secure boot must be successful and debugger can't be connected to be able to use the key.

Regards,

Lukas

View solution in original post

0 Kudos
Reply
2 Replies
480 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @Gideon 

it makes sense. If you used: Boot Prot = 1; Debugger Prot = 1;

... then:

lukaszadrapa_0-1716292349255.png

 

So, the secure boot must be successful and debugger can't be connected to be able to use the key.

Regards,

Lukas

0 Kudos
Reply
451 Views
Gideon
Contributor III

Dear lukaszadrapa:

Got it, thanks for the reply. Is there any way I can erase all keys?

0 Kudos
Reply