HSE_KF_ACCESS_DEBUG_PROT attribute actual intention

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

HSE_KF_ACCESS_DEBUG_PROT attribute actual intention

Jump to solution
2,118 Views
ale_di_vi
Contributor I

Hello,

In our company we are working on a project having MWCT2015S microcontroller.

We store keys in the HSE_B secure memory setting the HSE_KF_ACCESS_DEBUG_PROT attribute so that the keys cannot be accessed (i.e. used) when a debugger is connected. Some of the keys may need to be updated once the product is in field (vehicle usage).

The question is: what does the sentence "cannot be used" include? Does it refer only to prevent keys usage for cryptographic operations OR it means that they cannot completely handled when a debugger is connected?

So, is it possible to update debug protected keys when the debugger is connected?

ale_di_vi_0-1730275963982.png

 

Thank you in advance and best regards,

Alessandro Di Vincenzo

Tags (1)
0 Kudos
Reply
1 Solution
2,093 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @ale_di_vi 

here is an explanation from SHE specification:

lukaszadrapa_0-1730467558420.png

Regards,

Lukas

View solution in original post

0 Kudos
Reply
4 Replies
2,094 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @ale_di_vi 

here is an explanation from SHE specification:

lukaszadrapa_0-1730467558420.png

Regards,

Lukas

0 Kudos
Reply
2,069 Views
ale_di_vi
Contributor I
Hi Lukas,
We don't store the key in its SHE-format. Can I consider this statement valid also for the non-SHE keys managed according to table 31 in chapter 7.1.4.2 from the HSE_B RM?
Thank you in advance,
Alessandro
0 Kudos
Reply
2,029 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

It looks like you have older version of the manual. I recommend to download the latest one which is version 2.3.

It's the same for non-SHE keys. If you are importing a key first time (i.e. to empty slot), it can be loaded in plain. However, if you are updating a key, it is mandatory to use encryption and/or authentication (Table 47 and 48 in RM v2.3). So, this is also trusted operation as described in the SHE, there's no difference.

Regards,
Lukas

0 Kudos
Reply
2,015 Views
ale_di_vi
Contributor I
Ok, got it: debug protection flag is not a problem for key update.
Thank you Lukas
0 Kudos
Reply