S32K3xx HSE.Where is the storage location of Boot MAC?

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

S32K3xx HSE.Where is the storage location of Boot MAC?

271 Views
Gimhan
Contributor I

Greetings,

Prerequisites:
The following contents are created through EB tresos:
1. Under the KerCatalogs option, an NvmKeyCatalog of type SHE is created. The Number of Key Slots is 12, the Max key length in bits is 128, and the Key Owner is ANY. It includes the Master key, Boot MAC Key, and SHE Key1 - 10.
2. Under the CryptoKeyElement option, relevant configurations for the Master Key, Boot MAC Key, and SHE Key1 - 10 are created. Currently, these keys can be written, encrypted, and decrypted normally.
Question:
Can the [Boot MAC] involved in the verification process during the secure boot be written into the non - volatile memory of the HSE through the standard interface [Crypto_KeyElementSet] provided by the Crypto module in the basic software layer? If so, how should EB tresos be configured?

Thanks in advance.

Gimhan

0 Kudos
Reply
4 Replies

238 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @Gimhan 

BOOT_MAC can be updated as any other SHE key via standard memory update protocol. Here are some screenshots from HSE firmware reference manual:

 

image.png 

image.png

 

image.png 

Regards,

Lukas

0 Kudos
Reply

217 Views
Gimhan
Contributor I

Hi,

Thank you for your reply.

I want to confirm whether Boot Mac is stored in the same 【NvmKeyGroup】 as Master key, Boot MAC key, and SHE key1 - 10. If so, what are the corresponding slots for Master Key, Boot MAC Key, Boot MAC, and SHE Key 1 - 10 respectively?

screenshot-20250313-112608.png

Regards,

Gimhan

 

0 Kudos
Reply

203 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

It corresponds to the screenshot above. And here's the same from Autosar spec:

 

And here's an example of ID usage which corresponds to the tables:

 
0 Kudos
Reply

200 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

I'm sorry I have some troubles with screenshots on my PC. I will attach them here.

0 Kudos
Reply