CSEC_BOOT_MAC update fail

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

CSEC_BOOT_MAC update fail

511 Views
wang_q4
Contributor I

Dear all,

When updating CSEC_BOOT_MAC, CSEC_DRV_LoadKey() returned an update failure. The return value of the failure is STATUS_SEC_KEY_UPDATE_ERROR.May I ask the reason for this failure to rest

PS: I used the auth key is master key.

0 Kudos
2 Replies

471 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

I can't see reason for this. BOOT_MAC can be updated with knowledge of old value of BOOT_MAC or with knowledge of MASTER_ECU_KEY. Counter needs to be incremented appropriately. How do you calculate M1-M5 values? Are you sure that correct values are provided?

Regards,

Lukas

0 Kudos

489 Views
wang_q4
Contributor I

Add: using master key as the auth key, i can update other keys

0 Kudos